Unit 2 - Data Representation✔️ Flashcards
How many bits in a byte?
8 bits
How many bytes in a kilobyte?
1000 bytes
How many megabytes in a gigabyte?
1000 megabytes
What is a hexadecimal?
• Hexadecimal (or hex) is a number system which uses base 16
Advantages of using hex rather than binary?
• It is much simpler to remember a hex value than a binary value
• It is quicker to write or type since a hex digit only takes up one digit rather than 4 bits
• People are less likely to make an error with fewer digits
• It is easy to convert between hex and binary
What is an overflow and how it is caused?
• When the result of an addition is too large for the number of bits the computer works with there will be an overflow error
What hapens with a binary shift?
• A binary shift moves all the bits one place to the left or right
What is a character set?
• All of the characters that a computer can use are called a character set .
What are the two major character sets?
• ASCII
• Unicode
What is ASCII?
• ASCII (American Standard Code for Information Interchange) has become the standard code, used worldwide
How many bits are used in extended ASCLL to represent a character?
8 bits
How many characters does ASCLL allow for?
256
How many combinations with 16 bit unicode?
65,536 possible combinations
How many combinations with 32 bit verion?
4,294,296 possible combinations
Example of Bitmap file formats?
-JPG
-GIF
-PNG
Define a pixel?
Pixel is the smallest identificable area of an image - each pixel is a single colour and is given a binary value which repersents that colour
What is each pixel given in an image?
A single colour repersented by a binary value
What is resolution?
Is the concentration of pixels within a specific area
*Area defined by the image width and height in pixels eg 1920 x 1080