Search Header Logo

Stacks And Queues

Authored by Chris Butter

Computers

12th Grade

Used 1+ times

Stacks And Queues
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a stack?

A data structure that follows a last-in, first-out (LIFO) order
A data structure that follows a first-in, first-out (FIFO) order
A data structure that follows a random order
A data structure that follows a sorted order
A data structure that follows a reverse-sorted order

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a queue?

A data structure that follows a first-in, first-out (FIFO) order
A data structure that follows a last-in, first-out (LIFO) order
A data structure that follows a random order
A data structure that follows a sorted order
A data structure that follows a reverse-sorted order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is more suitable for implementing a print spooler?

Queue
Stack
Tree
Graph
Array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation adds an element to the top of a stack?

Push
Pop
Enqueue
Dequeue
Peek

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation removes an element from the top of a stack?

Pop
Push
Enqueue
Dequeue
Peek

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation adds an element to the back of a queue?

Enqueue
Dequeue
Push
Pop
Peek

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation removes an element from the front of a queue?

Dequeue
Enqueue
Push
Pop
Peek

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?