Question
Three cards are drawn randomly from a pack of 52 cards.
What is the probability that one will be black and two will be red?Solution
3 cards can be drawn from a pack of 52 cards in 52 C3  ways.
1 black card can be drawn in 26 C1  ways and 2 red cards can be drawn in 26 C2  ways.
Therefore, required probability = ( 26 C 1 Â *Â 26 C 2 ) /Â 52 C 3 Â = 13/34
What is the primary purpose of memory management in an operating system?
What does the 'len()' function do in Python?
What data structure is commonly used to implement a graph's adjacency list?
Which part of the RDBMS architecture is responsible for maintaining a physical copy of the database on disk?
What is the best practice to protect sensitive data when using public Wi-Fi networks?
‘/a’ is used for what in C++
What is a smart contract in the context of blockchain technology?
Which of the following algorithm is most sensitive to outliers?
Which of the following is a characteristic of IPv6?
Which component in Hadoop is responsible for managing cluster resources and scheduling tasks?