Given the following pseudocode of a menu, which of the following While statements could be used to validate the user's input?

```
Select menuSelection
Case 1:
Do task 1
Case 2:
Do task 2
Case 3:
Do task 3
Case 4:
Do task 4
End Select

```

a. While menuSelection < 1 OR menuSelection > 4
b. While menuSelection <= 1 OR menuSelection >= 4
c. While menuSelection < 1 AND menuSelection > 4
d. While menuSelection < 0 AND menuSelection > 3


a. While menuSelection < 1 OR menuSelection > 4

Computer Science & Information Technology

You might also like to view...

__________ latency indicates a slow network with significant delays.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A table is a grid of columns and rows used to organize information.

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

Computer Science & Information Technology

It is only when the Windows 7 operating system is unable to locate the proper drivers for a device that you really become aware that a problem might exist

Indicate whether the statement is true or false

Computer Science & Information Technology

Search engines usually work with keyword queries where the user enters one or more words, called __________ terms.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology