Stack_Exception_handling

Stack_Exception_handling

12th Grade

20 Qs

quiz-placeholder

Similar activities

Data structure test1

Data structure test1

12th Grade

20 Qs

XII_REVISION FOR FIRST UNIT TEST

XII_REVISION FOR FIRST UNIT TEST

12th Grade

15 Qs

Data Structures using C

Data Structures using C

12th Grade - University

20 Qs

Stack Linear /Binary Searching

Stack Linear /Binary Searching

12th Grade

15 Qs

DATA STRUCTURES

DATA STRUCTURES

12th Grade

20 Qs

20.2 File Processing and Exception Handling Cambridge iA 9618

20.2 File Processing and Exception Handling Cambridge iA 9618

12th Grade

20 Qs

المكدس والطابور

المكدس والطابور

12th Grade

20 Qs

Pearson 1CP2 - 4.1 - TCP/IP and Protocols

Pearson 1CP2 - 4.1 - TCP/IP and Protocols

9th - 12th Grade

20 Qs

Stack_Exception_handling

Stack_Exception_handling

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Sonia Shah

Used 4+ times

FREE Resource

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

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?