Deck 8: Arrays and Strings

Full screen (f)
exit full mode
Question
Define an array.
Use Space or
up arrow
down arrow
to flip the card.
Question
The ____________________ value specifies the position of an element of a component in an array.
Question
In C++, the array index starts at 1.
Question
Define an aggregate operation as it relates to arrays.
Question
Define a character array.
Question
The header file ____________________ provides functions for manipulating C-strings.
Question
C++ does not allow any aggregate operations on C-strings.
Question
Define a two-dimensional array.
Question
To access a component of a two-dimensional array, you need a pair of indices.
Question
You can output the contents of a two-dimensional array by using ____ loops.
Question
When storing a two-dimensional array in computer memory, C++ uses the ____ form.
Question
What does these terms refer to:

- \gg Aggregate operation:
Question
What does these terms refer to:

- \gg Array:
Question
What does these terms refer to:

- \gg Array index in bounds:
Question
What does these terms refer to:

- \gg Array index out of bounds:
Question
What does these terms refer to:

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

- \gg Base address:
Question
What does these terms refer to:

- \gg Character array:
Question
What does these terms refer to:

- \gg Column processing:
Question
What does these terms refer to:

- \gg Dynamic arrays:
Question
What does these terms refer to:

- \gg Finding the sum and average of an array:
Question
What does these terms refer to:

- \gg Index:
Question
What does these terms refer to:

- \gg Initializing:
Question
What does these terms refer to:

- \gg n-dimensional array:
Question
What does these terms refer to:

- \gg One-dimensional array:
Question
What does these terms refer to:

- \gg Parallel arrays:
Question
What does these terms refer to:

- \gg Row order form:
Question
What does these terms refer to:

- \gg Row processing:
Question
What does these terms refer to:

- \gg Selection sort:
Question
What does these terms refer to:

- \gg Sequential or linear search:
Question
What does these terms refer to:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

- \gg Two-dimensional array:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 33 flashcards in this deck.