Search Header Logo

Understanding Stacks and Queues (revisiting)

Authored by B McCue

Computers

7th Grade

Used 19+ times

Understanding Stacks and Queues (revisiting)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data structure is described as last in, first out (LIFO)?

Stack

Queue

Linked List

Array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operation adds an item to the top of a stack?

Pop

Enqueue

Push

Dequeue

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you try to pop an item from an empty stack?

Stack Underflow

Queue Overflow

Stack Overflow

Queue Underflow

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a use case for stacks?

Process scheduling

Performing depth-first searches

Tracking program execution

Evaluating mathematical expressions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is it called when a new item is added to a full queue?

Stack Underflow

Queue Underflow

Queue Overflow

Stack Overflow

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure operates on a first in, first out (FIFO) basis?

Stack

Queue

Array

Tree

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for viewing the top item of a stack without removing it?

Popping

Pushing

Peeking

Peering

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?