
ADS Quiz 5

Quiz
•
Computers
•
University
•
Easy
Naman Chauhan
Used 1+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure is used to implement a queue?
Array
Linked List
Both A and B
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A queue follows which principle?
LIFO
FILO
FIFO
LILO
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic operations of a queue?
insert, delete
enqueue, dequeue
push, pop
add, remove
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the condition for queue overflow in an array implementation?
rear < max
rear = max - 1
front > rear
front = rear
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pointer in a queue indicates the position from where element is deleted?
rear
front
mid
temp
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In array implementation, initially front and rear are set to:
0
-1
1
null
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation will be used to add an element to the queue?
enqueue
pop
insert
addNode
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
CPSC 131 midterm review

Quiz
•
University
50 questions
Quiz

Quiz
•
University
50 questions
Self Assessment on Stacks & Queues

Quiz
•
University
50 questions
DSU MCQ on Stacks & Queues

Quiz
•
University
50 questions
Module 9

Quiz
•
University
50 questions
Data Structures Quiz

Quiz
•
University
48 questions
DS Final Review

Quiz
•
University
51 questions
Data Structures and Algorithm - Final Examinations Quiz

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade