Which of the following usees FIFO method

Stacks and Queues

Quiz
•
Computers
•
12th Grade
•
Medium
Used 519+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
11 questions
1.4.(c) Data Structures (video)

Quiz
•
12th Grade
15 questions
Pemrograman Berorientasi Objek PAS GANJIL XII RPL

Quiz
•
12th Grade
10 questions
Berfikir Komputesional

Quiz
•
9th - 12th Grade
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
17 questions
Stacks

Quiz
•
KG - Professional Dev...
10 questions
Data Types Quiz

Quiz
•
12th Grade
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
10 questions
Tes Diagnostik

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade