Question
A seller marked an article 60% above its cost price and
sold it after allowing 20% discount. If he made a profit of Rs. 56, then find the difference between selling price and marked price of the article.Solution
Let the cost price of the article be Rs. ‘2x’
So, marked price of the article = 2x × 1.6 = Rs. ‘3.2x’
Selling price of the article = 3.2x × 0.8 = Rs. ‘2.56x’
Profit = 2.56x – 2x = Rs. ‘0.56x’
ATQ; 0.56x = 56
⇒ x = 100
Marked Price = 100 × 3.2 = Rs. 320
Selling Price = 100 × 2.56 = Rs. 256
Required difference = 320 – 256 = Rs. 64
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.