
Stack and Queue

Quiz
•
Computers
•
Professional Development
•
Hard
Prashant Soni
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as a ?
Queue
Stack
Tree
Linked list
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A queue follows __________
FIFO (First In First Out) principle
LIFO (Last In First Out) principle
Ordered array
Linear tree
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Circular Queue is also known as ________
Ring Buffer
Square Buffer
Rectangle Buffer
Curve Buffer
4.
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?
ABCD
DCBA
DCAB
ABDC
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A data structure in which elements can be inserted or deleted at/from both the ends but not in the middle is?
Queue
Circular queue
Dequeue
Priority queue
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A normal queue, if implemented using an array of size MAX_SIZE, gets full when
Rear = MAX_SIZE – 1
Front = (rear + 1)mod MAX_SIZE
Front = rear + 1
Rear = front
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Queues serve major role in ______________
Simulation of recursion
Simulation of arbitrary linked list
Simulation of limited resource allocation
Simulation of heap sort
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Java: знакомство и как пользоваться базовыми АПИ - семинар 4

Quiz
•
Professional Development
7 questions
SNS Plus

Quiz
•
Professional Development
10 questions
Quiz String

Quiz
•
Professional Development
12 questions
Operating Systems

Quiz
•
Professional Development
6 questions
AWS Architect Class 10

Quiz
•
Professional Development
10 questions
DSA + System Design - 7

Quiz
•
Professional Development
10 questions
AWS SQS and SNS Quiz

Quiz
•
Professional Development
15 questions
JF UIT 2022 - Game 3

Quiz
•
Professional Development
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