Quiz 2 - Stack

Quiz 2 - Stack

University

12 Qs

quiz-placeholder

Similar activities

Stacks/Queues

Stacks/Queues

University

9 Qs

Struktur Data Mini Quiz

Struktur Data Mini Quiz

University

15 Qs

Quiz 1 Stack [Pre-Test]

Quiz 1 Stack [Pre-Test]

11th Grade - University

15 Qs

STACK - [UJI UAS ALS]

STACK - [UJI UAS ALS]

University

10 Qs

Unit 14: Abstract

Unit 14: Abstract

University

8 Qs

Data Structure Revision Continuous

Data Structure Revision Continuous

University

10 Qs

Stack & Queue

Stack & Queue

University

10 Qs

QUIZ 1 DS1E

QUIZ 1 DS1E

University

10 Qs

Quiz 2 - Stack

Quiz 2 - Stack

Assessment

Quiz

Computers

University

Medium

Created by

Eben Sophia Paul

Used 13+ 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?