ISRO CS-2023
February 7, 2024ISRO CS-2023
February 7, 2024ISRO CS-2023
Question 4 |
In Reverse Polish notation, expression A*B+C*D is written as
AB*CD*+
| |
A*BCD*+
| |
AB*CD+*
| |
A*B*CD+ |
Question 4 Explanation:
Reverse Polish Notation (RPN), also known as postfix notation, operators come after their operands.
A*B translates to AB*
C*D translates to CD*
Finally, the + operator is placed after AB* and CD*.
A*B translates to AB*
C*D translates to CD*
Finally, the + operator is placed after AB* and CD*.
Correct Answer: A
Question 4 Explanation:
Reverse Polish Notation (RPN), also known as postfix notation, operators come after their operands.
A*B translates to AB*
C*D translates to CD*
Finally, the + operator is placed after AB* and CD*.
A*B translates to AB*
C*D translates to CD*
Finally, the + operator is placed after AB* and CD*.
Subscribe
Login
0 Comments