Question
A card is drawn randomly from a deck of ordinary playing
cards. You win Rs.100 if the card is a spade or an ace. What is the probability that you will win the game?Solution
Let S = the event that the card is a spade; and let A = the event that the card is an ace. We know the following: There are 52 cards in the deck. There are 13 spades, so P(S) = 13/52. There are 4 aces, so P(A) = 4/52. There is 1 ace that is also a spade, so P(S ∩ A) = 1/52. Therefore, based on the rule of addition: P(S ∪ A) = P(S) + P(A) - P(S ∩ A) P(S ∪ A) = 13/52 + 4/52 - 1/52 = 16/52 = 4/13
In a binomial heap, if the root is greater than the left child and less than the right child, which of the following statements is correct?
Which of the following operation is performed by Domain Name Server (DNS)?
Which of the following statements best describes the concept of a computing model in computer science?
Which of the following accurately describes Type 1 hypervisor virtualization?
Which layer is not in OSI but in TCP/IP
- In a dense index, why might an index entry not appear for every search key value in the file?
Which is not a access modifier in java?
Fill in the correct option for 29 blank space.
In public key cryptography ___
key is used for encryption and ____ key is used for decryption.
...What is the primary purpose of the UNION ALL operator in SQL?