Question
βAβ and βBβ started a business by investing Rs.
2500 and Rs. 2000, respectively. 8 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. 16,000, then find the profit share of βCβ.Solution
ATQ; Amount invested by βCβ = [(2500 + 2000)/2] = Rs. 2250 Profit shares of βAβ, βBβ and βCβ, respectively at the end of the year = [(2500 Γ 12): (2000 Γ 12):(2250 Γ 4)] = 10:8:3 Let the total profit received by βAβ, Bβ and βCβ at the end of the year be Rs. βPβ Profit share of βBβ = 16000 = (8/21) Γ P => P = 16000 Γ (21/8) = 42000 Profit share of βCβ = 42000 Γ (3/21) = Rs. 6000
In a data analysis workflow, an index is created on a column with very low cardinality (e.g., a 'gender' column). What is a potential consequence of this?
Binary trees are often used to represent hierarchical data. Which of the following is NOT a direct application of binary trees?
What does it mean for an algorithm to be "in-place"?
What is the primary goal of the Matrix Chain Multiplication problem in dynamic programming?
Consider the following Java code:
public class LengthMix {
Β Β public static void main(String[] args) {
Β Β Β Β int[] numbers...
A function sum_matrix_elements(matrix, R, C) is designed to sum all elements of a matrix with R rows and C columns. The implementation uses nested loops...
Which is best fit for blank space 14?
Which of the following statements accurately describes Third Normal Form (3NF) in database normalization?
In a multi-homed network, BGP route flapping causes external instability. Which mechanism MOST effectively prevents repeated advertisement of unstable r...
What is the time complexity of the KMP algorithm for searching a pattern of length 'M' in a text of length 'N'?