Stacks

Stacks

KG - Professional Development

17 Qs

quiz-placeholder

Similar activities

Stack & Queue

Stack & Queue

KG - University

16 Qs

Python-Stacks & Queues

Python-Stacks & Queues

12th Grade

22 Qs

Data Structures and Algorithms Quiz

Data Structures and Algorithms Quiz

University

17 Qs

Data Structures- Introduction

Data Structures- Introduction

University

20 Qs

Stack DS1

Stack DS1

University

17 Qs

Stack

Stack

12th Grade

20 Qs

Topic 3 (Stacks)

Topic 3 (Stacks)

1st - 12th Grade

20 Qs

Data Structure

Data Structure

University

20 Qs

Stacks

Stacks

Assessment

Quiz

Specialty, Instructional Technology, Computers

KG - Professional Development

Medium

Created by

Christopher Owen

Used 154+ times

FREE Resource

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

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?