Exam 5: Methods
Exam 1: Introduction to Computers, Programs, and Java9 Questions
Exam 2: Elementary Programming16 Questions
Exam 3: Selections21 Questions
Exam 4: Loops12 Questions
Exam 5: Methods17 Questions
Exam 6: Single-Dimensional Arrays8 Questions
Exam 7: Multidimensional Arrays8 Questions
Exam 8: Objects and Classes15 Questions
Exam 9: Strings24 Questions
Exam 10: Thinking in Objects25 Questions
Select questions type
To add a new node, you need to start a process by first placing it as _______ and move it up to maintain the heap property.
Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
A
A ___________ of a graph is a subgraph that is a tree and connects all vertices in the graph.
Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
A
Find all shortest paths starting from vertex A in the following graph.
Free
(Short Answer)
4.7/5
(32)
Correct Answer:
The ________ is to visit the left subtree of the current node first, then the current node itself, and finally the right subtree of the current node.
(Multiple Choice)
5.0/5
(35)
Show the inorder, preorder, and postorder of the following BST. 

(Short Answer)
4.9/5
(33)
If two vertices are connected by two or more edges, these edges are called ______.
(Multiple Choice)
4.7/5
(32)
Show the BST after inserting 45, 43, 100, 34, 23, and 3 into an empty BST.
(Short Answer)
4.9/5
(34)
The time complexity for finding an element in a binary search tree is _________.
(Multiple Choice)
4.9/5
(36)
Draw a BFS tree from the following graph starting from vertex E.
(Short Answer)
4.9/5
(32)
A _________ is the one in which every two pairs of vertices are connected.
(Multiple Choice)
4.8/5
(42)
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)