Stack and Its Applications Quiz

Stack and Its Applications Quiz

University

32 Qs

quiz-placeholder

Similar activities

Final Review - CS125 Part 2

Final Review - CS125 Part 2

University

27 Qs

Data structures:  Chapter 2| 1

Data structures: Chapter 2| 1

University

34 Qs

Flareup CSI

Flareup CSI

12th Grade - University

30 Qs

Internship WebDevelopment Quiz

Internship WebDevelopment Quiz

12th Grade - University

30 Qs

Data Structures Priliminary

Data Structures Priliminary

University

30 Qs

Stack Quiz (BSIS 2-A)

Stack Quiz (BSIS 2-A)

University

35 Qs

OOPS Live Quiz

OOPS Live Quiz

University

28 Qs

MAWD 1.01 B

MAWD 1.01 B

KG - University

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