APPLICATIONS OF STACK

APPLICATIONS OF STACK

Professional Development

10 Qs

quiz-placeholder

Similar activities

Round-1

Round-1

University - Professional Development

10 Qs

06/08/2021 - Infix to postfix conversion

06/08/2021 - Infix to postfix conversion

Professional Development

5 Qs

GIT

GIT

Professional Development

15 Qs

DataStructure_Quiz_1

DataStructure_Quiz_1

Professional Development

10 Qs

DATASTRUCTURE

DATASTRUCTURE

Professional Development

11 Qs

DSA + System Design - 12

DSA + System Design - 12

Professional Development

11 Qs

DS TRaining Day 2

DS TRaining Day 2

Professional Development

15 Qs

Mail Serverek

Mail Serverek

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

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

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?