Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need answers asap. Thanks! Question 23 4 pts (TCO 6) In a binary search tree the _____ is stored in the rightmost node of the

Need answers asap. Thanks!

Question 23 4 pts

(TCO 6) In a binary search tree the _____ is stored in the rightmost node of the tree.

smallest value
greatest value
median
mean

Question 24 4 pts

(TCO 6) In a binary search tree, the key in the _____ node is larger than or equal to a key in the left subtree and smaller than a key in the right subtree.

right
bottom
root
header

Question 25 4 pts

(TCO 7) To store the information of a graph with five vertices in an adjacency matrix, you need to use a _____ matrix.

5x1
1x5
10x1
5x5

Question 26 4 pts

(TCO 7) Let v be an isolated vertex of a graph. The degree of v _____.

does not exist
is an odd number
is zero
is equal to the size of the graph

Question 27 4 pts

(TCO 7) Let G be a graph with four vertices and five edges. The sum of the degrees of the four vertices is _____.

4
5
8
10

Question 28 4 pts

(TCO 8) Suppose that mylist is a C++ STL object. list mylist; To append an element z to the end of mylist, use _____.

mylist.append(z);
mylist.push_back(z);
mylist.add(z);
mylist.insertEnd(z);

Question 29 4 pts

(TCO 8) To add the element x to a queue object in the C++ standard template library, myqueue, use _____.

myqueue.enqueue(x);
myqueue.push(x);
myqueue.push_front(x);
myqueue.add_Front(x);

Question 30 4 pts

(TCO 8) In C++ STL, the _____ function determines if a value exists in a sorted sequence.

sorted_search
binary_search
contain
lookup

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions

Question

c. What groups were least represented? Why do you think this is so?

Answered: 1 week ago

Question

7. Describe phases of multicultural identity development.

Answered: 1 week ago