Question
The average age of A, B and C is 25 years, while the
average age of B, A and D is 21 years. If the ratio of the age of C and D is 5:3, respectively, then find the age of D.Solution
Sum of ages of A, B and C = 25 × 3 = 75 years Sum of ages of B, A and D = 21 × 3 = 63 years So, C – D = 75 – 63 = 12 years Let the age of C and D be 5x and 3x years, respectively. 5x – 3x = 12 2x = 12 x = 6 So, age of D = 3x = 18 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?