
Stack and Queue
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Fakhitah Ridzuan
Used 5+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
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
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Are stacks FIFO or FILO?
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A queue of characters currently contained a,b,c,d. What would be the contents of queue after the following operationDELETE, ADD W, ADD X, DELETE, ADD Y.
A,B,C,W,Y
A,B,C,D,W
C,D,W,X,Y
W,Y,X,C,D
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If front=rear ,then the queue is?
full
undeflow
overflow
empty
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the term for inserting into a full queue known as?
underflow
overflow
front
rear
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Only top element can be accessed in stack
TRUE
FALSE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
LIFO stands for
List of Outputs
Last in First Out
First in Last Out
None of them
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
DATA STRUCTURE QUIZ 1- INTRO TO DATA STRUCTURES
Quiz
•
University
8 questions
Windows Updates
Quiz
•
9th Grade - Professio...
10 questions
6-文件操作
Quiz
•
University
10 questions
Listen in Python
Quiz
•
University
10 questions
Arquitetura IPv6
Quiz
•
1st Grade - University
15 questions
Round 2 Debug-The-Code
Quiz
•
University
10 questions
SOAL TIK 01
Quiz
•
University
10 questions
DS Quiz1
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
