Answer the following statements true (T) or false (F)
1) The default label is required in the switch selection statement.
2) The break statement is required in every case of a switch statement.
3) The expression ((x > y) && (a < b)) is true if either (x > y) is true or (a < b) is true.
4) An expression containing the || operator is true if either or both of its operands are true.
1) False. The default label is optional. If no default action is needed, then there’s no
need for a default label.
2) False. You could terminate the case with other statements, such as a return.
3) False. Both of the relational expressions must be true for this entire expression to be
true when using the && operator.
4) True.
You might also like to view...
Unintentional _____________ occur in software and hardware because of failures in the development and sustainment process.
Fill in the blank(s) with the appropriate word(s).
SQL is an example of a ________ style of programming language
A) 4GL B) 2GL C) 5GL D) 3GL
Multiple fields may be used when sorting records.
Answer the following statement true (T) or false (F)
Diffie-Hellman key exchange uses asymmetric encryption to exchange session keys. _________________________
Answer the following statement true (T) or false (F)