Unit 2 - Data Representation Flashcards
(39 cards)
What is the binary number system?
Computers use a binary number system consisting of only 0s and 1s. Everything a computer needs to process must be converted to a binary format.
What is the order of file size from smallest to biggest?
Bit (b)
Byte (B)
Kilobyte (KB)
Megabyte (MB)
Gigabyte (GB)
Terabyte (TB)
Petabyte (PB)
How much is is a bit?
A single 0 or 1.
How much is a nibble?
4 bits
How much is a byte?
8 bits - one character of text
How much is a Kilobyte?
1000 bytes
How much is a Megabyte?
1000 KB
How much is a gigabyte?
1000 MB
How much is a terabyte?
1000 GB
How much is a petabyte?
1000 TB
What is denary?
It is a base 10 number system with 10 digits 0-9
What is an overflow?
The generation of a number that is too large to be represented by the device intended to store it.
What is hexadecimal (or hex)?
A numerical system of notation that uses 16 rather than 10 as its base. The 16 hex base digits are 0 – 9 and the letters A – F.
How would you convert hex to denary?
Multiply the left side by 16 and add the units.
For example 2D: 2*16 = 32…………..32 + D(13) = 45
What are binary shifts?
Allows you to easily multiply or divide a base-2 binary number. A left shift multiplies the number by 2, while a right shift divides it by 2.
Why use hex?
It’s much simpler to remember hex than binary. It is quicker to write, less likely to make an error, and easy to convert.
How would you convert denary to hex?
Divide the denary by 16. This would give the left-hand hex digit. The remainder would be the units.
What is ASCII?
ASCII (American standardised code for information interchange) is a character set devised for early telecommunication systems but proved to be ideal for computer systems. Uses 7 bits, providing 32 control codes and 96 displayable characters. The eighth bit is often used for error checking.
What is Unicode?
Standard character set that replaces the use of multiple different character sets. Incorporates characters from almost all global languages. A 16-bit extension of ASCII.”
What are the 5 different image file formats?
. BMP - Bitmap
. JPG -
. TIFF
. PNG
. GIF
What are pixels?
The smallest unit of a digital image or graphic that can be displayed on a digital device. A pixel is represented by a dot or square on a computer display. Each pixel would have a colour represented by a binary number. The colour can change by changing the binary number.
What is colour depth?
Colour depth, or bit depth, is the number of bits used for each pixel.
1 bit per pixel = 2¹ = 2 colours
2 bit per pixel = 2² = 4 colours
3 bit per pixel = 2³ = 8 colours
A higher bit depth gives us a greater range of colour and a better quality image.
What is resolution?
Resolution is the concentration of pixels within a specific area. The area is defined by the image width and height in pixels.
How would you calculate image file size?
The total size of an image file in storage. Size in bits = Width in pixels * Height in pixels * Colour depth in bits.