Search Header Logo

STACK

Authored by Sujitha Prajith

Computers

12th Grade

Used 3+ times

STACK
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?