3.3 Fundamentals of data representation

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/39

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

40 Terms

1
New cards

Decimal (base 10)

2
New cards

Binary (base 2)

3
New cards

Hexadecimal (base 16)

4
New cards

What do computers use to represent all data and instructions?

Computers use binary.

A bit pattern could represent different types of data, including text, image, sound, integer

5
New cards

Why is hexadecimal often used in computer science?

6
New cards

How can binary be used to represent whole numbers?

7
New cards

How can hexadecimal be used to represent whole numbers?

8
New cards

How do you convert numbers from binary to decimal?

9
New cards

How do you convert numbers from decimal to binary?

10
New cards

How do you convert numbers from binary to hexadecimal?

11
New cards

How do you convert numbers from hexadecimal to binary?

12
New cards

How do you convert numbers from decimal to hexadecimal?

13
New cards

How do you convert numbers from hexadecimal to decimal?

14
New cards

What is the fundamental unit of information? What is a byte?

A bit is the fundamental unit of information. (either a 0 or 1, represented by a ‘b’)

A byte is a group of 8 bits. (represented by ‘B’)

15
New cards

Order bits - terabytes from smallest to largest

1 bit, b

1 byte, B (8 bits)

1 kilobyte, kB (1000 bytes)

1 megabyte, MB (1000 kilobytes)

1 gigabyte, GB (1000 megabytes)

1 terabyte, TB (1000 gigabytes)

16
New cards

What is a pixel?

A pixel is a single point in an image.

17
New cards

What is the word pixel short for?

Pixel is short for Picture Element.

18
New cards

Describe how pixels relate to an image and the way images are displayed.

19
New cards

Describe what image size is for a single BITMAP (not a file).

W x H = image size (pixels)

20
New cards

What is colour depth?

Colour depth is the number of bits used to represent each pixel.

21
New cards

Describe how a bitmap represents an image using pixels and colour depth.

explain how bitmaps are made from pixels

22
New cards

Describe using examples how the number of pixels and colour depth can affect the file size of a bitmap image.

23
New cards

Calculate bitmap image file sizes based on the number of pixels and colour depth.

Size = (bits) = W x H x D

Size = (bytes) = (W x H x D)/8

  • W = image width

  • H = image height

  • D = colour depth in bits

24
New cards

Convert binary data into a bitmap image.

25
New cards

Convert a bitmap image into binary data.

26
New cards

Understand that sound is analogue and that it must be converted to a digital form for storage and processing in a computer.

27
New cards

What is a sample?

A sample is a measure of amplitude at a point in time.

28
New cards

Understand that analogue signals are sampled to create the digital version of sound.

29
New cards

What is sampling rate?

Sampling rate is the number of samples taken in a second and is usually measured in hertz (1 hertz = 1 sample per second).

30
New cards

What is sample resolution?

Sample resolution is the number of bits per sample.

31
New cards

Describe how sound is represented digitally using the terms sampling rate and sample resolution.

32
New cards

How do you calculate sound file sizes?

File size (bits) = rate x res x secs

  • rate = sampling rate

  • res = sample resolution

  • secs = number of seconds

33
New cards

Explain what data compression is.

34
New cards

Understand why data may be compressed and that there are different ways to compress data.

35
New cards

Explain how data can be compressed using Huffman coding.

36
New cards

Be able to interpret Huffman trees.

37
New cards

Be able to calculate the number of bits required to store a piece of data compressed using Huffman coding.

38
New cards

Be able to calculate the number of bits required to store a piece of uncompressed data in ASCII.

39
New cards

Explain how data can be compressed using run length encoding (RLE).

40
New cards

Represent data in RLE frequency/data pairs