STACK

STACK

12th Grade

9 Qs

quiz-placeholder

Similar activities

Coding Quiz 6

Coding Quiz 6

9th - 12th Grade

12 Qs

class 12 18/2/2022

class 12 18/2/2022

12th Grade

10 Qs

Uji Pemahaman Stack dan Queue

Uji Pemahaman Stack dan Queue

12th Grade

10 Qs

Data Structure

Data Structure

12th Grade

10 Qs

Stack -post test

Stack -post test

12th Grade

13 Qs

ADTypes

ADTypes

11th - 12th Grade

11 Qs

Infix, postfix and prefix expressions in stack

Infix, postfix and prefix expressions in stack

12th Grade

10 Qs

Linked List, Stack dan Queue

Linked List, Stack dan Queue

12th Grade

10 Qs

STACK

STACK

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Sujitha Prajith

Used 2+ times

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which statement is correct with respect to stack?

It is a non-linear data structure

Stack is a LIFO data structure

All the above

None of the Above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Choose correct output for the following sequence of operations

push(5)

push(8)

pop

push(2)

push(5)

pop

pop

pop

push(1)

pop

8 5 2 5 1

8 5 5 2 1

8 2 5 5 1

8 1 2 5 5

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Stack can be implemented using _________ and ________ ?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Only top element can be accessed in stack

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

LIFO stands for

List of Outputs

Last in First Out

First in Last Out

None of them

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Act of adding values into a stack is called

Popping

Polling

Pushing

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following operation performed on a stack of size 5.

Push(1);

Pop();

Push(2);

Push(3);

Pop();

Push(4);

Pop();

Pop();

Push(5);

After the completion of all operation, the no of element present on stack are

1

2

3

4

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

ABCD

DCBA

DCAB

ABDC

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If you carry out a pop operation on this stack what will you be left with?

Media Image
Media Image
Media Image