Data representation, types and structures

Beschreibung

A-Level Computing (CG3) Mindmap am Data representation, types and structures, erstellt von bubblesthelabrad am 23/02/2015.
bubblesthelabrad
Mindmap von bubblesthelabrad, aktualisiert more than 1 year ago
bubblesthelabrad
Erstellt von bubblesthelabrad vor mehr als 9 Jahre
30
1

Zusammenfassung der Ressource

Data representation, types and structures
  1. Logical Operators
    1. Truth Tables
      1. AND
        1. Either they are both are on, otherwise it is off
        2. NOT
          1. It will be the inverse to itself if it isn't
          2. OR
            1. One or the other is on, not mattering if it is both on
            2. XOR
              1. One or the other is on, however if both are one then it equals off
            3. Shifts
              1. Logical
                1. One bit 'falls off' (possibly into the Carry flag), and a 0 is shifted in.
                2. Arithmetic
                  1. Similar to a Logical shift, but the sign bit remains unchanged.
                    1. To the left is multiplying by 2
                      1. To the right is dividing by 2
                    2. Encryption
                      1. Uses the XOR commamd
                        1. X + Key = Encryption
                          1. Encryption + Key = X
                      2. Hexadecimal
                        1. A shorthand method for representing binary numbers.
                          1. More convenient alternative coding method.
                            1. Used because they are more readily converted to or from binary.
                          2. The hexadecimal number system has a base of 16, and uses the following symbols:
                            1. Converting
                              1. To Decimal
                                1. Give place values of 16 to the power of the place of the hexadecimal from left to right starting from 0
                                  1. Multiply the 16 value with the number place in the hexadecimal table
                                    1. Adding them together will give you the decimal value
                                2. From Decimal
                                  1. Divide the decimal by 16
                                    1. Get the answer in whole number/remainder form
                                      1. Convert the first number into hexadecimal via its place on the table then the remainder
                                  2. To Binary
                                    1. Find each character from the hexadecimal, convert it to its number place
                                      1. Convert the number place into binary and put back together
                                    2. From Binary
                                      1. Convert the binary into a decimal
                                        1. Change the decimal into hex, dependant on its place in the table
                                  3. Two's Compliment and S&M
                                    1. Sign And Magnitude
                                      1. The binary is split into 2 pieces, the sign and the magnitude
                                        1. The first digit (Normally 128) is the sign, and if it is 0 then it is positive and if it is 1 then it is negative
                                          1. +95 = 01011111
                                            1. -95 = 11011111
                                          2. Restricted to 8 bit words and only between -127 and 127
                                          3. Two's Compliment
                                            1. The amount of bits that can be stored depends on the word size
                                              1. Characteristics
                                                1. Allows a number to be shown as a negative
                                                  1. Makes subtraction easy by replacing addition
                                                    1. Efficient in the process of adding
                                                      1. Requires no separate provision for inclusion of the sign
                                                        1. The values are stored precisley
                                                        2. Subtraction
                                                          1. Subtraction in two’s complement is performed by negating the 2nd number and adding it to the 1st
                                                            1. To negate a number change all 0s to 1s and all 1s to 0s, then add 1. This is complementation
                                                          2. Integer Addition
                                                            1. 0 + 0 (no carry) = 0
                                                              1. 0 + 0 (carry) = 1
                                                                1. 0 + 1 (no carry) = 1
                                                                  1. 0 + 1 (carry) = 0
                                                                    1. 1 + 1 (no carry) = 0
                                                                      1. 1 + 1 (carry) = 1 (carry)
                                                                  Zusammenfassung anzeigen Zusammenfassung ausblenden

                                                                  ähnlicher Inhalt

                                                                  Computing Hardware - CPU and Memory
                                                                  ollietablet123
                                                                  A level Computing Quiz
                                                                  Zacchaeus Snape
                                                                  Cells and the Immune System
                                                                  Eleanor H
                                                                  The Weimar Republic, 1919-1929
                                                                  shann.w
                                                                  Using GoConqr to teach French
                                                                  Sarah Egan
                                                                  Using GoConqr to teach science
                                                                  Sarah Egan
                                                                  Using GoConqr to study geography
                                                                  Sarah Egan
                                                                  Using GoConqr to study Economics
                                                                  Sarah Egan
                                                                  Using GoConqr to study English literature
                                                                  Sarah Egan
                                                                  Using GoConqr to learn French
                                                                  Sarah Egan
                                                                  A Level: English language and literature techniques = Structure
                                                                  Jessica 'JessieB