Stacks/Queues

Stacks/Queues

University

9 Qs

quiz-placeholder

Similar activities

UBL JARKOM CHAP10

UBL JARKOM CHAP10

University

10 Qs

Programación II Parte 5

Programación II Parte 5

University

10 Qs

QUIZ ON SCIENCE 6

QUIZ ON SCIENCE 6

6th Grade - University

10 Qs

Kuiz ICT Pi Kg Ranau

Kuiz ICT Pi Kg Ranau

1st Grade - Professional Development

10 Qs

Introducción a la estructura de datos

Introducción a la estructura de datos

University

10 Qs

ACR 105 Practical

ACR 105 Practical

University

10 Qs

workshop

workshop

University

10 Qs

Tuan 3 - Python

Tuan 3 - Python

KG - Professional Development

10 Qs

Stacks/Queues

Stacks/Queues

Assessment

Quiz

Computers, Science

University

Practice Problem

Medium

Created by

Dustyn Loyda

Used 160+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is FIFO?

Stack

Linked List

Queue

Inverse Queue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the stack contain after the following actions?

Push(1);

Push(2);

Push(3);

Push(4);

Pop();

Pop();

Push(5);

1, 2, 3

1, 2, 3, 5

1, 2, 3, 4, 5

1, 2, 5

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

To add an element to a Queue, you use the ________ () method.

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Convert the infix exression

(A + B) * (C + D)

to Postfix.

A B C * + D +

A B + C D + *

A B * C D * +

A B + C + D +

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is important when it comes to popping from a Stack?

IsFull()

canPop()

isEmpty()

peek()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Eevee

Squirtle

Pikachu

Psyduck

Bulbasaur

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

One difference between stack and queue?

Stacks require dynamic memory, but Queues do not

Stacks use two ends of the structure, Queues use only one

Queues require dynamic memory, but Stacks do not

Queues use two ends of the structure, Stacks use only on

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is LIFO?

Stack

Linked List

Queue

Inverse Queue

9.

OPEN ENDED QUESTION

3 mins • 1 pt

What's your favorite Pokemon?

Evaluate responses using AI:

OFF