GATE 2015 EE (EE2) – Question 8
For distinct integers p,q,r,s define f as their maximum and g as their minimum. Define h as the remainder when the larger of pq and rs is divided by the smaller. Also fgh=f×g×h. The same maximum/minimum operations apply to two-variable functions. Find $fg(h(2,5,7,3),4,6,8)$.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: 8
Explanation
First compute h(2,5,7,3). The products are 2×5=10 and 7×3=21, so the remainder of 21 divided by 10 is 1.
The outer list is therefore (1,4,6,8). Its maximum is 8 and minimum is 1. Since fg denotes their product, the requested value is **8×1=8**. The outer expression is fg, not fgh, so no second remainder is multiplied in.
More Quantitative Aptitude: Data Interpretation, Arithmetic and Number Computation questions
- GATE 2015 EE (EE2) Q9
- GATE 2015 EE (EE2) Q10
- GATE 2020 AE Q10
- GATE 2020 BT Q8
- GATE 2020 BT Q10
- GATE 2020 CY Q5
All Quantitative Aptitude: Data Interpretation, Arithmetic and Number Computation questions →