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

1. A boolean expression may evaluate to more than 2 values
2. A function may return a boolean value.
3. In an enumerated data type, different constants may not have the same value.
4. All switch statements can be converted into nested if-else statements
5. All nested if-else statements can be converted into switch statements.

1. FALSE
2. TRUE
3. FALSE
4. TRUE
5. FALSE

Computer Science & Information Technology

You might also like to view...

Which type of IDS can send an access list to a router or firewall when an intrusion is detected on a network?

a. Active system b. Passive system c. Firewall system d. Host-based system

Computer Science & Information Technology

The Callable interface (of package java.util.concurrent) declares a single method named call that allows a task to return a value.

a. call b. execute c. invoke d. None of the above.

Computer Science & Information Technology