Question
A shopkeeper marked an article βAβ 60% above the
cost price and sold it for Rs. 600 after giving a certain discount while he sold an article βBβ for Rs. 1800. If cost price of article βBβ is Rs. 1200 and profit percentage earned on selling article βBβ is 25% more than discount percentage given on selling article βAβ then find the cost price of article βAβ.Solution
Percentage profit earned on selling article βBβ = [(1800 β 1200)/1200] Γ 100 = 50% So, percentage discount given on selling article βAβ = 50/1.25 = 40% So, marked price of article βAβ = 600/0.60 = Rs. 1000 Cost price of article βAβ = 1000/1.60 = Rs. 625
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.