data representation Flashcards

(41 cards)

1
Q

What is a bit?

A

A bit is the smallest unit of data in computing and can have a value of 0 or 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a byte?

A

A byte is a group of 8 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the base of the binary number system?

A

Binary is base 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the base of the hexadecimal number system?

A

Hexadecimal is base 16.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the hex digits for values 10 to 15?

A

A = 10, B = 11, C = 12, D = 13, E = 14, F = 15.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of hexadecimal in computing?

A

It simplifies long binary numbers and is easier for humans to read.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is ASCII?

A

A character encoding system where each letter or symbol is represented by a binary value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an image represented by in computers?

A

Pixels, where each pixel has a binary value representing colour.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the term for the number of bits used to store each pixel?

A

Colour depth.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a sound sample?

A

A measurement of the sound wave’s amplitude at a specific point in time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the main units of data from smallest to largest?

A

Bit, Byte, Kilobyte (KB), Megabyte (MB), Gigabyte (GB), Terabyte (TB).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of data compression

A

To reduce the size of files, saving storage space and allowing faster transmission.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is lossless compression?

A

A method that reduces file size without losing any data. The original file can be fully restored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is lossy compression?

A

A method that removes some data permanently, reducing file size but also quality.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What number base does binary use?

A

Base 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How is text represented in computers?

A

: Using character sets such as ASCII or Unicode.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

How is sound represented in a computer?

A

Sound is captured as an analogue signal and converted to digital using sampling.

18
Q

What is sampling?

A

Measuring the amplitude of an analogue sound wave at regular intervals.

19
Q

What two factors affect the quality of a sampled sound?

A

Sample rate (samples per second) and bit depth (bits per sample).

20
Q

What happens when the sample rate increases?

A

The sound quality improves and file size increases.

21
Q

What is the formula to calculate sound file size?

A

File size = Sample rate × Bit depth × Duration × Number of channels.

22
Q

How are images stored in a computer?

A

As a grid of pixels, with each pixel assigned a binary value to represent its colour.

23
Q

What is resolution in an image?

A

The number of pixels in an image; higher resolution means more detail and larger file size.

24
Q

What is colour depth?

A

The number of bits used to represent each pixel’s colour

25
What happens when colour depth increases?
The image can show more colours, but the file size increases.
26
: What is metadata in an image file?
Extra data stored with the image such as height, width, colour depth, and date taken.
27
What is ASCII?
ASCII (American Standard Code for Information Interchange) is a character set that uses 7 bits to represent 128 characters.
28
What types of characters does ASCII include?
Upper and lowercase letters, digits, punctuation, and control codes.
29
What is extended ASCII?
A version of ASCII that uses 8 bits to represent 256 characters, allowing for extra symbols.
30
What is a character set?
A character set is a collection of characters that a computer can recognize and store using binary codes.
31
Why is Unicode used instead of ASCII sometimes?
Unicode supports thousands of characters from many languages, unlike ASCII which is limited to English.
32
What is compression?
Compression is the process of reducing the file size of data to save storage space or reduce transmission time.
33
What is lossless compression?
Lossless compression reduces file size without losing any data. The original file can be perfectly restored.
34
What is lossy compression?
Lossy compression reduces file size by removing some data permanently. The original file cannot be fully restored.
35
Give an example of a file type that uses lossless compression.
PNG image files use lossless compression.
36
Give an example of a file type that uses lossy compression.
MP3 audio files use lossy compression.
37
What are the advantages of lossless compression?
No quality is lost, and the original data can be fully restored.
38
What are the advantages of lossy compression?
It significantly reduces file size, making it ideal for streaming and saving space.
39
What is a common use of lossless compression?
Text documents, ZIP files, and software backups.
40
What is a common use of lossy compression?
Multimedia files such as music, videos, and photographs for web use.
41
Why wouldn’t lossy compression be used for a text file?
Because even a small data loss can corrupt the meaning, making it unreadable or incorrect.