Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.
- Use the _______ object to display text on the screen.
- A) screen
- B) cout
- C) output
- D) iostream
- 2.
- To compile an applicaiton in Visual Studio.NET, select _____________.
- A) File > Compile Solution
- B) Build > Compile Solution
- C) Build > Build Solution
- D) Compile > Build Solution
- 3.
- Must begin the body of every function
- A) a newline character
- B) The int keyword
- C) A return statement
- D) A left brace {
- 4.
- Syntax errors in a C++ application _________.
- A) can cause subtle errors when the application runs
- B) prevent the application from compiling correctly
- C) are ignored by the compiler
- D) are detected after the applicaion has been compiled
- 5.
- Files with an .obj extension contain _________.
- A) source code
- B) an executable image
- C) machine code
- D) preprocessor information
- 6.
- Operator << is the ____________ operator.
- A) stream insertion
- B) stream extraction
- C) display
- D) cout
- 7.
- The _________ escape sequence sounds the system bell.
- A) \b
- B) \a
- C) \sb
- D) none of the above
- 8.
- To run an application using Visual Studio.NET, select __________.
- A) Run > Start without debugging
- B) Build > Start
- C) Debug > Start without debugging
- D) Run > Start
- 9.
- A _____________ is an example of a whitespace character.
- A) tab
- B) space
- C) newline
- D) all of the above
- 10.
- The __________ escape sequence places the cursor at the beginning of the current line.
- A) \n
- B) \r
- C) \t
- D) \b
Add Comment
Please, Sign In to add comment