Question
βAβ and βBβ started a business by investing Rs.
6000 and Rs. 9000, respectively. 4 months later, βCβ joined them with an investment equal to average of initial investment made by βAβ and βBβ together. If at the end of the year, Bβs profit share out of the total profit was Rs. 18,000, then find the profit share of βCβ.Solution
ATQ; Amount invested by βCβ = [(6000 + 9000)/2] = Rs. 7500 Profit shares of βAβ, βBβ and βCβ, respectively at the end of the year = [(6000 Γ 12): (9000 Γ 12):(7500 Γ 8)] = 6:9:5 Let the total profit received by βAβ, Bβ and βCβ at the end of the year be Rs. βPβ Profit share of βBβ = 18000 = (9/20) Γ P => P = 18000 Γ (20/9) = 40000 Profit share of βCβ = 40000 Γ (5/20) = Rs. 10000
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: