Fundamentals of Data Representation Flashcards
(59 cards)
Byte
8 bits
Nibble
4 bits (half a byte)
Kilobyte
1,000 bytes
Data
Numbers, symbols, or alphanumeric characters in their raw format before processing
Analogue Data
The continuous stream of data that our senses process on a daily basis
Digital Data
Data that’s represented by values of 0 and 1 so that a computer can process it
What base-system does binary use?
Base-2
What base-system does Denary use?
Base-10
What’s the maximum value that 8-bit binary can represent?
255
What are the two possible states of a binary digit?
A binary digit can either be 1 (ON) or 0 (OFF)
What base-system does the Hexadecimal number system use?
Base-16
What are the 16 digits of hex?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
What is Hex used for in computing?
- HTML colour codes
- Error messages
- Media Access Control (MAC) addresses
- Internet Protocol (IP) addresses
Why is hex more commonly used than binary in computing?
It’s simpler than binary and easier to read/remember
What are the 5 rules of binary addition?
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 0 = 1
- 1 + 1 = 0 carry one
- 1 + 1 + 1 = 1 carry 1
Binary Overflow
This occurs in binary addition when the sum of two binary numbers is greater than the number of bits allowed
Binary Shift
A binary shift moves all of the bits in a binary number to the left/right by a given number of spaces. The empty spaces left are then filled with zeroes
What is the coding operator for a bit shift to the left
«
What is the coding operator for a bit shift to the right?
> >
What would a coding operator of «3 mean?
A binary shift of three places to the left
What would a coding operator of»_space;2 mean?
A binary shift of 2 places to the right
If a binary number has been shifted to the left, what have you (mathematically) done to it?
Multiplied it by 2 for each shift to the left
If a binary number has been shifted to the right, what (mathematically) has happened to the number?
It’s beeen divided by 2 for each shift to the right
Why would a precision issue occur if you divided an odd binary number?
Binary cannot represent fractional values, so would not be equivalent to the true result of the calculation.