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.
TheintSubvariable keeps track of array subscripts and is initialized to 0. TheintHighSubvariable contains the highest subscript for thestrToppingsarray. Which of the following statements will traverse thestrToppingsarray?
A. Do While intSub >= intHighSub
B. For intHighSub As Integer = 0 To intSub
C. Do While intSub <= intHighSub
D. For intSub As Integer = 1 To intHighSub
Answer: C
You might also like to view...
Answer the following questions true (T) or false (F)
1. UML requires that the programmer understand every detail and dark corner of C++ to be useful. 2. A pattern is a design principle that solves a problem that occurs over and over.
The black in the function copyHorseFaceSmallBlack doesn’t look great on that horse. Would red look better? Try it.
What will be an ideal response?
A text box is an object that provides space anywhere on a slide in which information can be entered
Indicate whether the statement is true or false
The readability statistics are calculated by the number of ________ per word and the words per sentence
A) consonants B) vowels C) syllables D) letters