Question
The present ages of Aman and Rehan are in ratio 3:5. 5
years ago, the average age of Aman, Rehan and Tarun was 28 years. Aman was 11 years younger than Tarun at that time. Find Tarun's age 7 years hence.Solution
ATQ,
Let present ages = 3x, 5x, y
5 yrs ago: 3x–5, 5x–5, y–5
(3x–5 + 5x–5 + y–5) = 84
⇒ 8x + y – 15 = 84 ⇒ 8x + y = 99 ...(I)
Also, 3x = y – 11 ⇒ y – 3x = 11 ...(II)
(I) – (II): 8x + y – y + 3x = 99 – 11 ⇒ 11x = 88 ⇒ x = 8
Then y = 3x + 11 = 24 + 11 = 35
Tarun’s age 7 years hence = 42 years
Which parsing method uses a stack and an input buffer?
The symbol table in a compiler is used to store:
The surface area of tape is ________ the surface area of a disk.
In computer architecture, what is the role of the control unit in a CPU?
What is the purpose of Normalization in database design? Â Â Â Â Â
Which data structure is commonly used in the implementation of recursive descent parsing?
DBMS periodically suspends all processing and synchronizes its files and journals through the use of
Which of the following techniques is used to ensure that a database design eliminates redundant data?
Peephole optimization is applied during:
Which of the following grammars is suitable for top-down parsing?