Deck 11: Data Structure

Full screen (f)
exit full mode
Question
Given a linked list called children, the pointer variable children identifies ________ element of the linked list.

A) the first
B) the second
C) the last
D) any
Use Space or
up arrow
down arrow
to flip the card.
Question
Each element in a record is called _______.

A) a variable
B) an index
C) a field
D) a node
Question
To traverse a list, you need a _______ pointer.

A) null
B) walking
C) beginning
D) insertion
Question
A data structure can be _______.

A) only an array
B) only a record
C) only a linked list
D) an array, a record, or a linked list
Question
_______ is an ordered collection of data in which each element contains the location of the next element.

A) An array
B) A record
C) A linked list
D) A file
Question
All the members of a record must be _______.

A) the same type
B) related types
C) integer type
D) character type
Question
The _______ is a pointer that identifies the next element in the linked list.

A) link
B) node
C) array
D) data
Question
An array that consists of just rows and columns is a _______ array.

A) one-dimensional
B) two-dimensional
C) three-dimensional
D) multidimensional
Question
In a linked list, each element contains _______.

A) only data
B) only a link
C) neither data nor a link
D) data and a link
Question
An empty linked list consists of _______.

A) a node
B) two nodes
C) data and a link
D) a null head pointer
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/10
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Data Structure
1
Given a linked list called children, the pointer variable children identifies ________ element of the linked list.

A) the first
B) the second
C) the last
D) any
A
2
Each element in a record is called _______.

A) a variable
B) an index
C) a field
D) a node
C
3
To traverse a list, you need a _______ pointer.

A) null
B) walking
C) beginning
D) insertion
B
4
A data structure can be _______.

A) only an array
B) only a record
C) only a linked list
D) an array, a record, or a linked list
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
5
_______ is an ordered collection of data in which each element contains the location of the next element.

A) An array
B) A record
C) A linked list
D) A file
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
6
All the members of a record must be _______.

A) the same type
B) related types
C) integer type
D) character type
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
7
The _______ is a pointer that identifies the next element in the linked list.

A) link
B) node
C) array
D) data
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
8
An array that consists of just rows and columns is a _______ array.

A) one-dimensional
B) two-dimensional
C) three-dimensional
D) multidimensional
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
9
In a linked list, each element contains _______.

A) only data
B) only a link
C) neither data nor a link
D) data and a link
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
10
An empty linked list consists of _______.

A) a node
B) two nodes
C) data and a link
D) a null head pointer
Unlock Deck
Unlock for access to all 10 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 10 flashcards in this deck.