ISRO | ISRO CS 2017 – May | Question 67
Choose the equivalent prefix form of the following expression
(a + (b − c))* ((d − e)/(f + g − h))
(A) * +a − bc /− de − +fgh
(B) * +a −bc − /de − +fgh
(C) * +a − bc /− ed + −fgh
(D) * +ab − c /− ed + −fgh
Answer: (A)
Explanation: We can write the prefix form of the expression as:
(a + (b − c))* ((d − e) / (f + g − h))
= (a + (- b c)) * ((- d e) / ( + f g – h))
= (+ a – b c) * ((- d e) / (- + f g h)
= (+ a – b c) * (/ – d e – + f g h)
= * + a – b c / – d e – + f g h
Quiz of this Question
Please Login to comment...