If a program compiles fine, but it produces incorrect result, then the program suffers __________.

a. a compilation error
b. a runtime error
c. a logic error


c

Computer Science & Information Technology

You might also like to view...

Which of the following would not return string::npos when used on the string s which contains "rack":

a. s.find_first_not_of( "crackling" ); b. s.find_first_not_of( "packrat" ); c. s.rfind( "car" ); d. s.find( "ack" );

Computer Science & Information Technology

Which of the following statements are true?

a. ObjectInputStream/ObjectOutputStream enables you to perform I/O for objects in addition for primitive type values and strings. b. Since ObjectInputStream/ObjectOutputStream contains all the functions of DataInputStream/DataOutputStream, you can replace DataInputStream/DataOutputStream completely by ObjectInputStream/ObjectOutputStream. c. To write an object, the object must be serializable. d. The Serializable interface does not contain any methods. So it is a mark interface. e. If all the elements in an array is serializable, the array is serializable too.

Computer Science & Information Technology

If a problem arises during backup, the Backup and Restore applet will inform you and provide options for this resolution. Which one of these is not a problem for which the Backup and Restore applet will provide an alert?

a. Insufficient RAM b. Insufficient backup disk space c. Unavailable network location d. Open files might be skipped

Computer Science & Information Technology

Which of the following regulations protects the privacy of medical records?

A. PCI DSS B. HIPAA C. SOX D. GBLA

Computer Science & Information Technology