Question: QUESTION 1 1 In copying a binary tree, if you use just the value of the pointer of the root node, you get a _
QUESTION
In copying a binary tree, if you use just the value of the pointer of the root node, you get a copy of the data.
a
local
b
deep
c
static
d
shallow
points
QUESTION
To describe a queuing system, we use the term for the object receiving the service.
a
server
b
provider
c
customer
d
receiver
points
QUESTION
A queue is a First In First Out data structure.
True
False
points
QUESTION
Duplicates are allowed in a binary search tree.
True
False
points
QUESTION
What is the output of the following code?
queueType queue;
int x y;
x ;
y ;
queue.addQueuex;
queue.addQueuey;
x queue.front;
queue.deleteQueue;
queue.addQueuex ;
queue.addQueuex;
queue.addQueuey ;
while queue.isEmptyQueue
cout queue.front;
queue.deleteQueue;
cout endl
a
b
c
d
points
QUESTION
The operations to do inorder, preorder, and postorder traversals of a binary search tree are the same as those for a binary tree.
True
False
points
QUESTION
All binary tree traversals start at the leftmost child node.
True
False
points
QUESTION
When a stack is implemented as an array, the array is empty if the value of stackTop is
a
zero
b
one
c
nonzero
d
equal to the size of the array
points
QUESTION
Every node in a binary tree has pointers.
a
one
b
two
c
three
d
four
points
QUESTION
The of a node in a binary tree is the number of branches on the path from the root to the node.
a
height
b
size
c
level
d
width
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
