Question
In a class of 30 students, 18 students like mathematics,
15 like science, and 8 like both subjects. What is the probability that a randomly selected student likes at least one of the two subjects?Solution
Let the total number of students be 30. Students who like mathematics = 18 Students who like science = 15 Students who like both mathematics and science = 8 Using the formula for the union of two sets: P(Math or Science) = P(Math) + P(Science) - P(Math and Science) P(Math or Science) = 18 + 15 - 8 = 25 The probability is: P = 25 / 30 = 5 / 6 Correct Option: b
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: