Question
A man spends 30% of his salary on rent, 25% on
groceries, and the remaining on savings. If he saves ₹18,000, what is his total salary?Solution
Let salary = x. Expenditure = 30% of x + 25% of x = 0.30x + 0.25x = 0.55x. Savings = x - Expenditure = x - 0.55x = 0.45x. Given savings = ₹18,000. 0.45x = 18000 → x = 18000 / 0.45 = ₹40,000. Correct answer: A) ₹40,000
Common Subexpression Elimination (CSE) is an optimization technique that:
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 purpose of Normalization in database design?
A 3-address instruction typically has the form:
Which data structure is commonly used in implementing a recursive descent parser?
Which of the following parsers is the most powerful (can parse the largest class of grammars)?
In a compiler, lexical analysis is responsible for:
"Liveness analysis" in code optimization determines:
Which of the following is the first phase of a compiler?
Which of the following algorithms is specifically designed to minimize the average time a process spends waiting before execution in a CPU scheduling co...