Stack MCQ Quiz

Stack MCQ Quiz

University

37 Qs

quiz-placeholder

Similar activities

Risk Assessment Quiz

Risk Assessment Quiz

12th Grade - University

40 Qs

Introduction Civil Engineering Mid-Sem

Introduction Civil Engineering Mid-Sem

University

35 Qs

 Hardware Quiz - Basic 01 to Basic 02

Hardware Quiz - Basic 01 to Basic 02

University

40 Qs

Measurement and Inspection Quiz

Measurement and Inspection Quiz

University

40 Qs

FT1_VLSI

FT1_VLSI

University

40 Qs

Management Quiz

Management Quiz

University

35 Qs

quiz1

quiz1

University

38 Qs

Gas Measurement and Safety Quiz

Gas Measurement and Safety Quiz

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?