Exam 29: Data Structures and Generic Collections

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

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

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

C

Which statement is false?

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

B

Prepackaged data-structure classes provided by the .NET Framework are called ___________.

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

C

Stacks and queues can be implemented as constrained versions of linked lists.

(True/False)
4.8/5
(31)

A generic method can be overloaded by ________ method.

(Multiple Choice)
4.7/5
(34)

Generics make writing a program more __________.

(Multiple Choice)
4.9/5
(34)

To place a new item in a List at a specific index use the method ________.

(Multiple Choice)
4.7/5
(34)

At compilation time,the runtime system replaces type parameters with the arguments' types.

(True/False)
4.9/5
(36)

A doubly linked list allows traversals both forward and backward.

(True/False)
4.7/5
(21)

Like linked lists,stacks,and queues,trees are also linear data structures.

(True/False)
4.8/5
(34)

Once you have a generic class,you must use a hard,complex notation to indicate the actual type that should be used in place of the class's type parameter(s).

(True/False)
4.8/5
(38)

Which of the following correctly describes a queue data structure?

(Multiple Choice)
4.8/5
(35)

To determine the number of elements in a List use the property ________.

(Multiple Choice)
4.7/5
(40)

A node can contain any data type.

(True/False)
4.8/5
(44)

Compilers use stacks to evaluate arithmetic expressions and to generate machine language code to process the expressions.

(True/False)
4.9/5
(34)

Which statement is false?

(Multiple Choice)
4.8/5
(40)

Any value can be stored as an Object.

(True/False)
4.9/5
(39)

Which of the following is not a property of LinkedListNode?

(Multiple Choice)
4.7/5
(34)

Storing everything as Objects in a collection provides a performance boost.

(True/False)
4.8/5
(35)

Most classes that are used as keys in a hash table should override the GetHashCode to provide one that performs efficient hash code calculations for a specific type.

(True/False)
4.8/5
(32)
Showing 1 - 20 of 77
close modal

Filters

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