Question
Monthly savings of X is 45% of his monthly income which
is Rs. 8800. If ratio of monthly expenditure of Y and X is 15:8 respectively and monthly savings of X is 25% more than that of Y then find monthly income of Y.Solution
Monthly savings of X = 0.45 × 8800 = Rs. 3960 Monthly expenditure of X = 8800 – 3960 = Rs. 4840 Monthly expenditure of Y = (15/8) × 4840 = Rs. 9075 Monthly savings of Y = 3960/1.25 = Rs. 3168 Monthly income of Y = 9075 + 3168 = Rs. 12243
Which of the following tools is commonly used to generate a lexical analyzer (scanner) from a set of regular expressions?
DBMS periodically suspends all processing and synchronizes its files and journals through the use of
What is the primary output of the lexical analysis phase of a compiler?
If an expression `x = a + b` is computed, and later in the same basic block, `y = a + b` is computed, a compiler can apply which optimization?
Which storage class in C indicates that a variable's lifetime is throughout the program execution and its scope is local to the block it is defined in, ...
Which of the following is an example of a "local optimization"?
Which error is detected during lexical analysis?
Data flow analysis is a technique used by optimizers to:
Which optimization technique involves replacing a sequence of instructions with a shorter or faster sequence, often by looking at a small "window" of in...
A 3-address instruction typically has the form: