Exam 22: Custom Generic Data Structures

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

Which statement about trees is false?

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

B

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

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

D

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

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

B

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

(Multiple Choice)
4.9/5
(42)

Which statement is false?

(Multiple Choice)
4.8/5
(48)

A stack is a __________ data structure.

(Multiple Choice)
4.9/5
(33)

Usually a _________ indicates the end of a data structure.

(Multiple Choice)
4.9/5
(44)

Which statement is false?

(Multiple Choice)
4.9/5
(46)

A queue is a __________ data structure.

(Multiple Choice)
4.8/5
(34)

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

(Multiple Choice)
4.8/5
(43)

Which statement is false?

(Multiple Choice)
4.8/5
(42)

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

(Multiple Choice)
5.0/5
(37)

Which statement is false?

(Multiple Choice)
4.9/5
(35)

Which is not a typical application of queues?

(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.8/5
(42)

Which statement is false?

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

Filters

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