1 of 14

Unit 1 - Lesson 4 part 2

Hexadecimal Numbers and

More Binary Practice

2 of 14

Warm-up 8/31

  • Take out Binary Practice worksheet and flippy-do
    • Take out your name tags and notebook please

1. Convert the following decimal numbers to their binary equivalent:�(a) 12 (b) 55

2. Convert the following binary numbers to decimal numbers:�(a) 1001 0011 (b) 0011 0011

3 of 14

Decimal number: a base 10 number with ten possible different digits

0 1 2 3 4 5 6 7 8 9

101

100

10

1

2

3

24

23

22

21

20

16

8

4

2

1

1

0

1

1

1

Binary number: a base 2 number with two possible different digits

0 1

Same number represented two different ways.

⬅ Decimal Binary ➡

4 of 14

Bit: A contraction of "Binary Digit"; the single unit of information in a computer, typically represented as a 0 or 1

Byte: 8 bits

10010101

5 of 14

Go over Homework:

  • Create Flippy Do, update your TOC, and submit image/pdf (front and back) to Hub.
  • Complete U1L04 Activity Guide, update your TOC, and take pdf/image and submit to Hub.

6 of 14

Code.org Unit 1 Lesson 5 bubble 1

Bubble 2: Binary Odometer

3. What is the greatest possible decimal number that can be represented by a binary number with 6 bits? Explain.

4. How many times more numbers can be represented with 7 bits compared to 5 bits?

5. What’s the minimum number of bits you need to encode the number of days in a month?

7 of 14

Hexadecimal Numbers

8 of 14

Why Hexadecimal Numbers

There are about 1101 1010 1100 students at Bellaire High School. About 1010 1011 of them are taking computer science this year.

Binary

1101 1010 1100

1010 1011

Decimal

?

?

Hexadecimal

?

?

9 of 14

Why Hexadecimal Numbers

There are about 1101 1010 1100 students at Bellaire High School. About 1010 1011 of them are taking computer S]science this year.

Binary

1100 1110 0100

0001 0111 0010

Decimal

3300

370

Hexadecimal

?

?

10 of 14

Why Hexadecimal Numbers

There are about 1101 1010 1100 students at Bellaire High School. About 1010 1011 of them are taking computer S]science this year.

Binary

1100 1110 0100

0001 0111 0010

Decimal

3300

370

Hexadecimal

CE4

172

11 of 14

Why Hexadecimal Numbers?

Hexadecimal is used to represent digital data because hexadecimal representation uses only one hexadecimal digit for every 4 binary digits!

12 of 14

Number System Conversion

Hexadecimal Number

Decimal Number

Binary Number

13 of 14

Hexadecimals Packet

14 of 14

Homework

Complete Hexadecimals packet page 1 - submit image/pdf of 1 page on Hub