Question
A bag contains 10-paisa, 20-paisa and 50-paisa coins in
the ratio of 8:6:7, respectively. If the total amount in the bag is Rs. 44, then find 25% of the number of 20-paisa coins in the bag.Solution
Let number of 10 paisa, 20 paisa and 50 paisa coins be ‘8x’, ‘6x’ and ‘7x’, respectively. ATQ, (0.1 × 8x) + (0.2 × 6x) + (0.5 × 7x) = 44 Or, 0.8x + 1.2x + 3.5x = 44 Or, 5.5x = 44 So, x = 8 So, number of 20 paisa coins = 6x = 48 Therefore, required number of coins = 0.25 × 48 = 12
Given a singly linked list with 'n' nodes, what is the time complexity to delete the last node?
Which I/O scheduling algorithm is most suitable for minimizing seek time in hard drives?
Which type of database join returns only the matching rows from two tables based on a condition?
- Which of the following is the primary characteristic of Infrastructure as a Service (IaaS) in cloud computing?
Which of the following is a primary advantage of using a star schema in a data warehouse design?
Tarjan’s algorithm is used to find:
To insert a new node at the beginning of a singly linked list, which of the following operations is typically performed?
Which of the following accurately describes the role of a "foreign key" in a relational database system?
What is the primary purpose of an abstract class?
Which SQL query will retrieve the second highest salary from an Employee table?