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

1) Braces are normally included with do…while statements even when
unnecessary to avoid confusion with the while statement.
2) Infinite loops are caused when the loop-continuation condition in a while,
for or do…while statement never becomes true.
3) A default case must be provided for every switch statement.
4) A case that consists of multiple lines must be enclosed in braces.

1) T
2) F
3) F
4) F

Computer Science & Information Technology

You might also like to view...

Each field in a table can have only one data type

Indicate whether the statement is true or false

Computer Science & Information Technology

Table Styles are displayed in the ________ group on the TABLE TOOLS DESIGN tab

Fill in the blank(s) with correct word

Computer Science & Information Technology