Stack and Queue
Quiz
•
Computers, Other
•
Professional Development
•
Medium
Anshul Oza
Used 8+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Choose correct output for the following sequence of operations
push(5)
push(8)
pop
push(2)
push(5)
pop
pop
pop
push(1)
pop
8 5 2 5 1
8 5 5 2 1
8 2 5 5 1
8 1 2 5 5
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Only top element can be accessed in stack
TRUE
FALSE
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Consider the following operation performed on a stack of size 5.
Push(1);
Pop();
Push(2);
Push(3);
Pop();
Push(4);
Pop();
Pop();
Push(5);
After the completion of all operation, the no of element present on stack are
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
2 mins • 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
2 mins • 1 pt
If the elements “A”, “B”, “D” and “C” are placed in a stack and are deleted one at a time, in what order will they be removed?
ABCD
ABDC
CDBA
DCAB
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In linked list implementation of a queue, the important condition for a queue to be empty is?
FRONT is null
REAR is null
LINK is empty
None of the mentioned
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
26 questions
Special Logic Circuits
Quiz
•
10th Grade - Professi...
25 questions
SQL QUIZ
Quiz
•
Professional Development
25 questions
Human and Computer Interaction Part 2
Quiz
•
University - Professi...
25 questions
C Language Test 3
Quiz
•
Professional Development
25 questions
Tema 7: Constantes Vitales
Quiz
•
Professional Development
25 questions
Institute of Marine Technology,Bagerhat Portative Assessment
Quiz
•
Professional Development
25 questions
Front End Forge Final
Quiz
•
Professional Development
25 questions
Chicken Nuggets for Managers and CL
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween
Quiz
•
Professional Development
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
5 questions
11.4.25 Student Engagement & Discourse
Lesson
•
Professional Development
50 questions
ASL Colors and Clothes
Quiz
•
KG - Professional Dev...
15 questions
Ohms Law
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
