data representation Flashcards
(41 cards)
What is a bit?
A bit is the smallest unit of data in computing and can have a value of 0 or 1.
What is a byte?
A byte is a group of 8 bits.
What is the base of the binary number system?
Binary is base 2.
What is the base of the hexadecimal number system?
Hexadecimal is base 16.
What are the hex digits for values 10 to 15?
A = 10, B = 11, C = 12, D = 13, E = 14, F = 15.
What is the purpose of hexadecimal in computing?
It simplifies long binary numbers and is easier for humans to read.
What is ASCII?
A character encoding system where each letter or symbol is represented by a binary value.
What is an image represented by in computers?
Pixels, where each pixel has a binary value representing colour.
What is the term for the number of bits used to store each pixel?
Colour depth.
What is a sound sample?
A measurement of the sound wave’s amplitude at a specific point in time.
What are the main units of data from smallest to largest?
Bit, Byte, Kilobyte (KB), Megabyte (MB), Gigabyte (GB), Terabyte (TB).
What is the purpose of data compression
To reduce the size of files, saving storage space and allowing faster transmission.
What is lossless compression?
A method that reduces file size without losing any data. The original file can be fully restored.
What is lossy compression?
A method that removes some data permanently, reducing file size but also quality.
What number base does binary use?
Base 2.
How is text represented in computers?
: Using character sets such as ASCII or Unicode.
How is sound represented in a computer?
Sound is captured as an analogue signal and converted to digital using sampling.
What is sampling?
Measuring the amplitude of an analogue sound wave at regular intervals.
What two factors affect the quality of a sampled sound?
Sample rate (samples per second) and bit depth (bits per sample).
What happens when the sample rate increases?
The sound quality improves and file size increases.
What is the formula to calculate sound file size?
File size = Sample rate × Bit depth × Duration × Number of channels.
How are images stored in a computer?
As a grid of pixels, with each pixel assigned a binary value to represent its colour.
What is resolution in an image?
The number of pixels in an image; higher resolution means more detail and larger file size.
What is colour depth?
The number of bits used to represent each pixel’s colour