2.3 Flashcards
1
Q
Bit
A
single binary digit
2
Q
Byte
A
Collection of 8 bits
3
Q
Word
A
Total number of bits that can be manipluated as a single unit by the CPU
4
Q
Why is Hex used
A
- Acts as a short hand for binary
- Required fewer charecters than binary
5
Q
Standardised charecter sets
A
- Each charecter is mapped to a binary number
- Ensures that computers use the same charecter representation and can transfer meaningful data
6
Q
Unicode
A
- Can represent larger range of charecters that ASCII
- Allows the storage of complex charecters such as chinese charecters and emojis
7
Q
Truncation/ Rounding Error
A
- Continued use in further calculations cause inaccuracy
- Test for equality might fail if a minor difference is caused by rounding
8
Q
Relative Error
A
(Absolute Error/ Original) * 100
9
Q
Logical Shift
A
- Should be used on unsigned intergers only
- Does not maintain sign bit
10
Q
Logical Shift Left Errors
A
- Overflow beyond the maximum number that can be stored
- Underflow where all the 1s disapear and left with 0, number is too big
11
Q
Logical Shift Right Errors
A
- Underflow where all the 1s disappear and you are left with 0
- Number is too small for the computer to store
12
Q
Arithmetic Shift
A
- Can be used on signed or unsigned intergers
- Maintains the sign bit when shifting right
13
Q
Arithmetic Shift Right Errors
A
Underflow: number is too small for the computer to store
14
Q
Arithmetic Shift Left Errors
A
Overflow: Number is too big for the computer to store