Understanding Stacks and Queues (revisiting)

Understanding Stacks and Queues (revisiting)

7th Grade

15 Qs

quiz-placeholder

Similar activities

Stack and queue

Stack and queue

7th Grade

10 Qs

Scratch

Scratch

7th - 8th Grade

17 Qs

Remedial SAS Informatika Fase D Kelas 7

Remedial SAS Informatika Fase D Kelas 7

7th Grade - University

20 Qs

Advanced CyberCamp Day 1 & 2 Review

Advanced CyberCamp Day 1 & 2 Review

KG - Professional Development

20 Qs

Hardware

Hardware

7th Grade

14 Qs

Minecraft

Minecraft

KG - Professional Development

13 Qs

ULANGAN HARIAN 2 INFORMATIKA KELAS 7

ULANGAN HARIAN 2 INFORMATIKA KELAS 7

7th Grade

20 Qs

Quiz 5 (28.07.2021)

Quiz 5 (28.07.2021)

1st - 12th Grade

10 Qs

Understanding Stacks and Queues (revisiting)

Understanding Stacks and Queues (revisiting)

Assessment

Quiz

Computers

7th Grade

Medium

Created by

B McCue

Used 16+ times

FREE Resource

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

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?