1.A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as a ?

DS_WeeklyTest-4

Quiz
•
Computers
•
University
•
Easy

geetha rani
Used 6+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Queue
Stack
Tree
Linked list
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.A queue is a ?
FIFO (First In First Out) list
LIFO (Last In First Out) list.
Ordered array
Linear tree
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?
ABCD
DCBA
DCAB
ABCD
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. In the array implementation of circular queue, which of the following operation take worst case linear time?
Insertion
Deletion
To empty a queue
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.In linked list implementation of queue, if only front pointer is maintained, which of the following operation take worst case linear time?
Insertion
Deletion
To empty a queue
Both a) and c)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6.If the MAX_SIZE is the size of the array used in the implementation of circular queue. How is rear manipulated while inserting an element in the queue?
rear=(rear%1)+MAX_SIZE
rear=rear%(MAX_SIZE+1)
rear=(rear+1)%MAX_SIZE
rear=rear+(1%MAX_SIZE)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7.If the MAX_SIZE is the size of the array used in the implementation of circular queue, array index start with 0, front point to the first element in the queue, and rear point to the last element in the queue. Which of the following condition specify that circular queue is FULL?
Front=rear= -1
Front=(rear+1)%MAX_SIZE
Rear=front+1
Rear=(front+1)%MAX_SIZE
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Brain byte Prelims

Quiz
•
University
30 questions
Data Structure & Algorithm-Quiz-1

Quiz
•
University
30 questions
MCA-101 QUIZ

Quiz
•
University
30 questions
Roll-a-coaster

Quiz
•
University
25 questions
Data Strucuture & Python

Quiz
•
University
30 questions
QUEUE DATA STRUCTURE

Quiz
•
University
25 questions
Aptitude Competition(SY)

Quiz
•
University
26 questions
WWW Quiz at Web3SSH by Dr. Rajendra Prasanth

Quiz
•
University
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University