Chapter 1: Data Representation

0.0(0)
studied byStudied by 1 person
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/60

flashcard set

Earn XP

Description and Tags

fifty Q&A flashcards covering binary, decimal, hex, ASCII/Unicode, image and sound representation, storage, and data compression as per the lecture notes.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

61 Terms

1
New cards

What is the language that computers understand?

Binary.

2
New cards

Which two digits are used in binary numbers?

0 and 1.

3
New cards

Binary numbers are used to represent what in computers?

Characters (letters, numbers, symbols) and data.

4
New cards

What base is the Denary (decimal) number system?

Base 10.

5
New cards

What digits does the decimal system use?

0 through 9.

6
New cards

Provide an example of a decimal number from the notes.

521 (also 102 or 6978 were given as examples).

7
New cards

What base is the Binary Number System?

Base 2.

8
New cards

Provide an example of a binary number from the notes.

0010100011001011.

9
New cards

In an 8-bit arrangement, what are the weights from the most significant bit to the least significant bit?

128, 64, 32, 16, 8, 4, 2, 1.

10
New cards

What is a nibble?

4 bits.

11
New cards

What is a byte?

8 bits.

12
New cards

What is the base of the hexadecimal number system?

16.

13
New cards

What digits does hexadecimal use?

0-9 and A-F.

14
New cards

Why are hexadecimal numbers used in computing?

To spot errors easily, to read/write memory addresses, colors in HTML, MAC addresses, assembly instructions, and for easier debugging.

15
New cards

In HTML, how are hexadecimal numbers commonly used?

To define colors.

16
New cards

What does ASCII stand for?

American Standard Code for Information Interchange.

17
New cards

How many bits per character does ASCII use?

7 bits.

18
New cards

How many characters are defined by ASCII?

128 characters.

19
New cards

What is Unicode?

An encoding that allows many more characters than ASCII, using multi-bit codes (16-bit in the basic form).

20
New cards

How are ASCII and Unicode related?

ASCII is a subset of Unicode; Unicode extends ASCII to support more characters.

21
New cards

What is the purpose of a band-limiting filter in sound processing?

To remove high-frequency components before converting analog sound to digital.

22
New cards

What does ADC stand for?

Analog to Digital Converter.

23
New cards

What are the two components mentioned for sound encoding?

A sound encoder and a band-limiting filter.

24
New cards

What are the two factors to consider when coding sound?

Sampling rate and sampling resolution.

25
New cards

What is sampling rate?

The number of samples taken per second (Hz).

26
New cards

What is sampling resolution?

The number of bits used per sample.

27
New cards

What happens if you increase both sampling rate and sampling resolution?

Better digitised sound with less quantisation error, but larger file size.

28
New cards

What is a pixel?

The smallest element of an image, defined by its position and colour.

29
New cards

What is an image's resolution?

The number of pixels in the image.

30
New cards

What is colour depth?

The number of bits used to represent the colour of a pixel.

31
New cards

What is a bitmap?

An image represented as a grid of pixels.

32
New cards

How does increasing resolution or colour depth affect file size?

It increases the file size.

33
New cards

What does KiB stand for and what is its value in bytes?

Kibibyte; 1024 bytes.

34
New cards

What is a mebibyte (MiB)?

1024 KiB; 1,048,576 bytes.

35
New cards

What is a gibibyte (GiB)?

1024 MiB; 1,073,741,824 bytes.

36
New cards

What is a tebibyte (TiB)?

1024 GiB.

37
New cards

What is a pebibyte (PiB)?

1024 TiB.

38
New cards

What is an exbibyte (EiB)?

1024 PiB.

39
New cards

What is the decimal kilobyte (KB) value?

1000 bytes.

40
New cards

Why is data compression used?

To reduce file size for less bandwidth, storage, and faster data transfer.

41
New cards

What are the two types of data compression?

Lossless and Lossy.

42
New cards

What is lossless compression?

A compression method where the original file can be exactly reconstructed after decompression.

43
New cards

What is lossy compression?

A compression method where some information is lost and the exact original cannot be recovered after decompression.

44
New cards

What is Run-Length Encoding (RLE)?

A lossless compression technique that encodes runs of repeated patterns as a symbol and count.

45
New cards

Name some formats associated with compression mentioned in the notes.

JPEG, GIF, MP3, MP4.

46
New cards

What is the difference between a bitmap image and a vector image?

bitmap as a series of pixels; a bitmap is a grid of pixels.

47
New cards

What is the relationship between resolution and file size in images?

Higher resolution generally increases file size.

48
New cards

What is the role of color depth in image files?

It determines how many bits are used to represent the color of each pixel; more depth increases quality and size.

49
New cards

What is the approximate file size impact of higher color depth and resolution?

Both typically increase file size.

50
New cards

What is the primary use of hexadecimal numbers in computing?

To represent memory addresses, color values, and instruction encoding in a compact form.

51
New cards

What is the main advantage of hexadecimal over binary for readability?

Hexadecimal is more compact and easier to read than long binary sequences.

52
New cards

What is the purpose of using ASCII before Unicode?

ASCII provides a simple 7-bit encoding for basic English characters and is a subset of Unicode.

53
New cards

What is the commonly cited base used to describe data sizes in binary prefixes (KiB, MiB, etc.)?

Base-2 prefixes (kibi-, mebi-, gibi-, tebi-, pebi-, exbi-), where 1 KiB = 1024 bytes.

54
New cards

What is the typical use of hexadecimal in debugging and memory inspection?

To identify values and memory addresses more easily.

55
New cards

What is the standard example of a numeric binary representation given in the notes?

0010100011001011.

56
New cards

What happens when you reduce sampling rate or color depth in media files?

File size decreases but quality may degrade.

57
New cards

Which file types listed are commonly associated with lossy compression in the notes?

JPEG (images), MP3 (audio), MP4 (video).

58
New cards

Which file types listed are commonly associated with lossless compression or uncompressed formats?

BMP (images) and WAV (audio) are often associated with lossless or uncompressed formats.

59
New cards

What is the effect of increasing the number of bits per sample in audio?

Improved accuracy of the digitised sound, less quantisation error, but larger file size.

60
New cards

What is the effect of increasing the sampling rate in audio?

Improved representation of the waveform, but larger file size.

61
New cards

What is the common term for converting analogue signals to digital numbers?

Analog-to-Digital Conversion (ADC).