Quiz 2 - Stack

Quiz 2 - Stack

University

12 Qs

quiz-placeholder

Similar activities

The DSA Adventure - Day 5

The DSA Adventure - Day 5

University

12 Qs

DataStructure

DataStructure

University

15 Qs

Data Structure Quiz

Data Structure Quiz

University - Professional Development

10 Qs

stack

stack

University

10 Qs

Stacks

Stacks

KG - Professional Development

17 Qs

unit-2 stack

unit-2 stack

University

10 Qs

CCT1 Data Structure B.Sc.II

CCT1 Data Structure B.Sc.II

University

11 Qs

Quiz on Stacks and Data Structures 2

Quiz on Stacks and Data Structures 2

University

10 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?