Download in
Google Play
12
Share
Save
Sign up
Access to all documents
Join milions of students
Improve your grades
By signing up you accept Terms of Service and Privacy Policy
Sign up
Access to all documents
Join milions of students
Improve your grades
By signing up you accept Terms of Service and Privacy Policy
130 zon Data Representation Representing data: A bit is a single binary digit. Binary has only 1.0 Bit Nibble Byte Kilo Byte (KB) Unit 0 mega Byte (ms) Giga Byte (GB) 1,000 bytes 1,000,000 bytes 1,000,000,000 bytes 1,000,000,00⁰,000 bytes Tera Byte (TB) peta Byte (PB) 1.000,000,000,000,000 bytes 0 two states represented by Bit can take two different values (0.1) Nibble cantake 24 = 16 different values Byte can take 2= 256 different values Binary and Denary 0= 0 8 = 1000 12=1100 9-1001 13-1101 101010 14-1110 11=1011 16:1111 Size Single binary digit (1,0) 4 bits 8 bits 4-100 1:1 5-101 2-10 6:110 3=11 7:111 Converting Binary to Denory. 128 64 32 16 8 4 0 00 O 00 00 L 000 11 OO 000 O 1 O Converting Denary to Bindry Denary 128 64 32 16 8 4 21 00001011 00101000 2 I penary 1 1 2+1=3 1 -bl 1 O 40 107 169 10101001 233 11101001 0100 011 32+1=33 0123+2=130 1128 +64 +50 lo Key Terms • Bit · Binary • Nibble · Byte Binary Addition • 0+0=0 1+0=1 01 +1=10 (binary, denary for 2) • 1+1+1=11 (binary for denary 3) Example Add 01+ 10 1+0=1 0+1=1 Add 01 +101 1+1=0 cary 1 1+0+0=1 0 1+0+0= 1 1+1=0 cary 1 1+0+1=0 carry 1 1+₁+1=1 Carry" | 1+0+0=1 +10 + 00 100 100 00010010 01 Add 01010011+ 01110110 1+0=1 1+1=0 Cary 1 1+0+1=0 cary 1 Each Shift to the left is 2 -3 01 110=6 +01110 110 • kilo byte • megabyte 01010011 Overflow occurs when the result of a Calculation requires more bits (place values) than are in the avalible range Binary Shift E.go If we shift Each shift to the 00001111 right is 2 11001001 I 18-10-22 00111100 32+4=36 36÷2=18 O 16+2=18 32+16+8+4= 60 giga byte 1+2+4+8= 15 15x2-30 30x2=60 Hexadecimal Number system with base 16 • it uses o through a and A through F Denary Her I I 2 4 564852= MIS O 7 10 12 13 14 15 600--13 2 3 ADJF - 5 u 5 6 1 8 9 A ه ماله له B E F 16 I benary_ O 1 1 10 O 16 1234 41 20 Binary 0001 0010 0011 31 49 0100 0101 0110 0111 1000 1001 1010 1011 11 01 1110 0000 Hex Einary. 01 00000001 A 00001010 10...
iOS User
Stefan S, iOS User
SuSSan, iOS User
00010000 00010100 00011111 31 0011001 14 IF L Images Charachter Sets Common Character sets: • Unicode American Standard code for Information Interchange (Asc) ASCIL Seven bits, giving a charachter set of 128 charachters. They include: •32 control codes (mainly to do with Printing) 32 punctuation codes symbols & space 26 upper case letters 26 Lower case letters numeric digits 0-9 Extended AS Eight bit giving a charachter set for 256 charachters, allowing special charachters such as accents in languages e.g. é‚ô ü. Unicode: 16-bit, giving a range of over 65,000 Charachters, which can support other languages like Chinese, Hindi, korean and many more. Pixel: olmages are made up of dots called pixels. • Pixel= picture element -If the image is enlarged it becomes blurry or pixelated. Using 1-bit we can only have two clours. e-g black (1) white (0) If a pixel needs to show more colours it needs more bits greater range of colours are avalible Colour depth: Colour depth = the number of bits used to Store the colour of a single pixel in an image. The more bits per pixel (opp) the greater colour depth. Bit map 8X8 Hex 00011000 18 01 VI 110 TE OLILO TE FF FF 0111 000 O OTE 000 18 TE Denary 24 126 126 140 240 126 126 24 Resolution number of pixel per inch PPI also referred to as DPL Higher Resolution = more ppi = larger file size Calcultaling file size: •Total Bits number of Pixel x colour depth • Total Bytes = Total bits / 8 • Number of Pixel = width x height (pixel) 1000 X 800 xu - 3200000 3200000/8 = 400 000 bytes An image is 1000 pixels wide and 800 pixel colour depth = abpp File size: 400 000 bytes (wookb)
Topic 1 Data units
14 Followers
9
Binary, Logic Gates, Hexadecimal, Hexadecimal conversions, Unicode, Bitmaps (Resolution, Colour depth, Concentration)
18
This is a big topic, my notes on data storage in computing. This covers numbers, characters, images and sounds. For notes on units and compression, please check my profile
40
course notes
0
Topics include; processor structure, binary and denary, representing graphics and translator programs
13
Concise notes covering every topic under 1.4 Data Types, Data Structures and Algorithms
23
Some small questions
130 zon Data Representation Representing data: A bit is a single binary digit. Binary has only 1.0 Bit Nibble Byte Kilo Byte (KB) Unit 0 mega Byte (ms) Giga Byte (GB) 1,000 bytes 1,000,000 bytes 1,000,000,000 bytes 1,000,000,00⁰,000 bytes Tera Byte (TB) peta Byte (PB) 1.000,000,000,000,000 bytes 0 two states represented by Bit can take two different values (0.1) Nibble cantake 24 = 16 different values Byte can take 2= 256 different values Binary and Denary 0= 0 8 = 1000 12=1100 9-1001 13-1101 101010 14-1110 11=1011 16:1111 Size Single binary digit (1,0) 4 bits 8 bits 4-100 1:1 5-101 2-10 6:110 3=11 7:111 Converting Binary to Denory. 128 64 32 16 8 4 0 00 O 00 00 L 000 11 OO 000 O 1 O Converting Denary to Bindry Denary 128 64 32 16 8 4 21 00001011 00101000 2 I penary 1 1 2+1=3 1 -bl 1 O 40 107 169 10101001 233 11101001 0100 011 32+1=33 0123+2=130 1128 +64 +50 lo Key Terms • Bit · Binary • Nibble · Byte Binary Addition • 0+0=0 1+0=1 01 +1=10 (binary, denary for 2) • 1+1+1=11 (binary for denary 3) Example Add 01+ 10 1+0=1 0+1=1 Add 01 +101 1+1=0 cary 1 1+0+0=1 0 1+0+0= 1 1+1=0 cary 1 1+0+1=0 carry 1 1+₁+1=1 Carry" | 1+0+0=1 +10 + 00 100 100 00010010 01 Add 01010011+ 01110110 1+0=1 1+1=0 Cary 1 1+0+1=0 cary 1 Each Shift to the left is 2 -3 01 110=6 +01110 110 • kilo byte • megabyte 01010011 Overflow occurs when the result of a Calculation requires more bits (place values) than are in the avalible range Binary Shift E.go If we shift Each shift to the 00001111 right is 2 11001001 I 18-10-22 00111100 32+4=36 36÷2=18 O 16+2=18 32+16+8+4= 60 giga byte 1+2+4+8= 15 15x2-30 30x2=60 Hexadecimal Number system with base 16 • it uses o through a and A through F Denary Her I I 2 4 564852= MIS O 7 10 12 13 14 15 600--13 2 3 ADJF - 5 u 5 6 1 8 9 A ه ماله له B E F 16 I benary_ O 1 1 10 O 16 1234 41 20 Binary 0001 0010 0011 31 49 0100 0101 0110 0111 1000 1001 1010 1011 11 01 1110 0000 Hex Einary. 01 00000001 A 00001010 10...
130 zon Data Representation Representing data: A bit is a single binary digit. Binary has only 1.0 Bit Nibble Byte Kilo Byte (KB) Unit 0 mega Byte (ms) Giga Byte (GB) 1,000 bytes 1,000,000 bytes 1,000,000,000 bytes 1,000,000,00⁰,000 bytes Tera Byte (TB) peta Byte (PB) 1.000,000,000,000,000 bytes 0 two states represented by Bit can take two different values (0.1) Nibble cantake 24 = 16 different values Byte can take 2= 256 different values Binary and Denary 0= 0 8 = 1000 12=1100 9-1001 13-1101 101010 14-1110 11=1011 16:1111 Size Single binary digit (1,0) 4 bits 8 bits 4-100 1:1 5-101 2-10 6:110 3=11 7:111 Converting Binary to Denory. 128 64 32 16 8 4 0 00 O 00 00 L 000 11 OO 000 O 1 O Converting Denary to Bindry Denary 128 64 32 16 8 4 21 00001011 00101000 2 I penary 1 1 2+1=3 1 -bl 1 O 40 107 169 10101001 233 11101001 0100 011 32+1=33 0123+2=130 1128 +64 +50 lo Key Terms • Bit · Binary • Nibble · Byte Binary Addition • 0+0=0 1+0=1 01 +1=10 (binary, denary for 2) • 1+1+1=11 (binary for denary 3) Example Add 01+ 10 1+0=1 0+1=1 Add 01 +101 1+1=0 cary 1 1+0+0=1 0 1+0+0= 1 1+1=0 cary 1 1+0+1=0 carry 1 1+₁+1=1 Carry" | 1+0+0=1 +10 + 00 100 100 00010010 01 Add 01010011+ 01110110 1+0=1 1+1=0 Cary 1 1+0+1=0 cary 1 Each Shift to the left is 2 -3 01 110=6 +01110 110 • kilo byte • megabyte 01010011 Overflow occurs when the result of a Calculation requires more bits (place values) than are in the avalible range Binary Shift E.go If we shift Each shift to the 00001111 right is 2 11001001 I 18-10-22 00111100 32+4=36 36÷2=18 O 16+2=18 32+16+8+4= 60 giga byte 1+2+4+8= 15 15x2-30 30x2=60 Hexadecimal Number system with base 16 • it uses o through a and A through F Denary Her I I 2 4 564852= MIS O 7 10 12 13 14 15 600--13 2 3 ADJF - 5 u 5 6 1 8 9 A ه ماله له B E F 16 I benary_ O 1 1 10 O 16 1234 41 20 Binary 0001 0010 0011 31 49 0100 0101 0110 0111 1000 1001 1010 1011 11 01 1110 0000 Hex Einary. 01 00000001 A 00001010 10...
iOS User
Stefan S, iOS User
SuSSan, iOS User
00010000 00010100 00011111 31 0011001 14 IF L Images Charachter Sets Common Character sets: • Unicode American Standard code for Information Interchange (Asc) ASCIL Seven bits, giving a charachter set of 128 charachters. They include: •32 control codes (mainly to do with Printing) 32 punctuation codes symbols & space 26 upper case letters 26 Lower case letters numeric digits 0-9 Extended AS Eight bit giving a charachter set for 256 charachters, allowing special charachters such as accents in languages e.g. é‚ô ü. Unicode: 16-bit, giving a range of over 65,000 Charachters, which can support other languages like Chinese, Hindi, korean and many more. Pixel: olmages are made up of dots called pixels. • Pixel= picture element -If the image is enlarged it becomes blurry or pixelated. Using 1-bit we can only have two clours. e-g black (1) white (0) If a pixel needs to show more colours it needs more bits greater range of colours are avalible Colour depth: Colour depth = the number of bits used to Store the colour of a single pixel in an image. The more bits per pixel (opp) the greater colour depth. Bit map 8X8 Hex 00011000 18 01 VI 110 TE OLILO TE FF FF 0111 000 O OTE 000 18 TE Denary 24 126 126 140 240 126 126 24 Resolution number of pixel per inch PPI also referred to as DPL Higher Resolution = more ppi = larger file size Calcultaling file size: •Total Bits number of Pixel x colour depth • Total Bytes = Total bits / 8 • Number of Pixel = width x height (pixel) 1000 X 800 xu - 3200000 3200000/8 = 400 000 bytes An image is 1000 pixels wide and 800 pixel colour depth = abpp File size: 400 000 bytes (wookb)