Unit 2 Vocab - Binary/Data Terms
Definitions and examples
Term | Definition | Example |
---|---|---|
Binary Data | ||
Bits | The smallest unit of data that a computer can process and store, with two possible states represented by single binary value, 0 or 1 | 1 0 1 1 0 1 0 0 |
Bytes | A unit of data consisting of 8 bits | 1 0 1 1 0 1 0 0 |
Nibbles | A unit of data consisting of 4 bits, or, half a byte | 1 0 1 1 |
Hexadecimal | A numbering system with base 16, used to represent large number with fewer digits. 16 possible symbols: 0 through 9, then A through F. Used to represent digital data because it has fewer digits than binary. | |
Binary Numbers | ||
Unsigned Integer | Integers with no + or -, meaning they can only be zero or positive values, represented as a binary number | |
Signed Integer | A 32-bit datum that encodes an integer in the range [-2147483648 to 2147483647] | |
Floating Point | A positive or negative whole number with a decimal point. Method is float(). | i = 5.5 |
Binary Data Abstractions | ||
Boolean | Datatype that has two possible values, true or false. | x = True |
ASCII | A common set of conventions established for converting between binary values and alphanumeric characters. 27 values (7 bits) can represent 123 different characters. | |
Unicode | A binary encoding system that can represent more of the world's text than ASCII. Unicode allows computers to represent most languages' alphabets, not just English. 216 values (16 bits) can represent 65,536 different characters. | 😁 I implemented this using: &# 128513 ; |
RGB | (Red, green, and blue). Refers to a system for representing the colors to be used on a computer display. Red, green, and blue can be combined in various proportions to obtain any color in the visible spectrum. | rgb(250, 100, 75) |
Data Compression | ||
Lossy | Compression that reduces file size by permanently removing some of the original data | |
Lossless | Compression that reduces file size by removing unnecessary metadata |