Memory And Storage Flashcards
Name 2 character sets
- ASCII
*Unicode
What is the difference between Unicode and ASCII?
Unicode is universal (emojis, symbols, etc) (16 bits)
ASCII is general English characters (8 bits)
How is an image stored in a computer?
With pixels
What is a pixel?
A square represented by a binary code
What is represented by the binary code in a pixel?
Colour
How do you find file size of an image?
Colour depth x resolution
What is metadata?
Data about data (author, place image was taken)
How is sound stored in a computer?
The height of the wave (amplitude) is stored as binary
How many bytes in a kilobyte?
1000
How many bytes in a megabyte?
1,000,000
Explain why computers use binary
Computers only understand 0’s and 1’s so each character needs to be stored as binary to be understood
What is binary 0 + 0 ?
0
What is binary 0 + 1 ?
1
What is binary 1+1?
10
What is binary 1+1+1 ?
11
How many bits in a byte?
8
How many bytes in a kilobyte?
1000
How many bytes in a megabyte?
1000000
Why does a computer store data and instructions in binary?
Binary is one’s and zeros (on and off). A computer uses switches (on and off) to store data
Translate to denary: 01101001
105
Convert 78 to binary
01001110
Add 11001011 to 10010101
101100000
Name the five rules of binary addition
- 0 + 0 = 0
- 0 + 1 = 1
- 1 + 0 = 1
- 1 + 1 = 10
- 1 + 1 + 1 = 11
What happens in a binary shift two places to the left?
Multiply by 4
Convert 3C to binary
00111100