Exam 29: Data Structures and Generic Collections

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

The generic class SortedDictionary takes two type arguments: the first is _______ and the second is ________.

(Multiple Choice)
4.8/5
(32)

The load factor affects the performance of hashing schemes.As this value gets higher,the chance of collisions tends to increase.

(True/False)
4.9/5
(39)

Nodes in a linked list are stored contiguously in actual memory.

(True/False)
4.9/5
(33)

All generic method declarations have a type parameter section delimited by __________.

(Multiple Choice)
4.7/5
(45)

Type parameters _____________.

(Multiple Choice)
4.8/5
(40)

Which is not a typical queue app?

(Multiple Choice)
4.9/5
(32)

Generics provide run-time type safety.

(True/False)
4.9/5
(37)

A node can include references to objects only from the same class.

(True/False)
4.9/5
(30)

Which statement is false?

(Multiple Choice)
4.9/5
(33)

A binary search tree facilitates duplicate elimination.

(True/False)
4.8/5
(35)

To make a regular numbered binary tree more robust and polymorphic,programmers should manipulate objects comparisons through the IComparable interface.

(True/False)
4.9/5
(33)

When the compiler encounters a method call,it attempts to locate a method declaration that has the same signature as in the method call.

(True/False)
4.8/5
(39)

Type constraint restricts the type of the argument supplied to a particular type parameter.

(True/False)
4.9/5
(38)

Stack methods Peek and Pop basically do the same thing.

(True/False)
4.9/5
(39)

During a method call,a compiler generates an error only when there are no matching methods.

(True/False)
4.8/5
(38)

The constraints determine the operations that can be performed on the type parameters.

(True/False)
4.8/5
(30)

The primary operations to manipulate a stack are:

(Multiple Choice)
4.9/5
(31)

When a method is called,the compiler tries to find a method that matches the _________ of the method call.

(Multiple Choice)
4.8/5
(33)

A ________ provides a means for describing a class in a type-independent manner.

(Multiple Choice)
4.8/5
(36)

A stack can be thought of as a constrained linked list.

(True/False)
4.9/5
(31)
Showing 41 - 60 of 77
close modal

Filters

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