Queue

Queue

Professional Development

20 Qs

quiz-placeholder

Similar activities

Abstract Data Type - A Level

Abstract Data Type - A Level

12th Grade - Professional Development

20 Qs

Think it through

Think it through

University - Professional Development

16 Qs

Season 2 #Spaic Python Weekly Quiz

Season 2 #Spaic Python Weekly Quiz

KG - Professional Development

20 Qs

Mid Test React JS

Mid Test React JS

Professional Development

25 Qs

Excel untuk Pemula

Excel untuk Pemula

Professional Development

20 Qs

DS 1 & 2 Units(2025)

DS 1 & 2 Units(2025)

Professional Development

20 Qs

Data Structures and Algorithms Quiz No.1

Data Structures and Algorithms Quiz No.1

1st Grade - Professional Development

15 Qs

CCNP-Route-Post-Assessment

CCNP-Route-Post-Assessment

Professional Development

15 Qs

Queue

Queue

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a queue in Java?
A data structure for FIFO operations
A collection of unordered elements
A type of array
A method for sorting

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How to create a queue in Java?
Using ArrayList
Using LinkedList
Using queue() method
Using new Queue()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the difference between ArrayList and queue in Java?
None
ArrayList is unordered, queue is ordered
ArrayList is LIFO, queue is FIFO
ArrayList doesn't store elements, queue stores elements

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is queue a class in JDK?
Yes
No

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the 4 types of queue?
Priority, Linked, Double-ended, Circular
LIFO, FIFO, Circular, Linear
Circular, Priority, Linked, Linear
LIFO, FIFO, Circular, Priority

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is queue a LIFO or FIFO?
LIFO
FIFO

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is queue and stack?
Same concepts
Both are data structures
Queue: FIFO, Stack: LIFO
Queue: LIFO, Stack: FIFO

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?