Question

Count the number of different functions with the given domain, target and additional properties.

(c) f: (0,1) 10,1 (d) f: (0,1)5 (0,1)7. The function f is one-to-one

--------------------------------------------------------

This question refers to a standard deck of playing cards. If you are unfamiliar with playing cards, there is an explanation in Section 11.1 under the heading "Standard playing cards." A five-card hand is just a subset of 5 cards from a deck of 52 cards.

(d) How many five-card hands have four cards of the same rank?

(e) A "full house" is a five-card hand that has two cards of the same rank and three cards of the same rank. For example, {queen of hearts, queen of spades, 8 of diamonds, 8 of spades, 8 of clubs}. How many five-card hands contain a full house?

(f) How many five-card hands do not have any two cards of the same rank?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Problenm (d) How many five-card hands have four cards of the same rank? (e) A full house is a five-card hand that has two c

The form of the full house has one pair and three of a kind. Then the choices are: 13x12 The choices for the ranks of the pai

Write the condition for the choose five cards from the suit 13 There are 4 possible ways to find the suit. Write the conditio

Add a comment
Know the answer?
Add Answer to:
Count the number of different functions with the given domain, target and additional properties. -------------------------------------------------------- This...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • discrete structure Recall that a standard deck of 52 cards has 4 suits (hearts, diamonds, spades, and clubs), each of w...

    discrete structure Recall that a standard deck of 52 cards has 4 suits (hearts, diamonds, spades, and clubs), each of which has 13 ranks: 2-10, Jack, Queen, King, and Ace (in order from lowest to highest). Order of cards in a hand does not matter (a) (10 points) A full house is 3 cards of one rank and 2 of another rank. How many full houses are there in a 5-card hand if either the pair or the 3 of...

  • Write in Java! Do NOT write two different programs for Deck and Card, it should be...

    Write in Java! Do NOT write two different programs for Deck and Card, it should be only one program not 2 separate ones!!!!!! !!!!!!!!!!!!!!!Use at least one array defined in your code and two array lists defined by the operation of your code!!!!!!!!!!!!!!!!!!!!! The array should be 52 elements and contain a representation of a standard deck of cards, in new deck order. (This is the order of a deck of cards new from the box.) The 2 Array lists...

  • I am having problem understanding this problem. please explain it explicitly. its a discrete comp...

    I am having problem understanding this problem. please explain it explicitly. its a discrete computer science problem. thanks Exercises 27-32 concern a 5-card hand from a standard 52-card deck. A standard deck has 13 cards from each of 4 suits (clubs, diamonds, hearts, spades). The 13 cards have face value 2 through10, jack, queen, king, or ace Each face value is a "kind" of card. The jack, queen, and king are "face cards. 27. How many hands contain 4 queens?...

  • C++ Your solution should for this assignment should consist of five (5) files: Card.h (class specification...

    C++ Your solution should for this assignment should consist of five (5) files: Card.h (class specification file) Card.cpp (class implementation file) DeckOfCards.h (class specification file) DeckOfCards.cpp (class implementation file) 200_assign6.cpp (application program) NU eelLS Seven UT Diamonds Nine of Hearts Six of Diamonds For your sixth programming assignment you will be writing a program to shuffle and deal a deck of cards. The program should consist of class Card, class DeckOfCards and an application program. Class Card should provide: a....

  • Discrete Mathematics: Counting Principles a. How many hands consists of a pair of aces? b. How...

    Discrete Mathematics: Counting Principles a. How many hands consists of a pair of aces? b. How many hands contain all face cards? c. How many hands contain at least one face card? Concern a hand consisting of 1 card drawn from a standard 52-card deck with flowers on the back and 1 card drawn from a standard 52-card deck with birds on the back. A standard deck has 13 cards from each of 4 suits (clubs, diamonds, hearts, spades). The...

  • May i please get help with this? Thank you for your time. [Poker] Poker is a...

    May i please get help with this? Thank you for your time. [Poker] Poker is a card played with a standard 52 card playing deck (https://en.wikipedia.org/wiki/Standard_52-card_deck). There are many variants of poker. However, for this problem we will not concern ourselves with any specific version, but rather the types of poker hands possible. Assume five cards out of the standard 52 card deck are dealt to a player. The order that the player receives the cards does not matter. One...

  • A standard deck of cards consists of four suits (clubs, diamonds, hearts, and spades), with each...

    A standard deck of cards consists of four suits (clubs, diamonds, hearts, and spades), with each suit containing 13 cards (ace, two through ten, jack, queen, and king) for a total of 52 cards in all. How many 7-card hands will consist of exactly 3 kings and 2 queens?

  • This activity needs to be completed in the Python language. This program will simulate part of...

    This activity needs to be completed in the Python language. This program will simulate part of the game of Poker. This is a common gambling game comparing five-card hands against each other with the value of a hand related to its probability of occurring. This program will simply be evaluating and comparing hands, and will not worry about the details of dealing and betting. Here follow the interesting combinations of cards, organized from most common to least common: Pair --...

  • 4. A group of students are playing a card game. The game uses a well-shuffled deck...

    4. A group of students are playing a card game. The game uses a well-shuffled deck of 56 playing cards. 52 of the cards are exactly as described in your textbook. However, there are also 4 Jokers. This means that there are 56 cards: 14 are hearts, 14 are diamonds, 14 are clubs, and 14 are spades. A hand of cards consists of Eight of the cards. Find the number of different hands that contain: a. At least 6 Diamonds....

  • 7. Contains the letters AC together in any order. (3 points) An ordinary deck of 52 cards consists of four suits many (unordered there? (2 points) clubs, diamonds, hearts, spades, how ) four-cards...

    7. Contains the letters AC together in any order. (3 points) An ordinary deck of 52 cards consists of four suits many (unordered there? (2 points) clubs, diamonds, hearts, spades, how ) four-cards poker hands, selected from an ordinary 52-card deck, are 8. 7. Contains the letters AC together in any order. (3 points) An ordinary deck of 52 cards consists of four suits many (unordered there? (2 points) clubs, diamonds, hearts, spades, how ) four-cards poker hands, selected from...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT