STACK

STACK

12th Grade

9 Qs

quiz-placeholder

Similar activities

Stack Data Structures MCQ

Stack Data Structures MCQ

12th Grade

9 Qs

SDF Q4 U2

SDF Q4 U2

12th Grade

12 Qs

Arrays, lists, tuples, stacks and queues

Arrays, lists, tuples, stacks and queues

11th - 12th Grade

14 Qs

Stacks

Stacks

11th - 12th Grade

7 Qs

Stack #1

Stack #1

12th Grade

10 Qs

python stack

python stack

12th Grade

10 Qs

Tes Sumatif

Tes Sumatif

9th - 12th Grade

8 Qs

SMTP, POP, and IMAP

SMTP, POP, and IMAP

12th Grade

12 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