Stacks And Queues

Stacks And Queues

12th Grade

11 Qs

quiz-placeholder

Similar activities

A Level CS 2.3: Algorithms - Analysis & Design

A Level CS 2.3: Algorithms - Analysis & Design

12th Grade

16 Qs

DATA STRUCTURES

DATA STRUCTURES

12th Grade

10 Qs

Big O Notation Revision

Big O Notation Revision

12th Grade

12 Qs

Priority Queues and Heaps

Priority Queues and Heaps

9th - 12th Grade

10 Qs

Algorithm Complexity Quiz

Algorithm Complexity Quiz

9th - 12th Grade

10 Qs

Data Structure

Data Structure

12th Grade - University

15 Qs

Data Structure - Queue

Data Structure - Queue

9th Grade - University

8 Qs

A-Level Computer Science Data Structures Quiz

A-Level Computer Science Data Structures Quiz

12th Grade - University

14 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?

Discover more resources for Computers