Help shape GoConqr. What should we add next?

Mind map

Data Representation

william abbott Computing GCSE English

Data Representation

Map content

Data Representation

  1. Data types

    • Interger
      • (whole numbers) 7,0,15, -5
    • Float/Real
      • (numbers with, or without, fraction) 7.2, 8.9, -6.8, 12.0
    • Character
      • (single character) a, @, #, 8, Q
    • String
      • (one or more characters) Hello, abc, b, y
    • Boolean
      • True/False
  2. Repercussions of numbers

    • Denary/Decimal
      • Base 10
      • Convert to binary
        • 128 64 32 16 8 4 2 1
    • Binary
      • 0 1
      • Base 2
      • Used by computers
    • Hex
      • 1 2 3 4 5 6 7 8 9 A B C D E F
      • Used by people to understand binary better
      • Base 16
      • Convert to binary
        • 0 = 0000 1 = 0001 2 = 0010 3 = 0011 4 = 0100 5 = 0101 6 = 0110 7 = 0111 8 = 1000 9 = 1001 A = 1010 B = 1011 C = 1100 D = 1101 E = 1110 F = 1111
        • 6F = 01101111 = 111
  3. Negtive numbers

    • Most significant Bit
      • The MSB is the sign zero for positive and 1 for negtive.
      • e.g 00110101 repersents +53 whereas 10110101 is -53
      • Not used as to hard to implement
    • Two's complment
      • This one is used in computers
      • It makes clever use of overflow
        • Because of overflow, if we keep adding 1 to a number it eventually resets
          • This means if we keep subtracting 1, it cycles back to 1111
            • Negative if the MSB is 1 11111111 = -1 11111110 = -2 10000001 = -127 10000000 = -128
            • -128 64 32 16 8 4 2 1
      • Changing the sign
        • Inverts the bits and add 1
  4. Binary Arithmetic

    • Shift
      • Left shift
        • Doubles number
        • e.g for the number 0011002 (12) a shift one place to the left would give 011000 = 24
      • Right shift
        • Halfs numbers
        • e.g for the number 0011002 (12) a shift one place to the right would give 000110 = 6
    • Adding
      • Workes the same as adding denary
      • 0 + 0 = 0 0 + 1 = 1 1 + 1 = 10 1 + 1 + 1 =11
    • Subbtracting
      • It works by taking Two's number of the second numer and adding it to the first
        • e.g. 00110101(53) -00010101(21)
          • => 0011 0101 + 1110 1011 => 1 0010 0000
            • The ninth bit overflows and is discarded => 0010 0000 (32)
    • Overflow and underflow
      • Overflow is where in addition takes place in a 8 bits and requires a 9 bit in which case that bit is discarded
      • It is the opposite of overflow and occurs when numbers are to small to small to store
        • If we right shift 00000001 the number becomes 0 and all data is lost.

Images and files in the map

  • Data Representation
  • Data Representation
  • Data Representation

Information

Description
GCSE Computing Mind Map on Data Representation, created by william abbott on 21/05/2021.
Created by
william abbott
Views
4
Rating

Feedback

What is it about?

What should we add next?