Data representation, types and structures

Mind Map by bubblesthelabrad, updated more than 1 year ago
Created by bubblesthelabrad almost 5 years ago


A-Level Computing (CG3) Mind Map on Data representation, types and structures, created by bubblesthelabrad on 02/23/2015.

Resource summary

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


Computing Hardware - CPU and Memory
A level Computing Quiz
Zacchaeus Snape
Cells and the Immune System
Eleanor H
The Weimar Republic, 1919-1929
Camera Angles
Using GoConqr to study geography
Sarah Egan
Using GoConqr to learn French
Sarah Egan
Using GoConqr to teach science
Sarah Egan
Using GoConqr to study Economics
Sarah Egan
Using GoConqr to study English literature
Sarah Egan
Using GoConqr to teach French
Sarah Egan