Representing Data
- Created by: MikeZara
- Created on: 08-04-16 19:48
View mindmap
- Representing Data
- Binary
- Numbers in a computer are represented in binary
- Binary is Base 2, so it only uses 2 digits (0 and 1)
- Adding Binary
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 1 = 0 Carry 1
- 1 + 1 + Carried 1 = 1 Carry 1
- An overflow error occurs when the result of a binary calculation is larger than the allocated memory
- 128|64|32|16|8|4|2|1
- Hex
- Hex is Base 16
- After counting 0-9 normally, hex then goes A-F instead of 10-15
- Sound
- Hz/Sample Rate = the amount of samples from the analogue wave taken a second
- Higher sample/ bit rate = higher quality BUT larger file size
- Bit rate = the number of memory bits used to store each sound sample
- Lossy Compression = Worse quality, smaller file
- Used when there is not much repeated data. Removes unnecessary data (e.g. sounds most listeners couldn't hear)
- Lossless Compression = Original quality, larger file
- Stores identical data only once, and indexes how many times it appears
- Characters
- ASCII (American Standard Code for Information Interchange)
- 8-bits per character, 128 Characters (256 possible), English only
- Unicode
- 16 bits per character, 65536 characters
- Computers give each character a unique binary code, a Code Point
- Character Set = a particular range of characters
- Example = Latin1: all the English characters (123, abc, ABC)
- ASCII (American Standard Code for Information Interchange)
- Binary
Comments
No comments have yet been made