Nicole wants to create a database to collect information about sales transactions. She would like to use the database to look up
customer names and sales prices if they return a product. She would also like to retrieve their credit card number in order to reimburse them. In addition, she would like to sort the items in the database by product number. What fields should she have in her database? A.product number, product description, and sales price
B.product description, sales price, and employee name
C. last name, first name, telephone number, and address
D. name, credit card number, product number, and sales price
The correct answer is: D.name, credit card number, product number, and sales price
Although the database would have all the fields that she would need, it would still be better if the NAME field would be split into 2 or 3 parts. This is a practice that is done in the industry to keep information more clear as there are a couple of cases where people change their names due to different reasons.
For the best-case: Because there is a chance that you take two gloves of the same color in the first two round the answer is two.
For the worst-case: The worst case would be if, for each color-group of gloves you take the right or left glove, for example, you take 5 left-hand red gloves then 4 left-hand yellow gloves, then 2 left-hand green gloves, because you have already taken all of the left gloves the next one is going to be a right glove that is going to pair with one of the already selected gloves, therefore, the answer is 12 -> 5+4+2+1 = 12