Exam 21: Custom Generic Data Structures

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A stack is a __________ data structure.

Free
(Multiple Choice)
4.9/5
(30)
Correct Answer:
Verified

D

Queue nodes are removed only from the __________ of the queue,and are inserted only at the __________ of the queue.

Free
(Multiple Choice)
4.9/5
(43)
Correct Answer:
Verified

C

Which statement is false?

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

C

Usually a _________ in Java code indicates the end of a data structure.

(Multiple Choice)
5.0/5
(38)

Java performs automatic __________ of objects that are no longer referenced in a program.

(Multiple Choice)
4.8/5
(45)

An isEmpty method you write to test whether a linked list is empty is called a __________ method.

(Multiple Choice)
4.9/5
(23)

Which statement is false?

(Multiple Choice)
4.9/5
(31)

Which statement about trees is false?

(Multiple Choice)
4.9/5
(34)

Which is not a typical application of queues?

(Multiple Choice)
4.9/5
(33)

Which statement is false?

(Multiple Choice)
4.9/5
(32)

The technique of implementing each stack method as a call to a List method is called __________.

(Multiple Choice)
4.9/5
(42)

A __________ class contains a reference member that refers to an object of the same class type.

(Multiple Choice)
4.9/5
(39)

List nodes normally are not necessarily stored in contiguous memory.Rather,they're ________ contiguous.

(Multiple Choice)
4.9/5
(29)

A queue is a __________ data structure.

(Multiple Choice)
4.7/5
(36)

Which statement is false?

(Multiple Choice)
4.9/5
(37)

Which statement is false?

(Multiple Choice)
4.8/5
(36)

If no memory is available,keyword new throws an __________.

(Multiple Choice)
4.8/5
(38)
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)