Question
A bag contains Re 1 and 50 paise coins in the ratio 2 :
3. While the ratio of 50 paise and 25 paise is 4:5. If the total value of these coins is Rs 177.50, then tell the number of 50 paise coins.Solution
Ratio of 1 rupee and 50 paise coin = 2:3 Ratio of 50 paise to 25 paise coin = 4 : 5 The Ratio of 1 Rs, 50 Paise, and 25 Paise respectively = 8 : 12 : 15 Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â = 8x:12x:15x Now the no of Coins of 50 Paise is 12x10 = 120 Coins
What is the time complexity of the peek operation (accessing the top element without removing it) in a stack implemented using a singly linked list?
You are designing a system where multiple threads need to access and modify a shared counter variable. What is a critical concern you must address to en...
Kernel is :
Which of the following scheduling algorithms minimizes average seek time?
Which of the following statements accurately describes the use of the SQL CREATE statement?
Which of the following is a non-linear data structure?
What is the primary purpose of cookies on a website?
Which of the following is a self-balancing Binary Search Tree that ensures a maximum height difference of 1 between the left and right subtrees of any n...
Which of the following is NOT a type of firewall?Â
If a class inheriting an abstract class does not define all of its function then it will be known as :