Question
βAβ and βBβ started a business by investing Rs.
βaβ and Rs. βa + 250β, respectively. If 12 months later the ratio of profit shares of βAβ and βBβ was 5:6, respectively, then find the amount (initially) invested by βBβ.Solution
ATQ; [(12 Γ a)/{(a + 250) Γ 12}] = (5/6) Or, (12a Γ 6) = 60 Γ (a + 250) Or, 72a = 60a + 15000 Or, 12a = 15000 So, a = 1250 So, initial investment made by βBβ = 1250 + 250 = Rs. 1,500
Which LR parser is often preferred in practice because it offers a good balance between power and table size, resolving most conflicts that SLR(1) cannot?
Which of the following is a correct way to declare and initialize a pointer to an integer in C?
Which optimization is performed after intermediate code generation?
Which of these is used for resolving operator precedence in parsing?
The symbol table in a compiler is used to store:
What is the purpose of Normalization in database design? Β Β Β Β Β
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 of the following is NOT a common form of 3-address code?
A "lexeme" refers to:
What is a primary advantage of generating intermediate code during compilation?