2.6 Data Representation COMPLETE Flashcards
What is the order of data size?
Bit - single digit (0 or 1) Nibble - 4 bits Byte - 8 bits Kilobyte - 1024 bytes Megabyte - 1024 KB Gigabyte - 1024 MB Terabyte - 1024 GB Petabyte - 1024 TB
How do computers understand binary?
They don’t understand the numbers 1 and 0, they understand flashes of electricity that pass through the transistors.
1 = Electricity pulse
0 = No electricity pulse
What number system is binary?
Base 2:
2 possibilities - 1 or 0).
Define vector
An image drawn by a set of mathematical formulas and can be scaled infinitely without any loss in quality.
Every line and shape has a value that changes when the image expands.
Define bitmap
Page is divided into an invisible grid and each pixel is assigned a colour in binary (colour depth).
Higher bit depth = Higher image quality.
What is PPI and DPI?
Pixels per inch.
Dots per inch.
What happens if a pixel is to represent more than 1 colour?
We need to use more bits to make a range of colours available.
How do you find out how many bits represent colours?
2 to the power of the number of bits = number of colours.
1 bit = 2 colours.
2 bits = 4 colours.
3 bits = 8 colours.
What happens with greater colour depth?
The more:
Realistic colours there are
Data needs to be stored.
File size on the disk is needed.
What happens with higher resolution?
There are more pixels, higher quality and higher image file size.
What is digital sound broken down into?
Thousands of samples per second - each of which are stored as binary data.
What does the quality of the samples depend on?
1) Sample frequency.
2) Sample size / bit depth.
3) Bit rate.
Define sample rate
No. of audio samples captured every second.
Define analogue
Made up of a variation of dynamic and frequencies.
Define sampling
Recording snippets of sounds at set intervals.
Define character set
The possible characters that can be represented in a computer system.
E.g. ASCII and Unicode.
Define metadata
Image data that allows the computer to recreate the image from the binary data in the file.
Examples: Dimensions. Number of bits per pixel. Location. Data and File type.
Define image size
Width and height of a bitmapped image, measured in pixels.
If an image has its colour depth increased what is the effect?
The file size is bigger.
Define overflow error
When the binary number is too big than actually possible
What are the hexadecimal numbers compared to denary numbers?
A = 10 B = 11 C = 12 D = 13 E = 14 F = 15
Define lossy compression
The file is compressed and data is lost. It compresses more than lossless
Should be used in audio files.
Define loseless compression
The file is compressed; no data has been lost (file size is just smaller, but it isn’t as compressed as lossy ).
Should be used in text documents.
What is the effect of multiplying the binary number by 2?
The number is shifted to the left by 1 bit
What is the effect of dividing a binary number by 2?
The number is shifted to the right by 1 bit
Define underflow
When the binary number is too small than actually possible
All data processed by a computer must be converted into ______ format
binary
A computer processor uses billions of ___________ acting as switches, which only act on the binary states on and off
transistors
All data and instructions in a computer are represented by…
the binary digits 1 (on) and 2 (off)
What binary digit represents ‘on’?
1
What binary digit represents ‘off’?
0
To be processed, instructions and data are converted to…
strings of 1s and 0s
Images and sounds must be _________ to be processed
digitised
What do inputs such as the keyboard and mouse send to the processor to be processed?
Combinations of 1s and 0s
One unit, either a 1 or a 0, is called a…
bit
What is bit short for?
Binary digit
True/False: More than one digit is needed to represent an item of data (such as a letter), in binary
True
True/False: Bits are organised into groups
True
4 bits = 1…
nibble
8 bits = 1…
byte
True/False: Bytes are grouped into small units
False, they are grouped into larger units
How many bytes are in a kilobyte?
1000
How many kilobytes are in a megabyte?
1000
How many megabytes are in a gigabyte?
1000
How many gigabytes are in a terabyte?
1000
How many terabytes are in a petabyte?
1000
What is the abbreviation for kilobyte?
KB
What is the abbreviation for megabyte?
MB
What is the abbreviation for gigabyte?
GB
What is the abbreviation for terabyte?
TB
What is the abbreviation for petabyte?
PB
How many bytes are there exactly in a kilobyte?
1024
When performing calculations, how many bytes do we say are in a kilobyte?
1000
The binary system is a base-_ number system
2
Why is the binary system a base-2 number system?
It uses two digits, 0 and 1
The denary system is a base-__ number system
10
Why is the denary system a base-10 number system?
It uses 10 digits, 0 to 9
The hexadecimal system is a base-__ number system
16
Why is the hexadecimal number system a base-16 number system?
It uses 16 digits, 0 to 15
In any system, the value associated with any digit is given by its…
place value
The value of each position in place value increases as the…
power of its base
What is the value of the 1st digit in an 8-bit binary number?
128
What is the value of the 2nd digit in an 8-bit binary number?
64
What is the value of the 3rd digit in an 8-bit binary number?
32
What is the value of the 4th digit in an 8-bit binary number?
16
What is the value of the 5th digit in an 8-bit binary number?
8
What is the value of the 6th digit in an 8-bit binary number?
4
What is the value of the 7th digit in an 8-bit binary number?
2
What is the value of the 8th digit in an 8-bit binary number?
1
What is 10 to the power of 7?
10,000,000
What is 10 to the power of 4?
10,000
True/False: You can convert denary numbers with values from 0 to 255 into 8 bit binary numbers
True
To convert numbers above 255 to binary, more ____ are required than 8 bit binary
bits
What are denary numbers also called?
Decimal numbers
Convert 234 to binary
11101010
Convert 42 to binary
00101010
Convert 87 to binary
01010111
Convert 67 to binary
01000011
Convert 12 to binary
00001100
Convert 6 to binary
00000110
Convert 124 to binary
01111100
Convert 183 to binary
10110111
Convert 132 to binary
10000100
Convert 245 to binary
11110101
How can you check you are correct in a denary to binary conversion?
By converting your binary number back into a denary number
True/False: Binary numbers can also be converted to denary numbers
True
What is 10001010 in denary?
138
What is 01011101 in denary?
93
What is 11010110 in denary?
214
What is 00011010 in denary?
26
What is 10100101 in denary?
165
What is 10101010 in denary?
170
What is 01010101 in denary?
85
What is 10010101 in denary?
149
What is 1 + 0 in binary addition?
1
What is 0 + 0 in binary addition?
0
What is 1 + 1 in binary addition?
10, you need to write the 0 and carry the 1 to the left
When do overflow errors occur?
When a calculation produces a result that is greater than the computer can deal with