Topic 2 Flashcards
(43 cards)
Pneumonic for names of data sizes
By numerous boats, kill many gay, trans people
How much is a bit?
A singlar the binary digit
How much is a nibble?
Four bits
How much is a kilobyte?
1000 bytes
How many kilobytes in a megabyte?
1000
How many megabytes in a gigabyte?
1000
How many gigabytes in a terabyte?
1000
How many terabytes in a petabyte?
1000
What is an overflow error?
When a calculation has more than eight bits so causes an overflow
What happens to a Binary number one shifted left
Doubles
What happens to a binary number when it shifts
It divides by two
Which is the first number to turn into a letter in hexa decimal
10 and it is a
How to convert binary into hex
Split the byte into nibbles ( 8 into two 4s)
Convert nibbles into hex
What is ASCII
The most commonly used character set it consists of 128 characters including letters numbers and symbols and use a 7 bit binary code to identify each character
What is Unicode
Another character set that try’s to cover ever possible symbol or letter that could be written it covers all major languages
Formula for file size in bits for characters
Number of bits per character x number of characters
How are images stored
In a series of pixels represented by binary
How to increase number of colours in a photos?
Make a greater range of number of bits
What is colour depth
Number of bits used for each pixel
Formula for working out total number of colours in a photo
2^n where n = colour depth
What is image resolution
The number of pixels in an image
Formula for resolution
Width x height
Formula to work out file size of an image
Image resolution x colour depth
Or
Width x height x colour depth
What is metadata
The information stored in an image file which helps the computer recreate the image on screen from the binary data