Queue

Quiz
•
Computers
•
University
•
Easy
Emely Lestari
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
C Program Array and strings

Quiz
•
University
8 questions
DSA Stack & Queue

Quiz
•
University
10 questions
DSA quiz

Quiz
•
University
10 questions
Seatwork HASH (Data Structure)

Quiz
•
University
10 questions
SQL Queries

Quiz
•
University
10 questions
Structure Data Review

Quiz
•
University - Professi...
10 questions
Queue

Quiz
•
University
10 questions
Pop Quiz 3 (DFC20203)

Quiz
•
University
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
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University