Stacks And Queues

Stacks And Queues

12th Grade

11 Qs

quiz-placeholder

Similar activities

TES SIKOLASTIK BAHASA

TES SIKOLASTIK BAHASA

12th Grade

10 Qs

Liste Chainée

Liste Chainée

12th Grade

10 Qs

Ciência de Dados - Cálculo da Probabilidade de Sucesso

Ciência de Dados - Cálculo da Probabilidade de Sucesso

12th Grade

10 Qs

XII Samacheer Computer Science

XII Samacheer Computer Science

12th Grade - University

10 Qs

Big O Notation CLC

Big O Notation CLC

12th Grade

8 Qs

Luyện tập

Luyện tập

KG - University

15 Qs

analysis of algorithm (lecture 2)

analysis of algorithm (lecture 2)

12th Grade

10 Qs

Year 12 Programming

Year 12 Programming

11th - 12th Grade

15 Qs

Stacks And Queues

Stacks And Queues

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Chris Butter

Used 1+ times

FREE Resource

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

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?