Question
'A' and 'B' started a business by investing Rs. 6,000
and Rs. 8,000, respectively. If 'A' and 'B' invested their investments for 9 months and 15 months, respectively, then find the profit share of 'B' out of the total profit earned by them which is Rs. 5,400.Solution
ATQ, Ratio of profit shares of 'A' and 'B' = (6,000 X 9):(8,000 X 15) = 54,000:120,000 = 9:20 So, profit share of 'B' = 5,400 X (20/29) = Rs. 3,724
The Knuth-Morris-Pratt (KMP) algorithm improves upon the Naive approach by avoiding unnecessary re-comparisons. It achieves this by:
Which of the following is NOT a data transformation activity?
The following Python code attempts to call a method from the parent class, but it's using an outdated or incorrect syntax. How should it be corrected?
What is a characteristic feature of a bipartite graph?
Which collision resolution technique involves storing collided elements in a linked list at the hash table index?
.Consider the following Java code:
class Shape {
  void draw() {
    System.out.println("Drawing a generic shape");
...The output of circuit shown below is
If a series is already sorted, which sorting technique will finish in the least time?
Which of the following accurately describes Type 1 hypervisor virtualization?Â
Which AI technique is used for uncertain reasoning?