Case-Based Critical Thinking Questions
?
Case 1: Tony's Pizza & Pasta
?
Tony's Pizza & Pasta restaurant uses an application to update and display menu items and the related price information.
Daily "Chef's Specials" are stored using two one-dimensional parallel arrays. The days of the week are stored in thestrDaysarray, with Sunday as the first element. The daily special for each day is stored in a parallel array namedstrSpecial. Which of the following statements assigns Friday's special, which is rigatoni, to the appropriate element?
A. strSpecial(6) = rigatoni
B. strSpecial(5) = rigatoni
C. strSpecial(6) = "rigatoni"
D. strSpecial(5) = "rigatoni"
Answer: D
Computer Science & Information Technology
You might also like to view...
Identify the correct formula to calculate the cumulative principal paid on a mortgage loan for the second year of the loan (periods 1-12, where rate =5%, nper =120, present value = $147,000
A) =CUMIPMT(.05/12, 120*12, 147000,12,1,0) B) =CUMIPMT(.05/12, 120*12,-147000,1,12,0) C) =ABS(CUMIPMT(.05/12, 120,-147000,12,1,0)) D) =(ABS(CUMIPMT(.05/12, 120, 147000,1,12,0))
Computer Science & Information Technology
Wearable devices are constantly being introduced into the marketplace
Indicate whether the statement is true or false
Computer Science & Information Technology