This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
When an operand is read, which of the following is done?(a) It is placed on to the output(b) It is placed in operator stack(c) It is ignored(d) Operator stack is emptiedWant answer |
|
Answer» Correct choice is (a) It is PLACED on to the output |
|
| 2. |
Here is an infix expression: 4 + 3*(6*3-12). Suppose that we are using the usual stack algorithm to convert the expression from infix to postfix notation. The maximum number of symbols that will appear on the stack AT ONE TIME during the conversion of this expression?(a) 1(b) 2(c) 3(d) 4I want the answer with an explanation. |
|
Answer» The correct option is (d) 4 |
|