Chapter 2 Test 2

Chapter 2 Test 2 - Chapter 2 Test 2 Thursday, February 24,...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1. True/False: A preprocessor directive always begins with a double slash ( // ). A. True B. False 2. In programming terms, a group of characters inside a set of quotation marks is called a: A. String constant B. Variable C. Operation D. Statement E. None of the above 3. The ________ is used to mark the end of a complete C++ programming statement. A. Pound Sign B. Semicolon C. Data type D. Void E. None of the above 4. True/False: An escape sequence is identified by a forward slash ( / ). Chapter 2 Test 2 Thursday, February 24, 2011 5:06 AM General Page 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
True B. False 5. ____________ must be included in any program that uses the cout object. A. Opening and closing braces B. The header file iostream.h C. Comments D. Escape sequences E. None of the above 6. True/False: An identifier is a programmer-defined name that represents some element in a program, such as a variable. A. True B. False 7. If you use a C++ Key Word as an identifier, your program will: A. Execute with unpredictable results
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 6

Chapter 2 Test 2 - Chapter 2 Test 2 Thursday, February 24,...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online