Q4L1 _ Binary System Conversion 1

Page 1: Binary System Conversion

  • Topic: Binary System Conversion

  • Subject: ICT 9 Q4 Lesson 1

Page 2: What is Binary System?

  • Definition: A numerical system composed solely of 1s and 0s.

  • Term: "Bit" refers to a single binary digit.

  • Example: Number has 6 bits.

Page 3: Bits

  • LSB (Least Significant Bit): Rightmost bit.

  • MSB (Most Significant Bit): Leftmost bit.

Page 4: Terminologies

  • Common Name:

    • Bit: 1 binary digit

    • Nibble: 4 bits

    • Byte: 8 bits

    • Word: 16 bits

    • Double Word: 32 bits

    • Quad Word: 64 bits

Page 5: BINARY - DECIMAL

  • Comparison between Binary and Decimal systems.

Page 6: Binary - Decimal

  • Base-2 numbering system: Digits are either 1 or 0.

Page 7: Powers of 2

  • Familiarize with exponents:

    • 2^0 = 1

    • 2^1 = 2

    • 2^2 = 4

    • 2^3 = 8

    • 2^4 = 16

    • 2^5 = 32

    • 2^6 = 64

    • 2^7 = 128

    • 2^8 = 256

Page 8: Example Conversion

  • Binary: 10010101

  • Step by step conversion:

    • 1 × 2^7 = 128

    • 1 × 2^4 = 16

    • 1 × 2^2 = 4

    • 1 × 2^0 = 1

    • Sum = 128 + 16 + 4 + 1 = 149

  • Result: 10010101 = 149

Page 9: DECIMAL - BINARY

  • Transitioning from Decimal to Binary.

Page 10: DECIMAL - BINARY

  • Base-10 numbering system: Digits range from 0 to 9.

Page 11: Conversion Methods

  • Overview of two methods for converting Decimal to Binary.

Page 12: SUBTRACTION METHOD

  1. Start with the decimal number.

  2. Identify largest exponent of 2 less than or equal to the number.

  3. Subtract the exponent from the number.

  4. Repeat until remainder is 0.

  5. Record 1s and 0s in binary positions.

Page 13: Powers of 2

  • Familiarize with the same powers as in Page 7.

Page 14: Subtraction Example

  • Decimal: 75

  • Process: 75 - 64 = 11

  • Breakdown of the remaining values leading to conversion.

Page 15: DIVISION METHOD

  1. Start with the decimal number.

  2. Divide number by 2.

  3. Use quotient as new number.

  4. Continue dividing by 2.

  5. Record remainders until quotient is 0.

  6. Write remainders in reverse order to form binary number.

Page 16: Division Example

  • Decimal: 75

  • Process leading to binary: 1001011

Page 17: LET'S TRY!

  • Opportunities for practice on binary conversions.