APPLICATIONS OF STACK

APPLICATIONS OF STACK

Professional Development

10 Qs

quiz-placeholder

Similar activities

OSTA ABAY Week 4 Assessment

OSTA ABAY Week 4 Assessment

Professional Development

15 Qs

Quiz Cloud Practitioner

Quiz Cloud Practitioner

Professional Development

10 Qs

Digital Electronics (Weekend Assignment - 1)

Digital Electronics (Weekend Assignment - 1)

University - Professional Development

15 Qs

Power BI 2 Quiz

Power BI 2 Quiz

Professional Development

14 Qs

Git - Github - GitHub Pages

Git - Github - GitHub Pages

Professional Development

11 Qs

7/2/2024

7/2/2024

Professional Development

10 Qs

Fellowship program 2021

Fellowship program 2021

University - Professional Development

15 Qs

Network Plus Pre Assessment

Network Plus Pre Assessment

Professional Development

15 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

Create a free account and access millions of resources

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?