Answer the following statements true (T) or false (F)
1. Programs never need more than one path of execution.
2. The if-else statement will execute one group of statements if its boolean expression is true or another group if its boolean expression is false.
3. In a switch statement, if two different values for the CaseExpression would result in the same code being executed, you must have two copies of the code, one after each CaseExpression.
4. All it takes for an OR expression to be true is for one of the subexpressions to be true.
5. All it takes for an AND expression to be true is for one of the subexpressions to be true.
1. FALSE
2. TRUE
3. FALSE
4. TRUE
5. FALSE
You might also like to view...
Suppose a router in an organization uses a routing protocol to declare that a given destination is ten hops away when the destination is only three hops away. Is the declaration necessarily an error? Explain.
What will be an ideal response?
The three different PHP sorting functions are sort(), asort(), and:
a. ksort() b. sortkr() c. sorta() d. sortr()
When the insertion point is in a cell of a table, pressing the Enter key ________
A) moves the insertion point to the next cell B) moves the insertion point to the previous cell C) creates a new paragraph in the current cell D) moves the insertion point to the cell at the end of the row
Office Online can only be used if Microsoft Office is installed on your computer
Indicate whether the statement is true or false