Question
A box contains 5 red, 4 blue and 3 green balls. Two
balls are drawn at random without replacement. Find the probability that the two balls are of different colours.Solution
Total balls = 5 + 4 + 3 = 12 Total ways to choose 2 balls = 12C2 = 66 Unfavourable cases: both balls same colour. Red–red: 5C2 = 10 Blue–blue: 4C2 = 6 Green–green: 3C2 = 3 Total same-colour pairs = 10 + 6 + 3 = 19 So favourable pairs (different colours) = 66 − 19 = 47 Required probability = 47/66.
- Which firewall type inspects packets at all layers of the OSI model to ensure complete protection?
In which scenario would para virtualization be preferred over full virtualization?Â
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 algorithm design techniques is characterized by breaking a problem into smaller sub-problems and solving each recursively?   �...
- Which of the following is NOT one of the SOLID principles of software design?
What is the primary advantage of using container orchestration tools like Kubernetes over traditional virtual machines (VMs) for managing applications i...
Port number for data and control of FTP protocol
The important aspect of data warehouse environment is that data found within the data warehouse is
- What is the role of Artificial Intelligence (AI) in modern business applications?
Which component of a Management Information System (MIS) focuses on long-term strategic planning? Â Â Â Â Â Â Â Â Â
...