50 likes | 241 Views
Data Storage & binary numbers. Lecture 2 Computer Science TXPrep Year 4. Data. All data and instructions are stored in the computer’s memory in binary form. The smallest piece of a computer’s memory is called a BIT.
E N D
Data Storage & binary numbers Lecture 2 Computer Science TXPrep Year 4
Data • All data and instructions are stored in the computer’s memory in binary form. • The smallest piece of a computer’s memory is called a BIT. • A byte is a group of nits interpreted together. A byte is made up of 8 bits.
Bit, Bytes…..nibbles? • Bit: a 1 or a 0 • Nibble: 4 bits (used to convert from base 2 to bade 16) • Byte: 8 bits • 1K- 1 Kilobyte • 1M-1 Megabyte • 1G-1 Gigabyte • BAUD-Bits per second
BINARY NUmbers • We generally evaluate binary numbers in base 2. • Subscript denotes the base. • 128 64 32 16 8 4 2 1 are the values