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
What is the purpose of the CASE statement in SQL?
Which of the following protocol is a network layer protocol and used for reporting errors?
In a system using the Least Recently Used (LRU) page replacement algorithm, which of the following statements holds true?Â
How do you correctly create a new Map object in JavaScript?
Maximum Power transfer occurs when the_____
The Maximum Power transfer theorem states that maximum power is delivered when_______
Which of the following best describes the concept of ‘Concurrency’ in the context of Operating Systems?Â
Which is relational Database
What is the primary function of a MAC address in a network?
Which of the following statements best describes the role of the JDBC package in Java programming?