Answer the following statements true (T) or false (F)

a) The default case is required in the switch selection statement.
b) The break statement is required in the last case of a switch selection statement.
c) The expression ((x > y) && (a < b)) is true if either x > y is true or a < b is true.
d) An expression containing the || operator is true if either or both of its operands are true.
e) The comma (,) formatting flag in a format specifier (e.g., %,20.2f) indicates that a value
should be output with a grouping separator.


a) False. The default case is optional. If no default action is needed, then there’s no need for a default case
b) False. The break statement is used to exit the switch statement. The break statement is not required for the last case in a switch statement.
c) False. Both of the relational expressions must be true for the entire expression to be
true when using the && operator.
d) True.
e) True.

Computer Science & Information Technology

You might also like to view...

What is the meaning of the term archive?

What will be an ideal response?

Computer Science & Information Technology

When previewing a merge, the Next Record button can be found in the ________ groups

A) Merge B) Preview Results C) Print Preview D) Merge and Preview

Computer Science & Information Technology

How does Remote Assistance differ from Remote Desktop?

What will be an ideal response?

Computer Science & Information Technology

A query datasheet is sometimes called a ____ of the data.

A. Logical View B. Duplicate Copy C. Table Simulator D. Warehouse

Computer Science & Information Technology