Start learning 50% faster. Sign in now
Let the profit earned before commission was given to Paras be Rs. ‘100x’ Commission of Paras = 100x × 0.3x = Rs. 30x Ratio of profit shares of Paras to Punit = 18000:24000 = 3:4 Profit earned by Paras = (100x – 30x) × (3/7) = Rs. 30x Profit earned by Punit = (100x – 30x) × (4/7) = Rs. 40x According to the question 30x + 30x – 40x = 2000 Or, 20x = 2000 So, x = 100 So, required profit = 100 × 100 = Rs. 10,000
Which of the following is the primary reason why polymorphism is useful in Object-Oriented Programming (OOP)?
Which page replacement algorithm minimizes the number of page faults theoretically but is difficult to implement in practice?
What is the output of the following recursive function call func(3) ?
int func ( int n) {
if (n == 0 ) return 1 ; <...
Which of the following techniques is most efficient for finding the kth smallest element in a Binary Search Tree (BST)?
Which of the following statements best describes the role of a reinforcement learning agent in a complex environment?
...What is the time complexity of searching an element in a balanced binary search tree (BST) with nnn nodes?
Which testing type evaluates internal code logic and control flow?
Which of the following correctly describes the primary difference between Cross-Site Request Forgery (CSRF) and Cross-Site Scripting (XSS)?
...Which of the following best illustrates Encapsulation in Object-Oriented Programming?
Which of the following statements about parameter passing in Python is TRUE?