Data Structure & Algorithm-Quiz-1

Quiz
•
Computers
•
University
•
Hard
K Hemant Reddy
Used 36+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Stack is also called as
Last in first out
First in last out
Last in last out
First in first out
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Let the following circular queue can accommodate maximum six elements with the following data front = 2 rear = 4 queue = _______; L, M, N, ___, ___ What will happen after ADD O operation takes place?
a) front = 2 rear = 5
queue = ______; L, M, N, O, ___
b) front = 3 rear = 5
queue = L, M, N, O, ___
c) front = 3 rear = 4
queue = ______; L, M, N, O, ___
d) front = 2 rear = 4
queue = L, M, N, O, ___
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structure is non linear type?
string
List
stack
graph
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the data structure which allows deletions at both ends of the list but insertion at only one end.
Input restricted dequeue
Output restricted dequeue
Priority queues
Linear queue
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the following data and specify which one is Preorder Traversal Sequence, Inorder and Postorder sequences.
S1: N, M, P, O, Q
S2: N, P, Q, O, M
S3: M, N, O, P, Q
a) S1 is preorder, S2 is inorder and S3 is postorder
b) S1 is inorder, S2 is preorder and S3 is postorder
c) S1 is inorder, S2 is postorder and S3 is preorder
d) S1 is postorder, S2 is inorder and S3 is preorder
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement about binary tree is CORRECT?
a) Every binary tree is either complete or full
b) Every complete binary tree is also a full binary tree
c) Every full binary tree is also a complete binary tree
d) A binary tree cannot be both complete and full
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
For the tree below, write the pre-order traversal.
2, 7, 5, 2, 6, 9, 5, 11, 4
2, 7, 2, 6, 5, 11, 5, 9, 4
2, 5, 11, 6, 7, 4, 9, 5, 2
2, 7, 5, 6, 11, 2, 5, 4, 9
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Quiz Data Structures unit II

Quiz
•
University
25 questions
Data Structures 1

Quiz
•
University
29 questions
3. Section 2: Kubernetes Overview

Quiz
•
University
25 questions
Data Structures Quiz Unit III

Quiz
•
University
32 questions
1. Section 6: Cluster Maintenance (1-10)

Quiz
•
University
30 questions
Preliminary Examination on Intelligent Systems

Quiz
•
University
30 questions
DS_WeeklyTest-4

Quiz
•
University
25 questions
CHAPTER 4- QUEUES

Quiz
•
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
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
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University