Question
In a blend of oil and diesel, the amount of diesel
constitutes 80% of the quantity of oil present. Additional quantities 'p' liters of oil and 'q' liters of diesel are introduced to the mixture in a way that the ratio of the oil quantity to the diesel quantity remains constant. What are the potential values for 'p' and 'q'? I. 25:20 II. 30:18 III. 10:12Solution
ATQ, Let the initial quantity of oil in the mixture be 100a litres Therefore, initial quantity of diesel in the mixture = 0.8 × 100a = 80a litres Ratio of quantity of oil to that of diesel = 100a:80a = 5:4 Therefore, p:q must be equal to 5:4 such that ratio of oil to diesel in the resultant mixture remains same. For I: (p:q) = 25:20 = 5:4 Therefore, I is possible. For II: (p:q) = 30:18 = 5:3 Therefore, II is not possible For III: (p:q) = 10:12 = 5:6 Therefore, III is not possible.
- What will be the output of the following Java code snippet, which implements a simple ArrayList and performs an insertion and a retrieval? import java.util...
Which of the following protocols is primarily used to assign IP addresses dynamically to devices on a network?Â
Which protocol is most commonly used in IoT devices for lightweight, efficient communication in constrained networks?
Which type of cyber attack involves overwhelming a server with traffic to make it unavailable to users?        Â
...Which of the following statements best describes a key difference between virtual machines and containers?Â
Consider a Binary Search Tree (BST) with the following values inserted in sequence: 45, 32, 50, 15, 40, 47, 60. What will be the in-order traversal of t...
What is the primary benefit of implementing Continuous Integration (CI) in a software development lifecycle?Â
Which module in Python supports regular expressions?
Which of the following best describes the concept of abstraction in object-oriented programming (OOP)?Â
Which of the following is not a method of inter-process communication (IPC) in modern operating systems?Â