
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
21 questions
Data Structures

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

Quiz
•
University
20 questions
COMP 210 - Help for MDTM 2

Quiz
•
12th Grade
20 questions
DSA - QA3

Quiz
•
University
20 questions
FUNDAMENTALS OF ALGORITHMS - UNIT II

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
17 questions
Graph Traversals

Quiz
•
12th Grade
20 questions
Algorithm questions

Quiz
•
12th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade