Exam 8: Abstract Data Types and Subprograms

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

Which of the following is organized as a hierarchy?

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

D

In order to answer the question of whether you can travel from Boston to Los Angeles on your favorite airline, you would use a(n) __________________ searching algorithm defined on a graph.

Free
(Short Answer)
4.8/5
(41)
Correct Answer:
Verified

depth-first

In a(n) _______________ graph, the edges point from one node to another.

Free
(Short Answer)
4.9/5
(41)
Correct Answer:
Verified

directed

What is the role of a container?

(Essay)
4.8/5
(43)

In a binary tree, each node has at most two child nodes.

(True/False)
4.8/5
(40)

A(n) _______________ is an abstract data type that operates on a "first in, first out" (FIFO) manner.

(Short Answer)
4.8/5
(35)

The operations on a stack occur at one end.

(True/False)
4.8/5
(37)

What is the minimum number of nodes in a binary tree with 3 levels?

(Multiple Choice)
4.8/5
(33)

A(n) _______________ structure is based on the concept of a node and pointers between nodes.

(Short Answer)
5.0/5
(38)

A binary tree cannot contain decimal (base-10) data.

(True/False)
4.7/5
(41)

A leaf node has no child nodes.

(True/False)
4.9/5
(34)

A(n) _______________ is a data type whose data and operations are specified independently of any particular implementation.

(Short Answer)
4.9/5
(32)

The root node in a tree has no children.

(True/False)
4.8/5
(32)

Which of the following scientists developed the basic computer architecture that continues to be used today?

(Multiple Choice)
4.8/5
(27)

What is a value parameter?

(Short Answer)
4.7/5
(39)

The root node in a tree is the only node that does not have a parent.

(True/False)
4.8/5
(36)

The operations on a list differ depending on the implementation strategy used.

(True/False)
4.8/5
(28)

The effect of the following queue operations will be to print "HI": Enque(myQueue,'I'), Enque(myQueue,'H'), Dequeue(myQueue,value), Write value, Dequeue(myQueue, value), Write value.

(True/False)
4.7/5
(39)

Non-value-returning subprograms must always have a RETURN statement.

(True/False)
4.9/5
(43)

Which level provides a view that deals with the underlying data structure used to manage the data?

(Multiple Choice)
4.8/5
(28)
Showing 1 - 20 of 49
close modal

Filters

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