Question
The ratio of cost price to the marked price of an
article is 5:8. The article had been marked above its cost price by Rs. 240. If the article was sold at a discount of Rs. 180, then find the profit/loss percentage incurred.Solution
Let the cost price and marked price of the article be Rs. 5x and Rs. 8x, respectively
According to the question,
8x – 5x = 240
Or, 3x = 240
Or, x = 80
Therefore, cost price of the article = 5x = Rs. 400
Marked price of the article = 8x = Rs. 640
Selling price of the article = 640 – 180 = Rs. 460
Required profit percentage = {(460 – 400)/400} × 100 = 15%
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.