Question
A box contains 8 green balls, 6 blue balls and 6 yellow
balls. Two balls are drawn at random. What is the probability that at least one of them is yellow?Solution
Total balls = 8 + 6 + 6 = 20
Non-yellow balls = 8 + 6 = 14
Required probability = 1 - Probability that none is yellow
= 1 - (14/20) × (13/19)
= 1 - (182/380)
= 1 - (91/190)
= 99/190
Which property of a transaction ensures that it leaves the database in a consistent state, even in case of errors or failures?
Which command is used to rename a file in a Unix/Linux system?
How does blockchain achieve its tamper-resistant quality?
What is the primary purpose of virtual memory in a computer system?
Which RAID level is often used to maximize storage capacity and does not provide data redundancy or fault tolerance?
Which programming language is used to add interactivity and dynamic content to websites?
What is the main purpose of subnetting?
What is the primary difference between a "Virus" and a "Worm" in the context of cybersecurity?
What is the unit of electric current?
The maximum number of binary trees that can be formed with three unlabeled nodes is: