
Quiz on Data Structures
Authored by Muhammad Rizwan
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between a stack and a queue?
Stack uses FIFO and Queue uses LIFO
Stack uses LIFO and Queue uses FIFO
Both use FIFO
Both use LIFO
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which traversal of a binary tree gives sorted output for Binary Search Trees?
Pre-order
Post-order
In-order
Level-order
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many children can a node in a tree have at most?
1
2
3
Infinite
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What property must a binary tree satisfy to be called a Binary Search Tree?
Each node has two children
All leaves are on the same level
Left child < parent < right child
Nodes store only even numbers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which rotation is used to balance an AVL Tree in a Left-Right (LR) imbalance?
Single Right Rotation
Single Left Rotation
Left-Right Rotation
Right-Left Rotation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of insertion in an AVL Tree in the worst case?
O(n)
O(log n)
O(n log n)
O(1)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a queue, from where is the element added(enqueue operation)?
Front
Rear
Middle
Any position
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
TEKNIK LAYANAN JARINGAN
Quiz
•
University
10 questions
Mobile Commerce P11
Quiz
•
University
13 questions
Principles of Programming
Quiz
•
KG - University
10 questions
Mobile IP and WAP
Quiz
•
University
15 questions
Data Mining
Quiz
•
University
14 questions
CIS 1103 Week 7_8 CLO3 (Part 2)
Quiz
•
University
10 questions
Computer Networks quiz
Quiz
•
University
11 questions
Understanding Image Representation and Compression
Quiz
•
10th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University