Stack MCQ Quiz

Stack MCQ Quiz

University

37 Qs

quiz-placeholder

Similar activities

FT1-21ECC303T

FT1-21ECC303T

University

40 Qs

Group 3

Group 3

University

36 Qs

VLSI unit-1

VLSI unit-1

University

40 Qs

21ECC303T - VLSI Design and Technology

21ECC303T - VLSI Design and Technology

University

40 Qs

sudhikssha

sudhikssha

University

40 Qs

Hydraulics MCQ Practice Questions

Hydraulics MCQ Practice Questions

University

40 Qs

FT1_VLSI_Quiz

FT1_VLSI_Quiz

University

40 Qs

VLSI Test Batch 2

VLSI Test Batch 2

University

40 Qs

Stack MCQ Quiz

Stack MCQ Quiz

Assessment

Quiz

Engineering

University

Hard

Created by

Divyanshu Sinha

Used 1+ times

FREE Resource

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following infix expressions is obtained on converting the postfix expression A B - C + D E F - + $?

A - B + C $ D + E – F

A - B + C + D $ E – F

A - B $ C + D + E – F

More than one of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which element would get first deleted from the stack?

More than one of the above

The element at the bottom of the stack

The element in the middle of the stack

The element at the top of the stack

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which is true for 'x in y' membership operator expression used in Python?

Returns true if a sequence with the specified value is not present in the object

Returns true if a sequence with the specified value is present in the object

Returns true if both variables are not the same object

Returns true if both variables are the same object

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A stack is a linear data structure in which data is stored and retrieved in a:

Last Out First In (LOFI)

Last Out Last In (LOLI)

Last In First Out (LIFO)

First In First Out (FIFO)

5.

OPEN ENDED QUESTION

45 sec • 1 pt

Arrange the following prefix expressions based on their values in increasing order:

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the postfix representation of the following infix expression? (A + B) * C – D * E / F

A B + C – D E * F / *

A B + C * D E * F / -

A B * C + D E * F / -

A B + C * D E * F - /

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the outcome of the prefix expression +, -, *, 3, 2, /, 8, 4, 1?

14

11

5

12

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?