Ch. 4.1 Sound Byte:Where does Binary Show Up?
Objective 2: Explain the differences between decimal, binary, and hexadecimal notation.
Decimal uses 10 digits: 0 1 2 3 4 5 6 7 8 9 Hexadecimal uses 16 digits: 0 1 2 3 4 5 6 7 8 9 A B C D E F Binary uses 2 digits: 0 1
If all three values for an RGB color are fully saturated at 255, the color produced will be:
White
All RGB colors have the following components:
red, green, blue
The binary number system uses _________ digits.
2
A 16-digit binary pattern converts to a ____ digit hexadecimal value.
4
What digits does the hexadecimal number system use?
0 1 2 3 4 5 6 7 8 9 A B C D E F
Binary Digits Converted to Hex
A 16-digit binary pattern converts to a 4-digit hexadecimal value Example: 1110 0011 1000 1011 converts to E38B in hex Each hex digit represents a 4-bit pattern E = 1110 3 = 0011
Objective 3: Explain how binary notation converts to hexadecimal.
A 16-digit binary pattern converts to a 4-digit hexadecimal value Example: 1110 0011 1000 1011 converts to E38B in hex Each hex digit represents a 4-bit pattern: E = 1110 3 = 0011 8 = 1000 B = 1011
Objective 1: Explain the nature of the binary number system.
Binary is a number system comprised of two digits, 0 and 1, used by computers to represent all other numbers and characters. Binary is also known as base 2.
Objective 4: Explain how colors are represented using hexadecimal notation.
Colors for web pages are represented as hex codes defining the amount of red, green, and blue (RGB) needed to produce a specific color. Example: The color violet: Red/green/blue triplet value: 153, 51, 255 Hex code for that color: 9933FF
Where Does Hex Show Up?
Colors for web pages are represented as hex codes
Windows Calculator
Converts between -Decimal (base 10) -Binary (base 2) -Hexadecimal (base 16)
How Values Are Represented by Each System
Decimal 0 1 2 3 4 5 6 7 8 9 Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F Binary 0 1