APPLICATIONS OF STACK

APPLICATIONS OF STACK

Professional Development

10 Qs

quiz-placeholder

Similar activities

JS

JS

Professional Development

15 Qs

Javascript - 1

Javascript - 1

Professional Development

10 Qs

24/01/2024

24/01/2024

Professional Development

15 Qs

Computer Networks-Model Exam-II-PART-B

Computer Networks-Model Exam-II-PART-B

Professional Development

15 Qs

MATLAB Envinronment Intro

MATLAB Envinronment Intro

Professional Development

10 Qs

Java Increment & Decrement Operators

Java Increment & Decrement Operators

Professional Development

10 Qs

AI-900 MÓDULO 05 pt-br

AI-900 MÓDULO 05 pt-br

Professional Development

15 Qs

FAFL_Quiz

FAFL_Quiz

Professional Development

10 Qs

APPLICATIONS OF STACK

APPLICATIONS OF STACK

Assessment

Quiz

Computers

Professional Development

Medium

Created by

POOJA SAPRA

Used 75+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Consider the following operation performed on a stack of size 5.

Push(1);

Pop();

Push(2);

Push(3);

Pop();

Push(4);

Pop();

Pop();

Push(5);

After the completion of all operation, the number of elements present in stack are

1

2

3

4

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The prefix form of an infix expression (p + q) – (r * t) is?

a) + pq – *rt

b) – +pqr * t

c) – +pq * rt

d) – + * pqrt

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The prefix form of A-B/ (C * D ^ E) is?

a) -/*^ACBDE

b) -ABCD*^DE

c) -A/B*C^DE

d) -A/BC*^DE

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

The postfix form of the expression (A+ B)*(C*D- E)*F / G is?

a) AB+ CD*E – FG /**

b) AB + CD* E – F **G /

c) AB + CD* E – *F *G /

d) AB + CDE * – * F *G

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If there's no base criteria in a recursive program, the program will

not be executed

executed until all condition matches

executes infinitely

obtain progressive approach

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Convert the following Infix expression to Postfix form using a stack

x + y * z + (p * q + r) * s, Follow usual precedence rule and assume that the expression is legal.

a) xyz*+pq*r+s*+

b) xyz*+pq*r+s+*

c) xyz+*pq*r+s*+

d) xyzp+**qr+s*+

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an inherent application of stack?

a) Reversing a string

b) Evaluation of postfix expression

c) Implementation of recursion

d) Job scheduling

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?