Stacks

Stacks

KG - Professional Development

17 Qs

quiz-placeholder

Similar activities

GEMATMW - Cryptography

GEMATMW - Cryptography

University - Professional Development

16 Qs

CID421

CID421

University

20 Qs

Debugging Challenge 2

Debugging Challenge 2

7th - 12th Grade

15 Qs

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Cycle 4: Session 8 Review.

Cycle 4: Session 8 Review.

Professional Development

12 Qs

DT G5 Revision_2

DT G5 Revision_2

5th Grade

20 Qs

3rd week g9 summative

3rd week g9 summative

7th - 12th Grade

15 Qs

JAVA IDENTIFIERS

JAVA IDENTIFIERS

6th - 8th Grade

14 Qs

Stacks

Stacks

Assessment

Quiz

Specialty, Instructional Technology, Computers

KG - Professional Development

Practice Problem

Medium

Created by

Christopher Owen

Used 159+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which condition does stack apply?

FILO

LIFO

FIFO

LILO

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Only top element can be accessed in stack

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operation to add values into stack is called

Push

Pop

None

Empty

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operation to remove an element from the stack

Pop

Push

Create

Emplace

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operation that returns the topmost element of the stack

Top

Empty

Size

Swap

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operation to construct and insert new element to the top of the stack

Emplace

Top

Push

Size

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If the sequence of operations

push(1)

push(3)

pop

push(2)

push(2)

pop

pop

pop

push(3)

pop

are performed on a stack, the order of popped out values

3, 2, 2, 3, 1

3, 2, 1, 3, 2

2, 3, 2, 3, 1

1, 3, 2, 2, 3

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?