ExamVeda
Login
Home
41
What is a common use case for a stack in web browsers?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
42
Which of the following correctly describes a stack's push operation in terms of its effect on the stack?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
43
What is the maximum number of elements that can be held in a stack if it has a capacity of 20 and 5 elements are pushed and then 3 elements are popped?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
44
What type of stack implementation allows for the stack to grow dynamically as needed?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
45
Evaluate the following and choose the correct answer.
a/b+c*d where a=4, b=2, c=2, d=1.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
46
What would be the Prefix notation for the given equation?
a+b-c/d&e|f
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
47
What is the time complexity of balancing parentheses algorithm?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
48
Using the evaluation of infix expression, evaluate a^b+c and choose the correct answer. (a=2, b=2, c=2)
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
49
Evaluate the postfix expression ab + cd/- where a=5, b=4, c=9, d=3.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
50
What is the correct postfix expression for the following expression?
a+b*(c^d-e)^(f+g*h)-i
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board