
QUEUES IN PYTHON

Quiz
•
Computers
•
11th Grade
•
Medium
Sunita Dash
Used 17+ times
FREE Resource
12 questions
Show all answers
1.
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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to add an element to a Queue?
dequeue()
enqueue()
push()
pop()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method is used to remove an element from a Queue?
dequeue()
enqueue()
push()
pop()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
One difference between stack and queue?
queues require dynamic memory,but stack do not
stacks use two ends of the structure,queue use only one
stacks requires dynamic memory ,but queues do not
queues uses two ends of the structure,stack use only one
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If FRONT= REAR then the queue is?
overflow
underflow
empty
null
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A data structure in which elements can be inserted or deleted at/from
both the ends but not in the middle is?
queue
circular queue
dequeue
priority queue
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Insertion in Queue is done at_____ end , and deletion is at _______ end
start, last
front, rear
rear, front
begin, stop
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
SLR4 | Data Structures with C# Examples

Quiz
•
11th Grade
17 questions
Stacks

Quiz
•
KG - Professional Dev...
15 questions
Quiz Struktur Data

Quiz
•
11th Grade
15 questions
SOAL ULANGAN HARIAN 1 TIK SEMESTER GENAP 2018-2019

Quiz
•
9th - 12th Grade
16 questions
GCSE Computer Science - Networks

Quiz
•
7th - 11th Grade
10 questions
Tes Diagnostik

Quiz
•
9th - 12th Grade
10 questions
Searching and Sorting Algorithms Quiz

Quiz
•
11th Grade
10 questions
Posttest Instalasi dan Konfigurasi Mail Server

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade