Question
The average Cost Price of two items P and Q is Rs. 500.
P and Q are sold at 15% and 25% profit respectively. If the total Selling Price of P and Q is Rs. 1,185, then find the Cost Price of Q.Solution
Total CP of P and Q together = 500 × 2 = Rs. 1,000
Let CP of P = x ⇒ CP of Q = (1,000 – x)
ATQ:
115% of x + 125% of (1,000 – x) = 1,185
1.15x + 1,250 – 1.25x = 1,185
–0.10x = –65
x = 650
CP of Q = 1,000 – 650 = Rs. 350
The Banker's Algorithm is primarily used for:
Method overriding is an example of which type of polymorphism?
Which of the following scheduling algorithms minimizes average seek time?
What is the primary function of a router in a network?Â
What is a best practice for securing remote access in Windows and Unix/Linux environments?Â
What does Polymorphism mean in the context of OOP?
The latency of a network isÂ
What does "optimal substructure" mean in the context of Dynamic Programming?
Which of the following describes a major benefit of Continuous Integration (CI) in the software development lifecycle?Â
Consider the following C++ code:
#include
class Base {
public:
  virtual void show() = 0;
};
cl...