Stack MCQ Quiz

Stack MCQ Quiz

University

37 Qs

quiz-placeholder

Similar activities

Aircraft and Physics

Aircraft and Physics

University

40 Qs

L2 C4 PNEUMATIC SYSTEM

L2 C4 PNEUMATIC SYSTEM

University

40 Qs

Hydroelectric Power

Hydroelectric Power

10th Grade - University

32 Qs

monthly test december 2024

monthly test december 2024

12th Grade - University

40 Qs

Flight: The Aerodynamics Behind Aircraft

Flight: The Aerodynamics Behind Aircraft

10th Grade - University

37 Qs

Câu hỏi về Điện trường và Dòng điện

Câu hỏi về Điện trường và Dòng điện

11th Grade - University

35 Qs

Instrumentation L2: Temperature, Pressure, Level, and Flow #4

Instrumentation L2: Temperature, Pressure, Level, and Flow #4

University

40 Qs

HF shhh

HF shhh

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?