Search Header Logo

Stack_Exception_handling

Authored by Sonia Shah

Computers

12th Grade

Used 4+ times

Stack_Exception_handling
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Stack is a linear data structure in which insertion and deletion is done from one end oly, which is referred to as ______________

Index

End

Top

Center

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Stack follows __________________ principle in which the element that is inserted first on the stack is the last one to be removed.

FIFO (Follow If First one)

FIFO (First In First OUT)

LIFO (Later IF First One)

LIFO(Last In First Out)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of adding element to a stack is known as:

append

insert

pop

push

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

pop () removes ______________ element of the list

first

random

last

Can not remove

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a user tries to remove an element from empty Stack, it is called:

Empty Collection

Overflow

Underflow

Garbage Collection

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the follows the principle of stack?

One way traffic

A line of ticket seeking people

A stack of dinner plates

All of these

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 number of elements present in 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?