Question
A costs twice as much as B. A is sold at a loss of 15%
and B is sold at 5/4th of its price. If selling price of A is Rs. 1350 more than selling price of B, what is the cost price of A?Solution
Let the CP of B be 100x. CP of A = 2 × 100x = 200x Now SP of A = 85% of 200x = 170x And SP of B = 100x × 5/4 = 125x According to question, => 170x – 125x = 1350 => x = 30 CP of A = 200x = 200 × 30 = Rs. 6000
A software development team is implementing a sorting function for a large dataset in their project. They decide to use the quick sort algorithm to opti...
The Divide and Conquer paradigm involves three main steps. What are they?
Complete the Python function to return the last n characters of a string s. If n is greater than the string's length, return the entire string.
d...
Which access specifier makes members accessible only within the class itself?
Which of the following is the primary characteristic of serverless computing in cloud platforms?Â
Consider the following Python code for calculating Fibonacci numbers using memoization:
  memo = {}
  def fib_memo(n):
 �...
What is a key characteristic of a "full binary tree"?
Consider the following statement regarding Kelvin Double Bridge.
Statement (1): It is used for measuring resistance in the range of few ohms to s...
If signal-to-interference ratio is 5 dB, signal power is 8 dB, then what is the interference power in dB?
The _____________ deals with the coordination of the data transfer between end systems and hosts.