Question
Tanushi bought a fan for Rs. 2400 and she marked
it 66(2/3)% above its cost price. She sold it after giving two successive discounts of 12.5% and x%. If the selling price of the fan is Rs. 2625, then find the value of 'x'.Solution
Marked price of the fan = Rs. 2400 x (5/3) = Rs. 4000
ATQ, Or, 4000 x (7/8) x {(100 - x) /100} = 2625
Or, 35 x (100 - x) = 2625
Or, (100 - x) = 75
So, 'x' = 25
An "activation record" (or stack frame) is created for each function call and typically contains:
Which phase of compilation groups characters into tokens?
Multithreading an interactive program will increase responsiveness to the user by ___________
Dynamic memory allocation (e.g., using `malloc` or `new`) typically occurs in which part of the runtime memory?
What is the primary purpose of a "symbol table" in a compiler's runtime environment?
Which of the following is NOT a type of intermediate code?
Which phase of the compiler ensures that identifiers are declared before they are used?
Data flow analysis is a technique used by optimizers to:
In computer architecture, what is the role of the control unit in a CPU?
Which code optimization technique replaces occurrences of a variable with its constant value if the variable has been assigned a constant value that is ...