some debit and credit card companies require their customers to choose personal identification numbers (pins). customers...
Program Set 2 10 points) Credit card number validation Program Credit card numbers follow certain patterns: It must have between 13 and 16 digits, and the number must start with: 4 for Visa cards 5 for MasterCard credit cards 37 for American Express cards 6 for Discover cards In 1954, Hans Luhn of IBM proposed an algorithm for validating credit card numbers. The algorithm is useful to determine whether a card number is entered correctly or whether a credit card...
44> Some customers of a retail chain have a store credit card that earns them bonus gifts when they make purchases at the chain. Currently, 40 customers are shopping in a store in this chain. Of these, half already have a store credit card. If employees offer store credit cards to 6 of these, what is the probability that all of those chosen already have a card? (a) Explain why it would not be appropriate to use a binomial model...
1- A bank requires customers to create a five-digit PIN in order to use a debit card at the bank’s ATMs. How many different PINs can a customer create provided: a. (3 points) there are no restrictions on the digits used? b. (3 points) no digit may be repeated in the PIN? c. (3 points) adjacent digits must be different? 2- A student organization has three officers and 15 members who are not officers. a. (3 points) How many ways...
Validating Credit Card Numbers Write a program named Creditcard.java that prompts the user for a credit card number and determines whether it is valid or not. (Much of this assignment is taken from exercise 6.31 in the book) Credit card numbers follow certain patterns. A credit card number must have between 13 and 16 digits, and must start with: 4 for Visa cards 5 for Master cards 6 for Discover cards 37 for American Express cards The algorithm for determining...
Some customers of a retail chain have a store credit card that earns them bonus gifts when they make purchases at the chain. Currently, 26 customers are shopping in a store in this chain. Of these, half already have a store credit card. If employees offer store credit cards to 7 of these, what is the probability that all of those chosen already have a card? Complete parts (a) through (e) below. (a) Explain why it would not be appropriate...
Make sure that you state your answer in a way that does not lose precision. Show all digits. a. The Personal Identification Number (PIN) for your ATM card is four places long. Any number is permitted in each place. How many possible values of a PIN are there? b. Your bank has decided to allow English alphabetic characters (upper or lower case are permitted) as well as any numeric digit in your PIN. How many possible PINs are there when...
Credit card numbers follow certain patterns. A credit card number must have between 13 and 16 digits. The number must start with the following: 4 for Visa cards 5 for MasterCard cards 37 for American Express cards 6 for Discover cards In 1954, Hans Luhn of IBM proposed an algorithm for validating credit card numbers. The algorithm is useful to determine whether a card number is entered correctly or is scanned correctly by a scanner. Almost all credit card numbers...
Chapter 7 SHORT ANSWER REVIEW QUESTIONS 1. What are the advantages and disadvantages of accepting credit card payments from customers? 2. How is a Sales Order different from a Sales Estimate? 3. Why do some companies require customers to pay a deposit when purchasing on account? 4. Explain how to record items received from a purchase order, if the purchase invoice has not yet been received
2.Consider the following credit card numbers and tell me if they are valid or not. If a number is invalid, write the valid credit number by changing the “check” digit. Show your work for full marks. a. 4519 6731 6055 4166 b. 4515 1663 4722 3333 c. How many valid (according to the Luhn check) 16-digit credit card numbers are there that start with these 14 digits 4444 4444 4444 45? Give one of the valid credit card numbers. 3....
At a major credit card bank, the percentages of people who historically apply for the Silver, Gold and Platinum cards are 60%, 30% and 10% respectively. In a recent sample of customers responding to a promotion, of 200 customers, 118 applied for Silver, 50 for Gold and 32 for Platinum. Is there evidence to suggest that the percentages for this promotion may be different from the historical proportions? a) What is the expected number of customers applying for each type...