Which of these data structures is the most natural to represent a line of custom
ID: 3768215 • Letter: W
Question
Which of these data structures is the most natural to represent a line of customers waiting to use an ATM machine?
Select one:
a. stack
b. array list
c. linked list
d. tree
e. queue
Which of these data structures inherently allows access to any of its elements, not just its boundary elements?
Select one:
a. linked list
b. queue
c. stack
d. dequeue
e. all of these inherently allows access to any of their elements
Which of these can be used to represent a stack data structure?
Select one:
a. linked list
b. all of these can be used to represent a stack data structure
c. queue
d. dequeue
e. single dimensional array
Which of these indicates a generic queue?
Select one:
a. Queue<E>
b. Queue(E)
c. Queue.E
d. Queue(Object o)
e. Queue[generic]
Which of these is used to refer to a class that consists of some data and a link to an object of its own type?
Select one:
a. linked list
b. list
c. node
d. pointer
e. reference
Which of these data structures is the most natural to represent cars that are parked in a single-lane tunnel with an opening at only one end?
Select one:
a. queue
b. stack
c. linked list
d. dequeue
e. array list
Which of these CANNOT be the element type for a generic stack?
Select one:
a. Object
b. Integer
c. int
d. String
e. all of these can be the element type
Which of these data structures is the most natural to represent the contents of the train cars that are connected together to make up a train?
Select one:
a. linked list
b. dequeue
c. queue
d. two dimensional array
e. stack
Which of these is used to refer to a linked list that can inherently be traversed in either a forward or backwards direction.?
Select one:
a. cross-referenced link list
b. dual linked list
c. reversible linked list
d. binary linked list
e. doubly linked list
Which of these is used to refer to a data structure that stores its elements in ascending (or descending) order according to a key value?
Select one:
a. indexed sequential access list
b. sorted linked list
c. sequential linked list
d. sorted key group
e. comparable data structure
Explanation / Answer
Which of these data structures is the most natural to represent a line of customers waiting to use an ATM machine?
Select one:(e)
a. stack
b. array list
c. linked list
d. tree
e. queue
Which of these data structures inherently allows access to any of its elements, not just its boundary elements?
Select one:(a)
a. linked list
b. queue
c. stack
d. dequeue
e. all of these inherently allows access to any of their elements
Which of these can be used to represent a stack data structure?
Select one:(e)
a. linked list
b. all of these can be used to represent a stack data structure
c. queue
d. dequeue
e. single dimensional array
Which of these indicates a generic queue?
Select one:(a)
a. Queue<E>
b. Queue(E)
c. Queue.E
d. Queue(Object o)
e. Queue[generic]
Which of these is used to refer to a class that consists of some data and a link to an object of its own type?
Select one:(c)
a. linked list
b. list
c. node
d. pointer
e. reference
Which of these data structures is the most natural to represent cars that are parked in a single-lane tunnel with an opening at only one end?
Select one:(a)
a. queue
b. stack
c. linked list
d. dequeue
e. array list
Which of these CANNOT be the element type for a generic stack?
Select one:(c)
a. Object
b. Integer
c. int
d. String
e. all of these can be the element type
Which of these data structures is the most natural to represent the contents of the train cars that are connected together to make up a train?
Select one:(a)
a. linked list
b. dequeue
c. queue
d. two dimensional array
e. stack
Which of these is used to refer to a linked list that can inherently be traversed in either a forward or backwards direction.?
Select one:(e)
a. cross-referenced link list
b. dual linked list
c. reversible linked list
d. binary linked list
e. doubly linked list
Which of these is used to refer to a data structure that stores its elements in ascending (or descending) order according to a key value?
Select one:(e)
a. indexed sequential access list
b. sorted linked list
c. sequential linked list
d. sorted key group
e. comparable data structure
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.