Question
A shopkeeper planned to sell 150 shirts each priced at
Rs 1,250 in a particular year. Each shirt, if it had been sold at the mentioned price would have been possibly earned him a 25% profit. However, 50 out of these 150 shirts were sold at a discount of Rs 150 each shirt during the festival season. Find the maximum possible number of shirts one could have bought during the festival season with an amount that is same as the profit earned by the shopkeeper in the entire year?Solution
Actual price of each shirt = Rs`100/125xx1250=` Rs 1,000 Profit earned during non-festive season = Rs (1,250 – 1,000)`xx` 50 = Rs 12,500 Profit earned during festival season = (1,100 – 1,000) × 50= Rs 5,000 Total profit = Rs 17,500 Cost of a shirt during festival season = Rs 1,100 Now, `17500/1100` = 15.909 Maximum number of shirt that can be bought = 15
A recursive function calculate_height(node) is designed to find the height of a binary tree (where a single node has height 0). The function is implemen...
A queue initially empty undergoes the following sequence of operations:
1. enqueue(10)
2. enqueue(20)
3. dequeue()
4.�...
The transfer function of the system below is ___________
Which statement is FALSE regarding Programmable Logic Controller?
Which of these is an example of PaaS (Platform as a Service)?
Which of the following scheduling algorithms minimizes average seek time?
In the context of cloud computing, what is the main difference between containers and virtual machines?Â
Which cloud deployment model is suitable for government organizations with strict regulations?
Which data structure is best suited for implementing a Breadth-First Search (BFS) algorithm?
In C++, what mechanism is primarily used to achieve runtime polymorphism?