
Stacks and Queues

Quiz
•
Computers
•
12th Grade
•
Medium
Used 520+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following usees FIFO method
Queue
stack
linklist
binary tree
2.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 1 pt
4.
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 number of elements present on stack are
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
2 mins • 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()
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Analisis Struktur Data

Quiz
•
10th Grade - University
10 questions
Quiz Javascript Basic Pertemuan 3

Quiz
•
9th - 12th Grade
15 questions
Ψηφιακό Φροντιστήριο - Επανάληψη Ουράς

Quiz
•
12th Grade
13 questions
c++ last

Quiz
•
1st Grade - University
12 questions
The internet structure

Quiz
•
12th Grade
10 questions
Data Structures & Algorithms

Quiz
•
12th Grade
10 questions
Internet Structure and Protocol Layering Quiz

Quiz
•
12th Grade
15 questions
Berpikir Komputasional Informatika X

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade