
Python-Stacks & Queues
Authored by Shibi Anand
Computers
12th Grade
Used 262+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following usees FIFO method
Queue
stack
linklist
binary tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This form of access is used to add and remove nodes from a queue.
LIFO, Last In First Out
FIFO, First In First Out
Both a and b
none
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
........ form of access is used to add remove nodes from a stack.
4.
MULTIPLE CHOICE QUESTION
30 sec • 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 number of elements present on stack are
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following circular queue can accommodate a maximum six elements with the following data
front = 2 rear = 4
queue = ____; L ; M; N; ___; ___
What will happen after ADD O operation takes place?
front = 2 rear = 5
queue = ______; L, M, N, O, ___
ront = 3 rear = 5
queue = L, M, N, O, ___
front = 3 rear = 4
queue = ______; L, M, N, O, ___
ront = 2 rear = 4
queue = L, M, N, O, ___
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to add an element to a Queue?
dequeue()
enqueue()
push()
pop()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to add an element to a Stack?
dequeue()
enqueue()
push()
pop()
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
20 questions
Problem Solving Quiz
Quiz
•
6th Grade - University
19 questions
TechfestQuiz 2024
Quiz
•
9th - 12th Grade
20 questions
Name The Disney Animation Films
Quiz
•
KG - University
20 questions
Clean, Sanitize and Store Kitchen Tools and Equipment
Quiz
•
11th - 12th Grade
19 questions
Unit 6 - lesson 2 Network Topology
Quiz
•
10th - 12th Grade
20 questions
History of Package Design
Quiz
•
9th - 12th Grade
20 questions
Pointers
Quiz
•
12th Grade
21 questions
Google Sheets
Quiz
•
12th Grade
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