BINARY-CODES

Introduction to Binary Codes

  • Presentation by Group 2

  • Overview of Binary Codes

Origins of Binary Codes

  • Inventor: Gottfried Wilhelm Leibniz

    • Year: 1679

    • Conceptualized binary code as part of philosophy and mathematics.

    • Purpose: To represent all numbers using only two symbols: 0 and 1.

Definition of Binary

  • Binary System:

    • Also known as the Base 2 number system.

    • Numeric values represented by combinations of 0s and 1s.

    • Equivalent to OFF (0) and ON (1).

    • Simplest form of computer code and programming data.

Understanding Binary Code

  • Bit Definition:

    • Binary - (bit): Minimum unit of binary information in a computer.

    • States: Can only be ON (1) or OFF (0).

Functionality of Binary Numbers

  • Primary Language of Computing: Binary system as the core language in computers.

  • Binary Number Composition: Consists of a series of eight bits, known as a byte.

  • Positional Value: The position of each bit determines its decimal value, allowing for conversion from binary to decimal.

Reading Binary Code

  • Binary Values:

    • Positions: 128, 64, 32, 16, 8, 4, 2, 1

    • Example: 01101000 corresponds to sequence of ON/OFF states.

Operations in Binary Math

Binary Addition

  • Process: Adding two binary numbers.

    • Similar to decimal addition.

    • Carrying over occurs if the sum exceeds 1 (2 in decimal).

Binary Subtraction

  • Process: Subtracting binary numbers.

    • Follows arithmetic subtraction rules, using only 0s and 1s.

Conversion from Binary to Decimal

  • Importance: Essential for interpreting binary data into human-readable decimal format.

  • Requires understanding of conversion methods based on binary numeral representation.