T3: Data Representation

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/85

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:15 PM on 8/30/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

86 Terms

1
New cards

What is the binary number system?

A base 2 number system using only 0 and 1.

2
New cards

What is the denary number system?

A base 10 number system using digits 0-9.

3
New cards

How many bytes do most computers use to represent integers?

4 bytes

4
New cards

How many bits are in one byte?

8 bits.

5
New cards

What is a nibble?

4 bits or half a byte.

6
New cards

What is the size of 1 kilobyte (KB)?

1000 bytes.

7
New cards

What is the size of 1 megabyte (MB)?

1000 kilobytes or 1000x1000 bytes.

8
New cards

What is the size of 1 gigabyte (GB)?

1000 megabytes.

9
New cards

What is the size of 1 terabyte (TB)?

1000 gigabytes.

10
New cards

What does the Most Significant Bit (MSB) represent?

The bit with the largest value, located furthest to the left.

11
New cards

What does the Least Significant Bit (LSB) represent?

The bit with the smallest value, located furthest to the right.

12
New cards

What is hexadecimal?

A number system that uses base 16.

13
New cards

How do you convert hexadecimal to decimal?

Multiply the left-hand digit by 16 and add the units digits.

14
New cards

How do you convert decimal to hexadecimal?

Divide the decimal number by 16 to find the left-side hex digit; the remainder gives the units.

15
New cards

What is an overflow error in binary addition?

An error that occurs when the result of an addition exceeds the number of bits the computer can handle.

16
New cards

What effect does a binary shift left have?

It doubles the number.

17
New cards

What effect does a binary shift right have?

can very quickly multiply/divide a binary number by factor of 2, Loss of accuracy can occur if 1 or more bits are removed

18
New cards

What are character sets? + examples

Sets of letters, symbols, and digits that can be represented by a computer. ASCII and Unicode

19
New cards

What is ASCII + what language it represents?

A character set that encodes 128 characters into 7 bits binary codes, English

20
New cards

What is the difference between 7-bit and 8-bit ASCII?

7-bit ASCII encodes 128 characters, while 8-bit ASCII can encode 256 characters.

21
New cards

What does Unicode store and no. of bits?

16 bits (65536 combinations) and stores other characters from other languages + emojis

22
New cards

What is a bitmap image?

An image made up of pixels, where each pixel has a binary value representing its color.

23
New cards

What does image resolution refer to?

The concentration of pixels within a specific area

24
New cards

What does PPI and DPI mean?

PPI = Pixels per Inch DPI = Dots per Inch

25
New cards

What is color/bit depth + what can it be determined by?

The number of colors a pixel can represent, determined by the number of bits per pixel.

26
New cards

How to calculate colour/bit depth?

2^n n = number of bits

27
New cards

How does increasing bit depth affect image quality?

Higher bit depth allows for a greater range of colors and better image quality/resolution

28
New cards

What happens to file size when the physical size of an image increases?

No change in file size.

29
New cards

What do PBM images represent?

Portable bitmap images with 0 for white and 1 for black.

30
New cards

How is a (PBM) monochrome image represented in binary?

As a bit pattern, e.g., 0111, 0011, 0101, 1000. 0 = white, 1 = black

31
New cards

Why is hexadecimal used to represent colours?

Numerical values + hex easier for people to read, write + remember, Reduce errors if copied

32
New cards

How many bits are required to store one color in RGB format?

8 bits.

33
New cards

What is the total number of bits required for a whole pixel in RGB?

24 bits (16.8 million colours)

34
New cards

What does the term 'metadata' refer to in image files?

Data about data, such as color depth and resolution.

35
New cards

What is the purpose of an Analog to Digital Converter (ADC)?

To convert analog signals into digital signals.

36
New cards

What does sample resolution determine in sound sampling?

How closely the wave is sampled on the y-axis and number of bits used to record each measurement

37
New cards

What is the unit of measurement for sampling rate?

Hertz (Hz).

38
New cards

How do you calculate the size of a sound file in bits?

File size (bits) = sampling rate x resolution x duration.

39
New cards

How to improve recording quality?

more frequently sample sound (increase sample rate), more accurately record wave height

40
New cards

What is lossy compression?

Compression that removes some data, negatively affecting quality.

41
New cards

What are examples of a lossless music file format?

FLAC (Free Lossless Audio Codec), ALAC, WMA

42
New cards

What is the difference between lossy and lossless compression?

Lossy compression loses some data; lossless retains all original data.

43
New cards

What is Run Length Encoding (RLE)?

A compression technique that encodes data as frequency/data pairs.

44
New cards

What are the benefits of using compression?

Smaller files lead to faster transmission times and reduced traffic.

