Deck 7: User-Defined Simple Data Types, Namespaces, and the String Type

Full screen (f)
exit full mode
Question
C++ allows you to define a new simple data type in which you specify its name and values, but not its ____________________.
Use Space or
up arrow
down arrow
to flip the card.
Question
The values you specify for an enumeration type must be identifiers.
Question
The default value assigned to enumerators starts at 1.
Question
You must use the ____________________ operator in order to perform arithmetic operations on an enumeration type.
Question
The position of the first character in a string is ____________________.
Question
Which C++ function(s) return(s) the number of characters currently in a string?
Question
The data type string is not part of the C++ language.
Question
The substr function has one parameter.
Question
What does these terms refer to:

- \gg Anonymous type:
Question
What does these terms refer to:

- \gg Array subscript operator []:
Question
What does these terms refer to:

- \gg Enumeration type:
Question
What does these terms refer to:

- \gg Enumerator:
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/12
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
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:

- \gg 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:

- \gg 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:

- \gg 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:

- \gg Enumerator:
Unlock Deck
Unlock for access to all 12 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 12 flashcards in this deck.