Deck 8: Arrays and Strings
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/33
Play
Full screen (f)
Deck 8: Arrays and Strings
1
Define an array.
An array is a collection of fixed number components all of the same data type.
2
The ____________________ value specifies the position of an element of a component in an array.
index
3
In C++, the array index starts at 1.
False
4
Define an aggregate operation as it relates to arrays.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
5
Define a character array.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
6
The header file ____________________ provides functions for manipulating C-strings.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
7
C++ does not allow any aggregate operations on C-strings.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
8
Define a two-dimensional array.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
9
To access a component of a two-dimensional array, you need a pair of indices.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
10
You can output the contents of a two-dimensional array by using ____ loops.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
11
When storing a two-dimensional array in computer memory, C++ uses the ____ form.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
12
What does these terms refer to:
- Aggregate operation:
- Aggregate operation:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
13
What does these terms refer to:
- Array:
- Array:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
14
What does these terms refer to:
- Array index in bounds:
- Array index in bounds:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
15
What does these terms refer to:
- Array index out of bounds:
- Array index out of bounds:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
16
What does these terms refer to:
- Array subscripting operator [ ]:
- Array subscripting operator [ ]:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
17
What does these terms refer to:
- Base address:
- Base address:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
18
What does these terms refer to:
- Character array:
- Character array:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
19
What does these terms refer to:
- Column processing:
- Column processing:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
20
What does these terms refer to:
- Dynamic arrays:
- Dynamic arrays:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
21
What does these terms refer to:
- Finding the sum and average of an array:
- Finding the sum and average of an array:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
22
What does these terms refer to:
- Index:
- Index:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
23
What does these terms refer to:
- Initializing:
- Initializing:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
24
What does these terms refer to:
- n-dimensional array:
- n-dimensional array:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
25
What does these terms refer to:
- One-dimensional array:
- One-dimensional array:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
26
What does these terms refer to:
- Parallel arrays:
- Parallel arrays:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
27
What does these terms refer to:
- Row order form:
- Row order form:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
28
What does these terms refer to:
- Row processing:
- Row processing:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
29
What does these terms refer to:
- Selection sort:
- Selection sort:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
30
What does these terms refer to:
- Sequential or linear search:
- Sequential or linear search:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
31
What does these terms refer to:
- Simple data type:
- Simple data type:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
32
What does these terms refer to:
- Structured data type:
- Structured data type:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
33
What does these terms refer to:
- Two-dimensional array:
- Two-dimensional array:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck