Stack and Queue Concepts

Stack and Queue Concepts

University

25 Qs

quiz-placeholder

Similar activities

Deadlock

Deadlock

University

25 Qs

ASD - B

ASD - B

University

20 Qs

Data Visualization CT-5

Data Visualization CT-5

University

20 Qs

Manajemen Proyek di Industri Fabrikasi

Manajemen Proyek di Industri Fabrikasi

University

29 Qs

TAFL Unit 1 Quiz: Finite Automata

TAFL Unit 1 Quiz: Finite Automata

University

20 Qs

Understanding 8085 and 8086 Microprocessors

Understanding 8085 and 8086 Microprocessors

University

20 Qs

Exploring 8086 Architecture and Operations

Exploring 8086 Architecture and Operations

University

20 Qs

Quiz on ARM Cortex-M4 Microcontroller

Quiz on ARM Cortex-M4 Microcontroller

University

25 Qs

Stack and Queue Concepts

Stack and Queue Concepts

Assessment

Quiz

Engineering

University

Practice Problem

Medium

Created by

Shabariram P

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?