45
New cards

What file format is commonly used for photos with lossy compression?

JPEG.

46
New cards

How does sampling rate increase sound quality?

Improves recording quality by capturing more data points.

47
New cards

What is the purpose of a Digital to Audio Converter (DAC)?

To convert digital signals back into audio outputs.

48
New cards

What is the maximum number of colors that can be represented in a 24-bit image?

16.8 million colors.

49
New cards

What does a higher bit depth in sound sampling indicate?

More bits used per sample, leading to more accurate wave height measurement.

50
New cards

What is the significance of compression algorithms?

They reduce file size for easier storage and transmission.

51
New cards

What is the impact of digital artifacts in lossy compression?

They can cause visible or audible errors in images and sound.

52
New cards

How does lossless compression differ from lossy in terms of data retention?

Lossless compression retains all original data, while lossy does not.

53
New cards

What is the formula for calculating image size in bytes?

Size in Bytes = Width x Height x Colour Depth / 8.

54
New cards

What is the role of sampling rate in digital sound representation?

It affects the level of detail and accuracy in the digital representation.

55
New cards

How to Calculate Sound File Sizes

Files size (bits) = sampling rate x resolution x duration

56
New cards

Sampling rate?

how often sound is measured in Hz

57
New cards

Sampling resolution?

no. bits per sample

58
New cards

Higher values in sample rate and resolution?

better quality but larger file size

59
New cards

How to improve recording quality

More frequently we sample sound

More accurately we record wave height

60
New cards

What does lossy compression do MP3

Removes sounds that we can't easily hear or that least affect the perceived playback quality

61
New cards

How does lossy compression affect sound quality

Negatively affect sound quality: leaves out some data from original

62
New cards

What does lossless compression do?

Reduce file size when compressed but doesn't lose any info

63
New cards

Lossless music file formats

FLAC (Free Lossless Audio Codec)

ALAC (Apple Lossless Audio Codec)

WMA Lossless (Windows Media Audio)

64
New cards

Compression definition

algorithms which reduce file size

65
New cards

Decompression definition

process where compressed data is restored to its original format

66
New cards

Lossy Compression Types

JPG, GIF, MP3

67
New cards

Lossless compression Types

PNG, TIFF

68
New cards

What are digital artefacts

small mistakes from permanently losing data in lossy compression

69
New cards

How does lossless image compression work?

finds groups of repeating data and records the data once along with the number of repetitions

70
New cards

Run Length Encoding

Using frequency/data pairs to encode each run length of the same coloured pixel

71
New cards

Why Use Compression

Often used for files + data that are sent via the internet

Download times reduced

Data allowances go further

Possible to transmit video + music data streams as fast as they are playing

72
New cards

Benefits of Compression 6

Smaller files = fewer packets = Quicker to complete transmission

Reduces traffic over the internet

Reduces download times of video, sound + image files

Streaming is also possible as data can be sent as fast as the rate it is played

Images inside web pages appear faster

Reduces space on disk/servers

73
New cards

Buffering definition

when download speed is slower than the playback speed

74
New cards

Instructions to make a Huffman Tree DON't NEEd

1. Calculate how many times each character appears in the string.

2. Put these in order of least to most frequent.

3. Place the two least common characters along with their frequency in a binary tree. This is done by combining these in a new node and adding the individual frequencies of each character together.

4. Update the table showing the combined characters.

5. Take the next two frequent characters and repeat steps 3 and 4 using single letters first until all characters are combined.

75
New cards

File usage + type of compression of JPEG

photos, lossy

76
New cards

File usage + type of compression of PNG

images/photos, may include transparency, lossless

77
New cards

File usage + type of compression of ZIP

document compression, lossless

78
New cards

File usage + type of compression of GIF

simple images, may include animation, lossless

79
New cards

File usage + type of compression of MP4

video file format, lossy

80
New cards

File usage + type of compression of MP3

music format, lossy

81
New cards

File usage + type of compression of FLAC/ALAC

Lossless Music format (free/apple), lossless

82
New cards

Compression formula

(original-new) / original x 100

83
New cards

sound formula

rate resolution x time / 8

84
New cards

Binary --> Hex Conversion

1.Take binary number of 8 bits

2.Divide into two nibbles - 4 bits

3.Convert each nibble into its hex value the rejoin E.g. 11100101 = E5

85
New cards

How to calculate the number of possible combinations with number of bits

2^n n = number of bits (columns of 1s and 0s)

86
New cards

Why use Hex rather than Binary? 4

Much simpler to remember a hex value than a binary value, Quicker to write or type since hex digit only takes up 1 digit rather than 4 bits, People less likely to make an error with fewer digits, Easy to convert between hex and binary