Computer Systems Flashcards
What do computers store all data as?
Binary numbers (base 2, 1s and 0s)
How are integers stored
Twos complement
Range of positive integers?
2^n‐¹ -1
Range of negative integers
-2^n‐¹
How do you know if binary is positive or negative?
Most significant bit (MSB) 0=POSITIVE 1=NEGATIVE
How are real numbers stored?
Using floating point representation
Mattissa determines what?
The accuracy of the number
Exponent determines what?
The range of the number
Increasing the number of bits for the Mantissa and decreasing the number of bits for the exponent does what?
Increases accuracy but decreases range
Unicode advantages?
Represents a large variety of languages including emojis UTF-16 HAS 65 536 characters UTF-32 HAS over 4 mill
Unicode disadvantage?
Takes up double the storage
Bitmap advantages
- Able to edit at pixel level
- Realistic images
- Same appearance in all systems regardless of hardware or software.
Bitmap disadvantage?
- Scaling causes pixelization
- Only the image can be edited.
- Difficult to convert to vector formats.
- File sizes can be large.
Vector graphic advantages
- Individual objects can be easily edited
- Smaller files
- Can be scaled to large sizes, keeping quality.
Vector graphic disadvantages?
- Unable to edit on pixel level
- Unrealistic images
- Resolution dependent
Bit depth
Number of bits used to store each pixel in a image