Stacks

Stacks

KG - Professional Development

17 Qs

quiz-placeholder

Similar activities

Stack & Queue

Stack & Queue

University

16 Qs

SORTING, STACK AND QUEUE

SORTING, STACK AND QUEUE

10th Grade

12 Qs

Data Structure

Data Structure

University

20 Qs

CHAPTER 3 : STACK

CHAPTER 3 : STACK

University

20 Qs

Arrays, lists, tuples, stacks and queues

Arrays, lists, tuples, stacks and queues

11th - 12th Grade

14 Qs

DATA STRUCTURES QUIZ

DATA STRUCTURES QUIZ

University

15 Qs

Berfikir Komputasional

Berfikir Komputasional

10th Grade

20 Qs

Sumatif (Berpikir Komputasional)

Sumatif (Berpikir Komputasional)

10th Grade

20 Qs

Stacks

Stacks

Assessment

Quiz

Specialty, Instructional Technology, Computers

KG - Professional Development

Medium

Created by

Christopher Owen

Used 157+ 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?