
1.4.2 Data Structures - Graphs and Trees

Quiz
•
Computers
•
12th Grade - University
•
Medium
Robin Smith
Used 188+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many parent nodes are there?
4
5
6
7
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many leaf nodes are there?
4
5
6
7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is TRUE about this tree?
This tree is a binary tree only
This tree is a binary search tree
This is a non-binary tree
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What traversal gives out the letters in alphabetical order?
In-order traversal
Pre-order traversal
Post-order traversal
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the order of nodes traversed in a pre-order traversal of this tree?
A, B, C, D, E, F, G, H, I, J
E, B, A, C, D, G, F, I, H, J
A, D, C, B, F, H, J, I, G, E
B, A, C, D, G, F, I, H, J, E
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the order of nodes traversed in a post-order traversal of this tree?
A, B, C, D, E, F, G, H, I, J
E, B, A, C, D, G, F, I, H, J
A, D, C, B, F, H, J, I, G, E
B, A, C, D, G, F, I, H, J, E
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Traversing this tree, the arithmetic expression obtained is a×b + c÷d.
What type of traversal was performed?
In-order
Pre-order
Post-order
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Data Structures Quiz Unit III

Quiz
•
University
20 questions
Algorithm questions

Quiz
•
12th Grade - University
25 questions
Data Structures 1

Quiz
•
University
16 questions
Trees

Quiz
•
University
15 questions
FUNDAMENTALS OF ALGORITHMS - UNIT 2 MCQS

Quiz
•
12th Grade
20 questions
ONE 6th FORM A* & Dijkstras and complexities

Quiz
•
12th Grade
15 questions
DSC UNIT 5

Quiz
•
University
20 questions
Uji Pemahaman Struktur Data

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade