Deck 7: User-Defined Simple Data Types, Namespaces, and the String Type
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/12
Play
Full screen (f)
Deck 7: User-Defined Simple Data Types, Namespaces, and the String Type
1
C++ allows you to define a new simple data type in which you specify its name and values, but not its ____________________.
operations
2
The values you specify for an enumeration type must be identifiers.
True
3
The default value assigned to enumerators starts at 1.
False
4
You must use the ____________________ operator in order to perform arithmetic operations on an enumeration type.
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
5
The position of the first character in a string is ____________________.
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
6
Which C++ function(s) return(s) the number of characters currently in a string?
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
7
The data type string is not part of the C++ language.
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
8
The substr function has one parameter.
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
9
What does these terms refer to:
- Anonymous type:
- Anonymous type:
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
10
What does these terms refer to:
- Array subscript operator []:
- Array subscript operator []:
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
11
What does these terms refer to:
- Enumeration type:
- Enumeration type:
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
12
What does these terms refer to:
- Enumerator:
- Enumerator:
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck