Answer the following statements true (T) or false (F)
1. In a switch statement, the default case is always executed.
2. Not including the break statements within a switch statement results in a syntax error.
3. The equality operator (==) may be used to test if two string objects contain the same value.
4. Boolean expressions are used to control branch and loop statements.
5. The for statement, do…while statement and while statement are examples of branching mechanisms.
1. False
2. False
3. False
4. True
5. False
You might also like to view...
________ are electronic markers you can add to your content to help with searches
Fill in the blank(s) with correct word
What is the result of the following command: CD\
A) The current directory changes to the DOCUMENTS directory. B) The current directory changes to the WINDOWS directory. C) The current directory changes to the root directory. D) The current directory changes to one directory back in the directory structure.