
Data Structure and Algorithm Quiz

Quiz
•
Computers
•
12th Grade
•
Hard
Maria Soriaga
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a node in a tree data structure that has no children called?
Leaf
Child
Parent Node
Edge
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, how many children can each node have at most?
Four
Three
Two
One
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the operation used to insert a new node in a Binary Search Tree?
Update
Append
Add
Insert
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal technique visits the root node first, then the left subtree, and finally the right subtree?
Preorder
Breadth-First Search
In-order
Post-order
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of nodes in a binary tree of height 3?
7
15
31
63
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a Binary Search Tree?
To create a balanced tree
To search for data efficiently
To sort data in descending order
To store data in a random order
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tree structure is used for router algorithms?
AVL Tree
Heap Tree
Binary Tree
Trie Tree
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Tree

Quiz
•
12th Grade
20 questions
DATA STRUCTURES

Quiz
•
12th Grade
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
20 questions
IBDP Computer Science: abstract data structures

Quiz
•
12th Grade
20 questions
Berpikir Komputasional

Quiz
•
9th Grade - University
10 questions
Search Algorithms

Quiz
•
9th - 12th Grade
15 questions
Data Structures

Quiz
•
12th Grade
13 questions
A-level linked lists (video)

Quiz
•
12th Grade
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade