Data Structures 1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
R Suganya
Used 11+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Assume there is a tree in which every node has a value greater than value of any node in its LST but lesser
than any node in its RST. An in order traversal of this tree shall result in
A. a sorted sequence in ascending order
B. a sorted sequence in descending order
C. sequence is sorted only of tree is a complete or full binary tree
D. sequence is not always sorted
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume an algebric expression E is represented using the binary tree
A. the variable in E forms external nodes and operators in internal nodes
B. the operators in E forms external nodes and variables in internal nodes
C. the variable and operations in E forms internal nodes
D. the variable and operations in E forms external nodes
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Balance factor is defined as the
A. Difference between Left sub tree and Right sub tree
B. Difference between the height of Left sub tree and the height of Right sub tree
C. Difference between Right sub tree and Left sub tree
D. Difference between the height of Right sub tree and the height of Left sub tree
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Assume the level of root node is 1 and the levels of left and right children of root is 2. The maximum number of
nodes on level i of a binary tree is
A. 2^i
B. 2^(i-1)
C. 2^(i+1)
D. 2^i+1
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The maximum number of binary trees that can be formed with three nodes
A. 3
B. 1
C. 5
D. 4
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The height of a binary tree is the maximum number of edges in any root to leaf path. The maximum number of
nodes in a binary tree of height h is:
A. 2^h-1
B. 2^(h-1)-1
C. 2^(h+1)-1
D. 2*(h+1)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The height of a tree is the length of the longest root-to-leaf path in it. The maximum and minimum number of
nodes in a binary tree of height 4 are
A. 31 and 5
B. 32 and 5
C. 15 and 5
D. 15 and 4
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
kollekvium 3
Quiz
•
University
20 questions
data structures1
Quiz
•
University
20 questions
Sistem Informasi Manajemen
Quiz
•
University
20 questions
MT - Basic FTTH
Quiz
•
1st Grade - Professio...
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
20 questions
DATASET'24 Quizz (Round 1)
Quiz
•
University
20 questions
SMARTICUS
Quiz
•
University
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
