Typically __________ causes an error that causes an exception to be thrown.,

a) The user who enters data
b) The operating system that freezes.
c) The author of the application code
d) The class member function author
e) None of the above

a) The user who enters data , and c) The author of the application code

The one thing the application author cannot control and must program around is the user who enters data. The application program author also can make errors that exceptions can detect and manage. (Though this is chancy.)

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. With a BufferedOutputStream each output operation is directed to a buffer large enough to hold the data of many output operations. Transfer to the output device is performed in one large physical output operation when the buffer fills. b. With a BufferedOutputStream, a partially filled buffer can be forced out to the device at any time by invoking the stream object’s force method. c. With a BufferedInputStream, many “logical” chunks of data from a file are read as one large physical input operation into a memory buffer. d. With a BufferedInputStream, as a program requests data, it’s taken from the buffer. When the buffer is empty, the next actual physical input operation is performed.

Computer Science & Information Technology

Unlike the while and for loops, the do loop is considered to be in what category of loops?

A. intest loops B. pretest loops C. posttest loops D. fortest loops

Computer Science & Information Technology