adplus-dvertising
frame-decoration

Question

User push 1 element in the stack having already five elements and having stack size as 5 then stack becomes ___________.

a.

Overflow

b.

Underflow

c.

User Flow

d.

Crash

Answer: (a).Overflow

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. User push 1 element in the stack having already five elements and having stack size as 5 then stack becomes ___________.

Similar Questions

Discover Related MCQs

Q. User perform following operations on stack of size 5 then -

push(1);
pop();
push(2);
push(3);
pop();
push(4);
pop();
pop();
push(5);

at the end of last operation, total number of elements present in the stack are -

Q. User perform following operations on stack of size 5 then -

push(1);
pop();
push(2);
push(3);
pop();
push(2);
pop();
pop();
push(4);
pop();
pop();
push(5);

Which of the following is correct statement for stack ?

Q. What will be the postfix expression for following infix expression:

b * c + d / e

Q. What will be the postfix expression for following infix expression -
A / B ^ C - D

Q. What will be the postfix expression for following infix expression -
A + B * C ^ D

Q. Evaluate Postfix expression from given infix expression.
A + B * (C + D) / F + D * E

Q. Expression in which Operator is written after Operand is called as ________.

Q. Which of the following is an example of Postfix expression ?

Q. Convert the following infix expression to postfix expression -
A / B ^ C + D * E - A * C

Q. Convert the following infix expression to postfix expression -
B * C - C + D / A / ( E + E )

Q. In Computer generally _________ expressions are preferred.

Q. Data Structure required to evaluate infix to postfix is __________.

Q. What will be the postfix form of the above expression -
(A+B)∗(C∗D-E)∗F/G

Q. If the sequence of operations -

push(1)
push(2)
pop
push(1)
push(2)
pop
pop
pop
push(2)
pop

are performed on a stack, the sequence of popped out values are ?

Q. Stack cannot be used to

Q. Expression
1 * 2 ^ 3 * 4 ^ 5 * 6
is evaluated as -

Q. Which of the following is useful in the implementation of quick sort ?

Q. List of data in which element can be inserted and removed at the same end is called as __________.

Q. Adding element to stack means ___________.

Q. Pushing element in the stack means _____________.