Data Representation

Description

Din ghal min ghandu il computer studies
aiden williams
Mind Map by aiden williams, updated more than 1 year ago
aiden williams
Created by aiden williams almost 9 years ago
26
1

Resource summary

Data Representation
  1. Binary
    1. Unsigned
      1. 00101011 = 43
        1. 0------- => Most Significant Bit (MSB)
          1. -------1 => Least Significant Bit (LSB)
            1. 2^n -1
              1. 8-Bit 0-255 (256 values)
          2. Signed
            1. Sign and magnitude
              1. -43 = 10101011
                1. MSB = Signed Bit (1 = - , 0 = +)
                  1. Rest = positive number
                2. 2s compliment
                  1. binary number (59) l 00111011 one's compliment l 11000100 ................................+1................ two's compliment = 01000101 (-59)
                3. Binary Coded Decimal
                  1. 123 => 1 = 0001, 2 = 0010 , 3 = 0011
                    1. -37 = 1011 , 0000 , 0011 , 0111
                      1. Every digit has it's own binary representation
                      2. Binary Arithmetic
                        1. Addition
                          1. 10011101 + ------------------- 11001110 ------------------- 01101011
                          2. Subtraction
                            1. 43 +- (20) 43 = 00101011 ..........20 = 00010100 .........-20 = 11101100 ........43-20 = 00101011 + ..................11101100 ................X00010111
                              1. X = Arithmetic Flow
                            2. Multiplication
                              1. 11100 * 101 ------------------- 111100 ------------------- 1000000 ------------------- 1110000 ------------------- 10001100
                                1. Long Multiplication
                          3. Representation of chars
                            1. ASCII (8-bit)
                              1. UNICODE (16 - bit)
                                1. ASCII into Unicode (will work) Unicode into ASCII(won't since file is bigger)
                                2. Unicode used more in general purpose computers but because ASCII is smaller it is used in micro-computers like an Arduino board
                                3. Representation of Images
                                  1. Raster
                                    1. Stored in pixels
                                      1. Ex: 320 * 200 (8 bit) = 64000 * 1 byte (if 16 -bit *2 bytes)
                                        1. Storage depends on resolution
                                          1. (jpeg, gif, bmp, tiff, png)
                                            1. supports transparancy (kaxex bojod u grizi)
                                          2. Vector
                                            1. stored in shapes
                                              1. Image only resized quality is not restored
                                                1. (wmf , CAD)
                                              2. Representation of Sound
                                                1. Wave for Audio
                                                  1. MP3
                                                    1. sampling rate directly proportional to quality (24bit - 48k quality)
                                                    2. MIDI
                                                      1. Stores as a series of instrument and sounds on soundcard
                                                        1. Synthesizers, soundcards (Mother and Father to baby Wub)
                                                      2. Hexadecimal
                                                        1. 0-9 read as integers
                                                          1. 10-15 read as A-F
                                                          2. Bin- Hex Hex - Bin
                                                            1. Kemm taqsamom go 4-bit
                                                            2. 23c= 16^2*2 + 16^1 + *3 16^0 * 12 572 -------
                                                              1. Dec - Hex
                                                                1. 350
                                                                  1. 21r l E 1 r .l 5 0 r l 1
                                                                    1. ans = 15E
                                                              Show full summary Hide full summary

                                                              Similar

                                                              Adding whole numbers L1
                                                              Lee Holness
                                                              Data representation
                                                              Brodie McMeowface
                                                              Data Representation
                                                              zeligho9
                                                              GCSE AQA Computer Science - Data Representation
                                                              cc .
                                                              Data Representation
                                                              N Wright
                                                              Data Representation
                                                              James Swire
                                                              Representing sound
                                                              Armando Cotugno
                                                              data representation: images
                                                              kiana se
                                                              Computing Revision YR8
                                                              Darius C
                                                              Data Representation
                                                              mj.bloomfield
                                                              Key Terms
                                                              jramsden09