CS - Data Rep - Binary Flashcards
What is Machine Code?
The language that computers use to understand and process information using binary
Describe the denary system and the binary system
- denary = base 10 system, uses numbers 0-9
- binary = base 2 system, uses the symbols 0 and 1
What is an Overflow error?
When the result of a binary calculation is too long for a computer to process.
If the answer to a calculation is 9 bits but a byte an only fit 8 bits
What is a bit?
the smallest unit of data that a computer can process and store.
short for binary digit
What is a byte and what is a nibble?
Consists of 8 adjacent binary digits, each of which consists a 0 or 1. A nibble is half of this (4 bits)
What do the following formulas work out?
* 2ⁿ
* 2ⁿ - 1
- 2ⁿ = Num of bit patterns
- 2ⁿ - 1 = Highest num of binary codes
What is the highest and lowest binary code that is avaliable?
0 - Lowest
255 - Highest
(256 different binary codes)