In preorder traversal of a binary tree the second step is ____________

Data Structures

Quiz
•
Computers, Other, English, Professional Development
•
University
•
Medium
Kirti Yadav
Used 1+ times
FREE Resource
48 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
traverse the right subtree
traverse the left subtree
traverse right subtree and visit the root
visit the root
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many leaf are there in the tree?
1
3
4
7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A Data Structure is:
A C++ vector
A way of organizing, storing and performing operations on data.
A function in any programming language
A sequence of steps to solve a problem.
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Given a sequence of number below:
50,60,40,70,45,55,30,80,65,35,25,75,85
When creating a binary search tree, what is the height of the tree?
3
4
5
6
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Given a binary search tree, insert 27, 15, 63, 99, 70 and 85 (in this order) into the binary search tree. What is the post-order traversal?
5,15,27,34,47,54,63,70,72,75,83,85,88,94,99,101
72,54,34,5,27,15,47,63,70,83,75,88,85,101,94,99
15,27,5,47,34,70,63,54,75,85,99,94,101,88,83,72
15,27,5,47,34,63,54,70,75,85,99,94,101,88,83,72
none of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the correct statement
A data structure is a specialised format for organising and storing data
A data structure is a specialised format for organising and storing information
A data structure is a format for organising and storing only one data type
A data structure is too complicated to truly understand or use
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?
a) ABCD
b) DCBA
c) DCAB
d) ABDC
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
MCQs on Algorithms and Computer Graphics

Quiz
•
University
44 questions
CSE214 Final Review

Quiz
•
University
44 questions
Design and Analysis of Algorithms

Quiz
•
University
50 questions
CC04 PRELIM

Quiz
•
University
48 questions
CC104 - Midterm Exam (Week 9)

Quiz
•
University
43 questions
GCSE Computer Science - 2.1-2.2

Quiz
•
University
50 questions
SE UNIT -5 Advanced Software Maintenance Quiz

Quiz
•
University
48 questions
DAA_UNIT_4

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade