Quiz #1 Solutions - Page 1 of 3 CSE 100 Principles of...

Info icon This is a preview. Sign up to view the full content.

View Full Document Right Arrow Icon
Page 1 of 3 CSE 100: Principles of Programming with C++ Department of Computer Science Arizona State University Fall 2007 Quiz 1 20 Points Solutions True/False Indicate whether the statement is true or false. Each question worth 1 point 1. Main memory is directly connected to the CPU. True 2. A computer program to play a game is an example of an application program. True 3. An identifier can be any sequence of digits, letters, and the underscore character. False (Should start with a latter or underscore) 4. The following is a legal C++ program. int main() { return 0; } True (Note: no preprocessor directive is required as this program do not use any library defined entity) Multiple Choice Identify the choice that best completes the statement or answers the question. Each question worth 1 point. 7. The ____ is the brain of the computer and the single most expensive piece of hardware in your personal computer.
Image of page 1