Search Header Logo

MCQs on Stacks and Queues

Authored by Ipsita Hota

Other

University

MCQs on Stacks and Queues
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A stack is also called as:

FIFO list

LIFO list

Random access list

Priority list

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is not an application of stack?

Expression evaluation

Function call management

Round Robin Scheduling

Infix to Postfix conversion

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

Push

Pop

Enqueue

Dequeue

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which operation is used to remove the top element from a stack?

Push

Pop

Peek

Insert

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The array representation of stack requires maintaining a variable called:

Head

Tail

Front

Top

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The time complexity of Push and Pop operations on a stack is:

O(1)

O(n)

O(log n)

O(n log n)

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Infix expression: (A + B) * (C - D) converted to postfix is:

AB+CD-*

AB+*CD-

ABCD+-*

A+B*C-D

Access all questions and much more by creating a free account

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?