Data

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

1/31

flashcard set

Earn XP

Description and Tags

Unfinished. These only include Year 10 content, sorry.

32 Terms

1
New cards

Binary

Base 2, e.g. 1001 1101

2
New cards

Denary

Base 10, e.g. 24

3
New cards

Hexadecimal

Base 16, e.g. 5F (one digit per nibble), used for MAC addresses and colours

4
New cards

Bits and bytes

one binary digit, 8 binary digits (bits)

5
New cards

1000 storage units

KB (kilobyte), MB (megabyte), GB (gigabyte), TB (terabyte)

6
New cards

1024 storage units

KiB (kibibyte), MiB (mebibyte), GiB (gibibyte), TiB (tebibyte)

7
New cards

Binary arithmetic

Operations fundamental to all computer calculations

8
New cards

ASCII

American Standard Code for Information Interchange - 7 bit character set

A is at 65, a is at 97 - 32 between upper and lower case

9
New cards

Solutions to ASCII limitations

Extended ASCII (8 bit ASCII), unicode

10
New cards

Logical left shift

Unsigned integers

Move MSB left, move other digits, fill space with 0s

Can lead to overflow

11
New cards

Arithmetic left shift

Signed integers

Same as logical left shift

Can lead to sign-flipping

12
New cards

Logical right shift

Unsigned integers

Move LSB right, move other digits, fill space with 0s

Can lead to loss of precision

13
New cards

Arithmetic right shift

Signed integers

Move LSB right, move other digits but MSB is maintained, fill space with MSB

Can lead to loss of precision

14
New cards

Overflow responses

  • Crash and report overflow error

  • Truncate the number

  • Wrap the number back around to 0


15
New cards

Two’s complement

Used for signed integers - MSB is a negative number

Conversion: starting from the right, copy out every number up to and including the first 1, flip every number after that

16
New cards

Bitmap

Representing an image as rows and columns of pixels (picture elements)

17
New cards

Qualities of a bitmap

Resolution = number of pixels in an image

Colour depth = bits used to store colour

Metadata = data about the image stored along with it

18
New cards

Image file size calculation

File size in bits = width x height x colour depth

19
New cards

Bitmap trade-offs

More colours than available in colour depth —> similar colours merged

More bits for colour depth than needed —> takes up unnecessary storage space

20
New cards

Analogue data

Data that is continually changing, occurs in nature - continuously variable

Must be converted by and ADC into a digital format to be stored on a digital device

21
New cards

Digital data

Made up of discrete binary values - mapped across entire sample interval

Must be converted into analogue to be played aloud using DAC

22
New cards

ADC conversion

  • Sampling - taking a snapshot of the analogue signal at one point in time

  • Quantisation - mapping the snapshot onto a binary value


23
New cards

Sound wave graph keywords

Sound wave = the whole wave

Amplitude = the wave’s value at a given time

Bit depth = bits needed to represent the range of values

Bit rate = bits per second

y-axis = binary values

x-axis = time values

24
New cards

Sampling

Sample interval = time between samples (s)

Sample rate = sample per second (Hz)

44 100 Hz is standard sample rate

25
New cards

Quantisation

Sampled audio is quantised into signed integers

Reading is taken and mapped at each sample interval

24 bits is standard bit depth

26
New cards

Sound trade-offs

Higher bit depth / sample rate: more values and points on the wave, makes digital representation closer to analogue original

More data so more storage - more values/samples

Diminishing returns - humans can no longer tell the difference

27
New cards

Fidelity

How high quality the sound is when played through a device

Product of the device’s quality, not the accuracy of the conversion

28
New cards

Sound file size calculation

File size in bits = sample rate x bit depth x time

Stereo means double the size (2 channels)

29
New cards

CD quality

44 100Hz, 16-bit, 1 411kbps

30
New cards

Benefits of compression

Reduces storage requirements and network transmission time for files

31
New cards

Lossy vs lossless

Lossy

  • Audio, videos, images

  • Removes unnoticeable data

  • Greater size reduction

  • Original cannot be reconstructed

  • Repeated compression leads to further degradation

  • JPEG, mp4, mp3

Lossless

  • Mainly text files

  • Encodes data

  • No reduction in quality when loaded into a program

  • Smaller size reduction

  • Original can be reconstructed

  • ZIP, PNG, PDF


32
New cards

Compression trade-offs

Cost of transmitting uncompressed files may be < decompression cost

Decompression cost may be worth it if short on storage

Lossy loses data and so the original cannot be reconstructed