Search Header Logo

Quiz 2 - Stack

Authored by Eben Sophia Paul

Computers

University

Used 13+ times

Quiz 2 - Stack
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a stack, if a user tries to remove an element from empty stack it is called _________

Underflow

Empty collection

Overflow

Garbage Collection

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Process of inserting an element in stack is called ____________

Create

Push

Evaluation

Pop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

User perform following operations on stack of size 5 then -

push(1);

pop();

push(2);

push(3);

pop();

push(2);

pop();

pop();

push(4);

pop();

pop();

push(5);

Overflow Occurs

Stack Operations will be performed Smoothly

Underflow Occurs

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is an application of Stack Data Structure?

Managing function calls

The Knight-Tour problem

Maze Problem

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List of data in which element can be inserted and removed at the same end is called as __________.

array

stack

linked list

queue

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an application of stack?

Job scheduling

Undo-redo feature

Balancing of symbols

Tower of hanoi

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

The stack uses which policy out of the following

LIFO

FIFO

FILO

NONE

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?