
Queue
Authored by Emely Lestari
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The general principle of queue is
First in and last out
When do pop, top element is removed
First in and first out
Use push to remove element
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
With alternative-3 implementation of queue (circular), if tail is at the last element then add a new element will be located in:
in the random position
the last position
the first position
in the middle position
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
With naive implementation (alternative-1) of Queue:
Back never moves when delete element
Front never moves when delete element
All element always move when delete element
Back never moves when add element
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
With alternative-3 implementation of queue (circular):
Front moves when delete element
Back moves when delete element
No element moves when add or delete element
Back and front move when delete element
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
With alternative-2 implementation of Queue (move when necessary):
Back never moves when add element
Back never moves when delete element
All elements do not move when delete element except if the back is in the last position
Front always moves when delete element
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
10 questions
TOPIC 1 COMPUTER NETWORK
Quiz
•
University
10 questions
International Law in Cyberspace
Quiz
•
University
10 questions
PLANNING AND PREPARING FOR MAINTAINANCE
Quiz
•
University
10 questions
Unit 24 - Java Basics
Quiz
•
University
7 questions
Backup, Restore, and Recovery
Quiz
•
9th Grade - University
10 questions
HW6 Chapter 6 PLC
Quiz
•
University
10 questions
e-commerce security TRUE/FALSE Quiz
Quiz
•
University - Professi...
10 questions
FST Class 2023- Quiz 2
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