Question
A, B and C invested in partnership. A invest Rs.6000 for
4 months, B invests Rs.4000 for 3 months and C invests Rs.12000 for 2 months. C is working partner so he will get 5% extra of total profit. Find profit share of C if total profit at the end of the year is Rs.8200.Solution
Ratio of profit share of A, B and C = 6000 x 4 + 4000 x 3 + 12000 x 2 = 2:1:2 Profit share of C out of total profit = [8200 x (5/100)] + [8200 x (95/100) x (2/5)] = Rs.3526
Which traversal of binary tree gives nodes in sorted order?
Given the IP address 192.168.10.5 and the subnet mask 255.255.255.240 , what is the range of valid host addresses in this subnet?
What will be the output of the following Java snippet?
class A {
   public void display() {
       System.out.pr...
Which of the following is a key objective of the Requirement Analysis phase in the Software Development Lifecycle (SDLC)?
Union-Find with path compression achieves nearly constant time because its complexity is:
Which of the following is a common issue that can arise from poorly designed recursive functions?
Which of the following is an effective countermeasure against Cross-Site Scripting (XSS) attacks in a web application?
Which of the following best describes the mechanism of a Cross-Site Scripting (XSS) attack?
Which tree traversal gives nodes in non-decreasing order for a BST?
Which of the following scenarios violates Boyce-Codd Normal Form (BCNF) in a relational schema?