Question
Monthly income of A is Rs. 6500 and he saves 36% of his
monthly income. If monthly expenditure of A is decreased by 35% while his monthly savings is increased by 35% then find the increase or decrease in his monthly income.Solution
Monthly savings and expenditure of A initially is Rs. 2340 and Rs. 4160, respectively. Monthly expenditure of A now = 0.65 × 4160 = Rs. 3159 Monthly savings of A now = 1.35 × 2340 = Rs. 2704 Monthly income of A now = 3159 + 2704 = Rs. 5863 Desired percentage decrease = [(6500 – 5863)/6500] × 100 = 9.8%
What is the main purpose of Syntax-Directed Translation?
Which memory allocation strategy is used for global variables and static variables, where memory is allocated once at compile time and remains throughou...
What is the primary output of the parsing phase in a compiler?
"Dead code elimination" is an optimization that removes:
Which data structure is commonly used in the implementation of recursive descent parsing?
Which statement about intermediate code is TRUE?
The symbol table in a compiler is used to store:
Data flow analysis is a technique used by optimizers to:
In LR parsing, what does the term "shift" mean?
An S-attributed SDD (Syntax-Directed Definition) is one where: