Answer the following statements true (T) or false (F)
1. The value which follows the word case in a switch statement can be of type integer or
character.
2. The operands of the operator || must both be Boolean values.
3. A blank space can be placed between the ampersands in the logical operator && to make it
more readable.
4. An algorithm is a sequence of steps for solving a problem.
5. Top-down design begins with a ‘big picture’ description of a problem solution in sequential
steps; the sequential steps are repeatedly refined until the steps are detailed enough to
translate to computer language statements.
1. A. True
2. False
3. False
4. True
5. True
You might also like to view...
A class obtained from a generic class by plugging in a type for the type parameter is said to ________ the generic class.
a. Inherit b. Encapsulate c. Instantiate d. None of the above
Show how a browser would render the following code:
- item one
- item three
- item two
If cell A1 contained 10, cell A2 contained 2 and cell A3 contained =A1/A2, what would cell A3 show on the worksheet?
A. =A1/A2 B. =10/2 C. 5 D. =5
?Data values can be _____.
A. ?numeric B. ?textual C. ?symbolic D. ?all of the above