Data Representation

aiden williams
Mind Map by aiden williams, updated more than 1 year ago
aiden williams
Created by aiden williams about 4 years ago
21
1

Description

Din ghal min ghandu il computer studies

Resource summary

Data Representation
1 Binary
1.1 Unsigned
1.1.1 00101011 = 43
1.1.1.1 0------- => Most Significant Bit (MSB)
1.1.1.2 -------1 => Least Significant Bit (LSB)
1.1.1.3 2^n -1
1.1.1.3.1 8-Bit 0-255 (256 values)
1.2 Signed
1.2.1 Sign and magnitude
1.2.1.1 -43 = 10101011
1.2.1.1.1 MSB = Signed Bit (1 = - , 0 = +)
1.2.1.1.2 Rest = positive number
1.2.2 2s compliment
1.2.2.1 binary number (59) l 00111011 one's compliment l 11000100 ................................+1................ two's compliment = 01000101 (-59)
1.3 Binary Coded Decimal
1.3.1 123 => 1 = 0001, 2 = 0010 , 3 = 0011
1.3.2 -37 = 1011 , 0000 , 0011 , 0111
1.3.3 Every digit has it's own binary representation
1.4 Binary Arithmetic
1.4.1 Addition
1.4.1.1 10011101 + ------------------- 11001110 ------------------- 01101011
1.4.2 Subtraction
1.4.2.1 43 +- (20) 43 = 00101011 ..........20 = 00010100 .........-20 = 11101100 ........43-20 = 00101011 + ..................11101100 ................X00010111
1.4.2.1.1 X = Arithmetic Flow
1.4.3 Multiplication
1.4.3.1 11100 * 101 ------------------- 111100 ------------------- 1000000 ------------------- 1110000 ------------------- 10001100
1.4.3.1.1 Long Multiplication
2 Representation of chars
2.1 ASCII (8-bit)
2.2 UNICODE (16 - bit)
2.2.1 ASCII into Unicode (will work) Unicode into ASCII(won't since file is bigger)
2.3 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
3.1 Raster
3.1.1 Stored in pixels
3.1.2 Ex: 320 * 200 (8 bit) = 64000 * 1 byte (if 16 -bit *2 bytes)
3.1.3 Storage depends on resolution
3.1.4 (jpeg, gif, bmp, tiff, png)
3.1.4.1 supports transparancy (kaxex bojod u grizi)
3.2 Vector
3.2.1 stored in shapes
3.2.2 Image only resized quality is not restored
3.2.3 (wmf , CAD)
4 Representation of Sound
4.1 Wave for Audio
4.1.1 MP3
4.1.2 sampling rate directly proportional to quality (24bit - 48k quality)
4.2 MIDI
4.2.1 Stores as a series of instrument and sounds on soundcard
4.2.2 Synthesizers, soundcards (Mother and Father to baby Wub)
5 Hexadecimal
5.1 0-9 read as integers
5.1.1 10-15 read as A-F
5.2 Bin- Hex Hex - Bin
5.2.1 Kemm taqsamom go 4-bit
5.3 23c= 16^2*2 + 16^1 + *3 16^0 * 12 572 -------
5.4 Dec - Hex
5.4.1 350
5.4.1.1 21r l E 1 r .l 5 0 r l 1
5.4.1.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
data representation: images
kiana se
Representing sound
Armando Cotugno
Data Representation
mj.bloomfield
Key Terms
jramsden09
Unit 2: Data Representation
elgraney