Deck 2: Basic Elements of C++
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/76
Play
Full screen (f)
Deck 2: Basic Elements of C++
1
What is an enumeration type?
C++'s method for allowing programmers to create their own simple data types
2
The data type ____________________ has only two values: true and false.
bool
3
The ____________________ data type, the smallest integral data type, is used to represent characters.
char
4
A(n) ____________________ operator has only one operand.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
5
You can use ____________________ to override the order of precedence rules.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
6
Describe the associativity of arithmetic operators.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
7
An expression that has operands of different data types is called a(n) ____________________.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
8
What is a named constant?
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
9
What is the syntax for declaring single or multiple variables?
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
10
If you refer to an identifier without declaring it, the compiler will generate an error message.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
11
A variable is said to be ____________________ the first time a value is placed in it.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
12
The semantic rules of a language tell you what is legal and what is not legal.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
13
The semicolon is also called the ____________________.
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
14
How can you make run-together words easier to understand?
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
15
Why are comments important in a program?
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
16
What does these terms refer to:
- Arithmetic expression:
- Arithmetic expression:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
17
What does these terms refer to:
- Assignment operator:
- Assignment operator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
18
What does these terms refer to:
- Associativity:
- Associativity:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
19
What does these terms refer to:
- Binary operator:
- Binary operator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
20
What does these terms refer to:
- Cast operator (type conversion, type casting):
- Cast operator (type conversion, type casting):
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
21
What does these terms refer to:
- Character arithmetic:
- Character arithmetic:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
22
What does these terms refer to:
- Collating sequence:
- Collating sequence:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
23
What does these terms refer to:
- Compound assignment statement:
- Compound assignment statement:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
24
What does these terms refer to:
- Computer program:
- Computer program:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
25
What does these terms refer to:
- Data type:
- Data type:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
26
What does these terms refer to:
- Declaration statements:
- Declaration statements:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
27
What does these terms refer to:
- Decrement operator:
- Decrement operator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
28
What does these terms refer to:
- Double precision:
- Double precision:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
29
What does these terms refer to:
- Enumeration:
- Enumeration:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
30
What does these terms refer to:
- Executable statements:
- Executable statements:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
31
What does these terms refer to:
- Floating-point:
- Floating-point:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
32
What does these terms refer to:
- Floating-point (decimal) expression:
- Floating-point (decimal) expression:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
33
What does these terms refer to:
- Floating-point notation:
- Floating-point notation:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
34
What does these terms refer to:
- Function (subprogram):
- Function (subprogram):
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
35
What does these terms refer to:
- Identifier:
- Identifier:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
36
What does these terms refer to:
- Implicit type coercion:
- Implicit type coercion:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
37
What does these terms refer to:
- Increment operator:
- Increment operator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
38
What does these terms refer to:
- Initialized:
- Initialized:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
39
What does these terms refer to:
- Input (read) statement:
- Input (read) statement:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
40
What does these terms refer to:
- Integral:
- Integral:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
41
What does these terms refer to:
- Integral expression:
- Integral expression:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
42
What does these terms refer to:
- Keyword:
- Keyword:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
43
What does these terms refer to:
- Mixed expression:
- Mixed expression:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
44
What does these terms refer to:
- Named constant:
- Named constant:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
45
What does these terms refer to:
- Null (empty) string:
- Null (empty) string:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
46
What does these terms refer to:
- Operands:
- Operands:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
47
What does these terms refer to:
- Output statement:
- Output statement:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
48
What does these terms refer to:
- Post-decrement:
- Post-decrement:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
49
What does these terms refer to:
- Post-increment:
- Post-increment:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
50
What does these terms refer to:
- Precision:
- Precision:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
51
What does these terms refer to:
- Pre-decrement:
- Pre-decrement:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
52
What does these terms refer to:
- Predefined (standard) function:
- Predefined (standard) function:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
53
What does these terms refer to:
- Pre-increment:
- Pre-increment:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
54
What does these terms refer to:
- Preprocessor:
- Preprocessor:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
55
What does these terms refer to:
- Programming:
- Programming:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
56
What does these terms refer to:
- Programming language:
- Programming language:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
57
What does these terms refer to:
- Prompt lines:
- Prompt lines:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
58
What does these terms refer to:
- Reserved words (keywords):
- Reserved words (keywords):
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
59
What does these terms refer to:
- Run-together word:
- Run-together word:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
60
What does these terms refer to:
- Self-documenting identifiers:
- Self-documenting identifiers:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
61
What does these terms refer to:
- Semantic rules:
- Semantic rules:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
62
What does these terms refer to:
- Semantics:
- Semantics:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
63
What does these terms refer to:
- Simple assignment statement:
- Simple assignment statement:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
64
What does these terms refer to:
- Simple data type:
- Simple data type:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
65
What does these terms refer to:
- Single precision:
- Single precision:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
66
What does these terms refer to:
- Source code:
- Source code:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
67
What does these terms refer to:
- Source code file (source file):
- Source code file (source file):
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
68
What does these terms refer to:
- Statement terminator:
- Statement terminator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
69
What does these terms refer to:
- Stream extraction operator:
- Stream extraction operator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
70
What does these terms refer to:
- Stream insertion operator:
- Stream insertion operator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
71
What does these terms refer to:
- String:
- String:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
72
What does these terms refer to:
- Syntax rules:
- Syntax rules:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
73
What does these terms refer to:
- Token:
- Token:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
74
What does these terms refer to:
- Unary operator:
- Unary operator:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
75
What does these terms refer to:
- Variable:
- Variable:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck
76
What does these terms refer to:
- Walk-through:
- Walk-through:
Unlock Deck
Unlock for access to all 76 flashcards in this deck.
Unlock Deck
k this deck