Quiz
Chapter 2 Quiz
Questions in this quiz (5)
1In a C++ program, two slash marks ( // ) indicate:
- AThe end of a statement
- BThe beginning of a comment
- CThe end of the program
- DThe beginning of a block of code
- ENone of these
2A statement that starts with a # symbol is called a:
- AComment
- BFunction
- CPreprocessor directive
- DKey word
3For every opening brace in a C++ program, there must be a:
- AString literal
- BFunction
- CVariable
- DClosing brace
4The _________ is/are used to display information on the computer's screen.
- AOpening and closing braces
- BOpening and closing quotation marks
- Ccout object
- DBackslash
5The _____ causes the contacts of another file to be inserted into a program
- ABackslash
- BPound sign
- CSemicolon
- D#include directive
Information
- Description
- Quiz on Chapter 2 Quiz, created by Tate Burress on 01/12/2017.
- Author
- Tate Burress
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz