Case-Based Critical Thinking QuestionsCase 1The YumYum store sells ice cream. Single-scoops cost $2.00, double-scoops cost $2.80, and triple-scoops cost $3.50.There is a $10 bonus for ice cream store workers that have more than $100 of sales on their shift and sell more than four triple-scoop servings. During any one shift, there are many more workers selling more than four triple-scoop servings than workers having more than $100 in sales. When you write a program to determine bonuses, you can make the most efficient decision by first asking if workers had more than ____.

A. $100 dollars of sales
B. four triple scoop sales
C. four double scoop sales
D. four single scoop sales


Answer: A

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1.If an application needs to store only a small amount of data, sequential and binary files are efficient and easy to use. 2. When developing applications that work with an intensive amount of data, most developers prefer to use a database management system. 3. Rather than retrieving or manipulating the data directly, applications send instructions to the DBMS, and the DBMS carries out those instructions and sends the results back to the application. 4. The application handles the mechanical details reading of, writing of, and searching for data in a database.

Computer Science & Information Technology

Match the following buttons or features with the tab where it is located:

I. Options II. Object button III. Align Text Right button IV. Dialog Box Launcher V. Spelling & Grammar button A. Review tab B. Home tab C. File tab D. Insert tab E. Page Layout tab

Computer Science & Information Technology

When a member function is defined outside the class definition, the function header must include the class name and the _________, followed by the function name to “tie” the member function to the class definition.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Steve has volunteered to compile a historical archive tracing the birth and development of a charitable non-profit organization. Members of the organization have sent him numerous electronic files that he can use to help with the project.Each time Steve turns on his computer to resume his project, he can trust the computer's ____ to start the boot process.

A. cache memory B. virtual memory C. random-access memory (RAM) D. read-only memory (ROM)

Computer Science & Information Technology