Search Header Logo

Stacks

Authored by Christopher Owen

Specialty, Instructional Technology, Computers

KG - Professional Development

Used 161+ times

Stacks
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?