Question
P started a business investing Rs.9000. After 3 months,
Q joined her with the capital of Rs.16000. After another 6 months, R joined them with the capital of Rs.20000. At the end of the year, they made a total profit of Rs.7800. Find the share of R.Solution
P invested her capital for 12 months, Q for 9 months and R for 3 months. So, ratio of their capitals = (9000 × 12):(16000 × 9):(20000 × 3) ⇒ 108000 : 144000 : 60000 ⇒  9 : 12 : 5 Therefore, R’s share = 7800 x (5/26) = Rs.1500
In Python, which of the following is used to create an anonymous function?
ch data structure is used in Depth-First Search (DFS)?
In Python, what does len() function do?
In C++, which access specifier allows members to be accessible only within the class?
Which software development methodology emphasizes iterative development and customer feedback? Â Â Â Â Â Â Â
...Which of the following sorting algorithms is stable?
Which type of malware disguises itself as legitimate software but has malicious intent once installed?
In C, what is the output of printf("%d", 5/2);?
Which of the following is true about C++ destructors?
Which of the following algorithms is used for finding Minimum Spanning Tree?