Quiz 2 - Stack

Quiz 2 - Stack

University

12 Qs

quiz-placeholder

Similar activities

Quiz 12: Templates, STL

Quiz 12: Templates, STL

University

10 Qs

Stack??

Stack??

University

15 Qs

Data Structure

Data Structure

University

14 Qs

Data Structures

Data Structures

University

10 Qs

data structure

data structure

University

15 Qs

Demo DS-A ASHV Quiz

Demo DS-A ASHV Quiz

University

17 Qs

Stack

Stack

University

15 Qs

QUEUE

QUEUE

University

17 Qs

Quiz 2 - Stack

Quiz 2 - Stack

Assessment

Quiz

Computers

University

Medium

Created by

Eben Sophia Paul

Used 12+ times

FREE Resource

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

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?