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.To most efficiently keep track of the sales for each of the three serving sizes, you would use ____.

A. three completely separate unnested if statements
B. nested if statements using AND logic
C. nested if statements using OR logic
D. four completely separate unnested if statements


Answer: C

Computer Science & Information Technology

You might also like to view...

Which of the following is a temporary storage for web documents such as HTML pages and downloads?

A) Data cache B) Metadata C) Web cache D) Cookies

Computer Science & Information Technology

It is very important for the project manager to ____ information about the critical path throughout the life of the project.

A. find B. analyze C. communicate D. All of the above

Computer Science & Information Technology

?TheUnified Modeling Language (UML) notation _____ identifies a zero or many relation.

A. ?0..1 B. ?1..* C. ?0..* D. ?0..0

Computer Science & Information Technology

The first stage in generating an RSA-PSS signature of a message M is to generate from M a fixed-length message digest, called an ______________.

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

Computer Science & Information Technology