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

1. An input validation loop is sometimes called an error handler.
2. If a user is asked to enter the number of widgets he or she wants to buy and enters "two", the program will automatically change the entry to an integer.
3. If a user is asked to enter the number of widgets he or she wants to buy, the isInteger function can be used to validate this input.
4. Programs should be designed to inspect all input before processing that input.


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

Computer Science & Information Technology

You might also like to view...

What method of sharing CPU time involves the OS executing an application for a particular period and according to its assigned priority?

A. cooperative multitasking B. preemptive multitasking C. voluntary multitasking D. centralized multitasking

Computer Science & Information Technology

You can insert clips into a presentation using the ____.

A. Notes pane B. Tabs pane C. Slide pane D. Clip Gallery

Computer Science & Information Technology

You can create a main document in Word, but not a data source.

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

Computer Science & Information Technology

Which one of these is not a file used with the User State Migration Tool?

a. ScanState.exe b. RunState.exe c. MigUser.xml d. MigApp.xmo

Computer Science & Information Technology