Queue

Queue

University

10 Qs

quiz-placeholder

Similar activities

Chapter 8: Developing Business IT Solutions

Chapter 8: Developing Business IT Solutions

University

10 Qs

QUIZ KEJAHATAN DUNIA MAYA

QUIZ KEJAHATAN DUNIA MAYA

University

12 Qs

Data Visualization with Qlik Cloud

Data Visualization with Qlik Cloud

University

10 Qs

Mobile Programming - POCC

Mobile Programming - POCC

University

15 Qs

DBMS Group 8 Review Quiz

DBMS Group 8 Review Quiz

University

15 Qs

HCI GOMS quiz

HCI GOMS quiz

University

15 Qs

ViewSonic LCD Training

ViewSonic LCD Training

12th Grade - University

15 Qs

İstifadəçi interfeysi

İstifadəçi interfeysi

University

15 Qs

Queue

Queue

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Nayli Zayani

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Queue is a First In and First Out data structure

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is correct for ' enqueue( ) '

Remove element from the front

Check if the queue is empty

Check if the queue is full

Add element to the tail

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which one is correct for ' dequeue( ) '

Removes the front element from the queue.
Peeks at the front element without removing it.
Adds an element to the back of the queue.
Clears all elements from the queue.

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the similarity for ' peek( ) ' and ' element( ) '

Both methods allow access to elements without removal.
'peek()' returns the first element only.
'element()' can only be used on empty collections.
Both methods remove elements from the collection.

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Select the situations that a Queue data structure would be used?


Printer in a room full of computers

Characters typed on a keyboard

Back button

Undo button

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When to call this method ?

' empty( ) '

Check whether the queue is empty or not

Check whether the queue is full or not

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Queue Insertion & Deletion take place at ________________.

same end

different end

first end

last end

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?