Ch1: Five Binary Concepts

Description

the six components of binary numbers, explanation, etc
gargantua
Mind Map by gargantua, updated more than 1 year ago More Less
gargantua
Created by gargantua about 9 years ago
gargantua
Copied by gargantua about 9 years ago
gargantua
Copied by gargantua about 9 years ago
gargantua
Copied by gargantua about 9 years ago
gargantua
Copied by gargantua about 9 years ago
4
0

Resource summary

Ch1: Five Binary Concepts
  1. The Three Conversions
    1. Stripping
      1. Rightmost = Divide, Get Remainder
        1. Each time you divide something by its base, you strip off the rightmost digit (as remainder)
          1. Use for: decimal to BASE (dec to binary)
            1. Keep dividing by BASE until the quotient is 0. Collect REMAINDERS in REVERSE order
              1. Last result%(base) = (binary digit)
                1. 5(dec) is ...... 5%2 = 1, 2%2 = 0, 1%2 = 1
                2. NOTE: 1%2 = 1, 1/2 = 0
          2. Leftmost = Multiply, Get Integer
            1. Each time you multiply a FRACTIONAL part by its base, you strip off the leftmost digit (as integer)
              1. Use for: decimal to BASE (Fractional part) (dec to binary)
                1. Keep multiplying THE FRACTIONAL PART by BASE the fractional part becomes 0, collect REMAINDER in FORWARD order
          3. Law Of Base^Order Sum (BOS)
            1. Each digit is multiplied by Base^Order then summed.
              1. Use for: binary to anything (binary to dec)
            2. Groups
              1. Use for: Binary to hex
                1. Groups of 4
                2. Use for: Binary to oct
                  1. Groups of 3
              2. Complements
                1. Radix (2's)
                  1. [N] = base^n - (N)
                    1. 2's Complement: Copy until first 1 (included) then complement
                      1. 2' Complement = Negative of original number
                      2. Diminished (1's)
                        1. [N]diminished = (base^n - 1)r - (N)
                          1. 1's Complement : Complement each bit
                        2. Codes & Registers
                          1. Overflow
                            1. Occurs when the sum falls outside the range of the register
                              1. Complement carry's do not count as overflow
                              2. Occurs when the addition of two positive numbers result in a negative number
                                1. Rule: leftmost digit 0 + leftmost digit 0 = leftmost digit 0
                                  1. Otherwise, overflow
                              3. BCD
                                1. Each digit is converted into 4-bit representation then stringed back together
                                  1. (123) = 0001 0010 0011
                              4. Signed binary numbers
                                1. Use left-most digit to represent signed binary numbers (hardware limitation)
                                  1. 0 for positive
                                    1. 1 for negative
                                  2. Binary Arithmetic
                                    1. Subtraction
                                      1. 0 -1 = 1 (and borrow 1 from next)
                                        1. Add 2's complement (add negative number)
                                          1. Discard final carry
                                          2. Add 1's complement
                                            1. Add end carry back to sum
                                          3. Multiplication
                                            1. Multiply as if you would do decimals, same rules as AND
                                            2. Divison
                                            Show full summary Hide full summary

                                            Similar

                                            Edexcel Biology chapter 1
                                            Anna Bowring
                                            AQA AS Biology - Pathogens and Disease
                                            dillyrules
                                            Biology (level 0)
                                            jmlari12
                                            Tudors: Chapter 1- Political and social role of the church
                                            Amy Le Grys
                                            Cambridge cell structure chapter 1 AS level
                                            savya bhasin
                                            Cell Structure
                                            NuttyDounuts14
                                            Psychology Chapter 1 Map
                                            Kathryn Boyde
                                            Health Behaviour
                                            Rhylee Ford
                                            Health Behaviour
                                            Janie Leary
                                            Chapter 1 - Data & Quality of Data
                                            Kara Martin
                                            Private Peaceful
                                            gercourtney