Stack and Queue Concepts

Stack and Queue Concepts

University

25 Qs

quiz-placeholder

Similar activities

Algorithm UNIT Quiz

Algorithm UNIT Quiz

University

30 Qs

Web Development with MERN

Web Development with MERN

University

20 Qs

Exploring the 8086 Microprocessor

Exploring the 8086 Microprocessor

University

25 Qs

Computer Architecture Quiz_1

Computer Architecture Quiz_1

University

20 Qs

Club Excel - Core Member Recruitment 2K25

Club Excel - Core Member Recruitment 2K25

University

20 Qs

Techsaavy Codeathon 2k25 Round 1

Techsaavy Codeathon 2k25 Round 1

University

25 Qs

Logo Thon Quiz Competition

Logo Thon Quiz Competition

University

20 Qs

MCQs on Graph Representation and Traversal

MCQs on Graph Representation and Traversal

University

30 Qs

Stack and Queue Concepts

Stack and Queue Concepts

Assessment

Quiz

Engineering

University

Medium

Created by

Shabariram P

Used 8+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about a stack?

FIFO

LIFO

Random access

Both FIFO and LIFO

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The time complexity of push and pop operations in a stack implemented using a linked list is:

O(1)

O(n)

O(log n)

O(n²)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following applications uses a stack?

Undo functionality in text editors

CPU scheduling

BFS traversal

Priority queue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when a stack overflows?

Memory leaks

Stack exceeds its capacity

Stack underflow

Program terminates gracefully

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used for expression evaluation and syntax parsing?

Queue

Stack

Linked list

Graph

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Postfix expression evaluation using a stack has a time complexity of:

O(n²)

O(n)

O(log n)

O(n log n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following stack operations? `push(10), push(20), pop(), push(30), pop()`

10

20

30

10 and 30

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?