
Queues
Authored by Gautam Gupta
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
A queue follows __________.
First In Last Out
First In First Out
Last In First Out
2.
FILL IN THE BLANK QUESTION
20 sec • 5 pts
If elements are inserted in the order -10,-2,-3,4,-1,6 in a queue, then to delete value -3 how many dequeue operations are required?
3.
MULTIPLE CHOICE QUESTION
1 min • 10 pts
What does this function do in general?
Keeps the Q same as it was before the call i.e. no chnage observed.
Remove the last element of the Q.
Reverse the Q.
Empty the Q.
4.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
In Queue Insertion & Deletion take place at ________________.
same end
first end
different end
last end
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
A queue of characters currently contained A, B, C, D.
What would be the contents of queue after the following operation : DELETE, ADD W, ADD X, DELETE, ADD Y.
A,B,C,W,Y
A,B,C,D,W
C,D,W,X,Y
W,Y,X,C,D
6.
MULTIPLE SELECT QUESTION
45 sec • 10 pts
Which of the following application(s) is/are related to Queue Data Structure? There can be more than one correct answer.
Load Balancing
BFS (Breath First Search)
Recursion
Printer Spooling
Undo and Redo mechanism in text editors.
7.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
"Queue" is a queue data structure that stores integers. What does the function fun do?
Prints numbers from 0 to n-1
Prints numbers from n-1 to 0
Prints first n Fibonacci numbers
Prints fibonacci numbers between 0 and n-1
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Quiz 2 - Stack
Quiz
•
University
8 questions
HCI Week 7
Quiz
•
University
10 questions
Quiz despre B Tree
Quiz
•
University
10 questions
UTB - FCNS 221PB
Quiz
•
University
11 questions
DSA Diaries 2.0
Quiz
•
University
10 questions
Troubleshooting and Computer Maintenance Quiz
Quiz
•
University
10 questions
Pruebas Diagnótica - Api RestFul
Quiz
•
University
10 questions
Introduction à la gestion de projet (Rappel)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade