click below
click below
Normal Size Small Size show me how
Byte, Var Types, Num
Graves Skill Struck Bytes, Variable Types, Numbers
| Term | Definition |
|---|---|
| Bit | The smallest unit of information that a computer can process. |
| Bit | A binary digit: 0 or 1. Eight of these is a byte. |
| A byte | Eight bits; equals one character on the screen, like “a” or “A”. |
| kilobyte | 1024 bytes; equals one half page of text. (10^3 bytes) |
| A megabyte | Over one million bytes (1024 kilobytes); equals text of 500 pages or one thick book. (10^6 bytes) |
| A gigabyte | Over one billion bytes(1024 megabytes); equals text of 500,000 pages or 1,000 thick books. |
| A terabyte | Over one trillion bytes (1024 gigabytes); equals text of 1,000,000 thick books. (10^12 bytes) |
| variable | a labeled container for information (data) |
| data types | usually refers to text (strings), numbers (integers or floats), and Booleans (true or false) |
| attributes | additional information (like appearance, or behavior) about an element. Usually comes in the form of a name and a value->name="value". |
| string | data in the form of characters surrounded by quotation marks |
| int | whole numbers |
| boolean | True or False |
| float | numbers with decimals--positive, negative or zero |