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

1. When using a While loop to repeatedly process a user's menu selections, the menuSelection variable must be initialized.
2. The best way to write a menu-driven program is to have a single long menu with all possible selections shown.
3. Since modules cannot be executed from a case statement, loops must be used if a module needs to be called.
4. In a menu-driven program the user normally must type the word end to stop the program.

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

Computer Science & Information Technology

You might also like to view...

Google+ circles define one-way relationships

Indicate whether the statement is true or false

Computer Science & Information Technology

In the following code, which line has an error?

``` Line 1 public interface Interface1 Line 2 { Line 3 int FIELDA = 55; Line 4 public int methodA(double){} Line 5 } ``` a. Line 1 b. Line 2 c. Line 3 d. Line 4

Computer Science & Information Technology