Question
Solution
A person divides a certain amount among his three sons in the ratio = 3 ∶ 4 ∶ 5 Let money get by first, second and third son be 3x, 4x and 5x respectively Total share = 3x + 4x + 5x = 12x Here first son got minimum share i.e 3x If person had divided total amount in the ratio = 1/3 ∶ 1/4 ∶ 1/5 LCM of 3, 4 and 5 = 60 Ratio of First, second and third = (1/3) × 60 ∶ (1/4) × 60 ∶ (1/5) × 60 ⇒ 20 ∶ 15 ∶ 12 Share of first student = (12x/47) × 20 ⇒ 240x/47 According to the question ⇒ (240x/47) – (3x) = 1188 ⇒ (240x – 141x)/47 = 1188 ⇒ 99x/47 = 1188 ⇒ x = 12 × 47 ⇒ x = 564 Total amount = 12x ⇒ 12 × 564 = Rs. 6768 ∴ The total amount is Rs. 6768
In a 5-stage pipeline (Fetch, Decode, Execute, Memory, Write-back), how many instructions can be in various stages of processing at the same time?
A transformer has a primary coil with 300 turns and a secondary coil with 150 turns. If the primary voltage is 240V, calculate the secondary voltage.
Which of the following is a common problem that synchronization mechanisms address in multi-threaded or multi-process environments?
What happens when a program accesses data that is not currently in physical memory (RAM) due to virtual memory management?
Which of the following is not a valid keyword in C++ language?
XML is designed to ____ and ____ data)
What is the main purpose of a digital signature in public key cryptography?
The best case time complexity of selection sort?
What is the space complexity of an algorithm?
Which functions are declared inside a class have to be defined separately outside the class?