QM1Notes (dragged) 8 - 14 HTML Colors in HTML(the language...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
22 14. HTML Colors in HTML (the language in which many web pages are written) can be represented by 6-digit hexadecimal codes: sequences of six integers ranging from 0 to 15 (represented as 0, ..., 9, A, B, .., F). (a) How many different colors can be represented? (b) Some monitors can only display colors encoded with pairs of repeating digits (such as 44DD88). How many colors can these monitors display? (c) Grayscale shades are represented by sequences xyxyxy . consisting of a repeated pair of digits. How many grayscale shades are possible? (d) The pure colors are pure red: xy 0000; pure green: 00 xy 00; and pure blue: 0000 xy . ( xy = FF gives the brightest pure color, while xy = 00 gives the darkest: black). How many pure colors are possible? Poker Hands A poker hand consists of five cards from a standard deck of 52. (See the chart preceding Example 7.) In Exercises 15–18, find the number of different poker hands of the specified type. 15 . Two pairs (two of one denomination, two of another denomination, and one of a third) 16 .
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern