Stack and Its Applications Quiz

Stack and Its Applications Quiz

University

32 Qs

quiz-placeholder

Similar activities

Data Structures and  Its Applications

Data Structures and Its Applications

University

30 Qs

Basic programming

Basic programming

University

30 Qs

Informatika 8

Informatika 8

8th Grade - University

30 Qs

Arrays

Arrays

University

37 Qs

Array and Linked List ADT

Array and Linked List ADT

University

30 Qs

98-366 Lesson 2 OSI Model

98-366 Lesson 2 OSI Model

10th Grade - University

33 Qs

Web Dev MasterClass Day1

Web Dev MasterClass Day1

6th Grade - Professional Development

34 Qs

MIDTERM SW3 - FDP

MIDTERM SW3 - FDP

University

30 Qs

Stack and Its Applications Quiz

Stack and Its Applications Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Bhupi Saud

Used 4+ times

FREE Resource

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What is the principle followed by a stack?

First-in-first-out (FIFO)

Last-in-first-out (LIFO)

First-in-last-out (FILO)

Random access

2.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Which operation is used to insert an element into a stack?

Pop

Push

Enqueue

Dequeue

3.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What does it mean when a stack is in an overflow state?

It can accept more elements.

It has reached its maximum capacity.

It is completely full.

It is completely empty.

4.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Which of the following is NOT an application of stacks?

Expression evaluation

Undo operations in text editors

Page-visited history in web browsers

Task management

5.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What is the time complexity of the push operation in a stack?

O(n)

O(n^2)

O(log n)

O(1)

6.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

In which scenario would a stack be used?

To evaluate arithmetic expressions

To implement a queue

To store data in a sorted manner

To maintain a list of items in order

7.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

What is the result of the postfix expression '6 3 2 4 + - *'?

74

-18

40

1

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?