Question
A mixture (cola + water) contains cola and water in the
ratio of 3:2. If 40 liters of the mixture is replaced with 10 liters of water, then the quantity of cola in the final mixture becomes 18 liters more than that of water. Find the initial quantity of the mixture.Solution
ATQ, Let the quantity of cola and water in the initial mixture be '3u' liters and '2u' liters, respectively. Quantity of cola in 40 liters of the mixture = 40 x (3/5) = 24 liters. Quantity of water in 40 liters of the mixture = 40 - 24 = 16 liters. According to the question, (3u - 24) = (2u - 16 + 10) + 18 Or, 3u - 2u = 24 - 16 + 10 + 18 Or, u = 36 Initial quantity of the mixture = 5u = 5 x 36 = 180 liters.
In the context of preemptive CPU scheduling, which of the following algorithms can potentially cause starvation, and how can this issue be mitigated?Â
Which of the following is the most effective method for ensuring that an organization complies with security and privacy regulations such as GDPR or HIP...
In the context of containerization, what is the role of an orchestration tool?Â
In an operating system, which of the following system calls is most likely to cause a process to enter a waiting state due to synchronization with anoth...
In relational databases, which of the following best describes the role of a "foreign key"?  Â
- Which of the following statements about Constructors in Object-Oriented Programming is correct?
Which of the following best describes the primary function of Network Address Translation (NAT)?Â
- Which type of attack allows an attacker to inject malicious scripts into a trusted website to execute in a victim's browser?
Consider the following Java code that implements encapsulation:
class BankAccount {
  private double balance;
  public Bank...
The first line in any shell script begins with a _____