Data representation

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

encourage image

There's no tags or description

Looks like no tags are added yet.

32 Terms

1
New cards

Data storage measurements is order

Bit

Nibble

Byte

Kibibyte

Mebibyte

Gibibyte

Tebibyte

Pebibyte

Exbibyte

2
New cards

how much KiB is one MiB?

1024

3
New cards

What does data compression do?

Reduces size of the file

4
New cards

Benefits of compression

Quicker to transmit, upload and download

Not as much bandwidth needed

Fits in limitation of file size on apps

Less storage space needed

5
New cards

Lossy Compression

Reduces file size by permanently removing data like reducing image resolution or colour depth or sample resolution or sample rate

6
New cards

Loseless compression

Reduces file size without permanent loss of data like run length encoding

7
New cards

How does lossless compression work?

Compression algorithm used such as Run length encoding

Repeating patterns are identified and indexed with their number of occurrences and their position

8
New cards

Why do computers use binary?

Any form of data needs to be converted to binary to be used by a computer

Computers process data using switches or logic gates

These only use 2 states, on or off, 1 or 0

This is then stored in registers

9
New cards

Binary is base…

2

10
New cards

Hexadecimal is base…

16

11
New cards

Denary is base…

10

12
New cards

Area in Computer Science where hexadecimal is used

URLs

MAC addresses

Colour codes

13
New cards

Benefits of hexadecimal

Can represent 16 bit words as only 4 hexadecimal digits

Easy to convert back to binary if necessary

14
New cards

Overflow error

Value is greater than 255 in an 8 bit register

Computer has a predefined limit that it can represent or store for example 16 bit

If a value outside this limit is returned an overflow error happens

15
New cards

Most significant bit

The bit with the highest value

16
New cards

Least Significant Bit

The bit with the lowest value

17
New cards

In two’s compliment what is the value of the most significant bit

Negative

18
New cards

How to do two’s compliment method?

Write positive number in binary

Invert all the bits

Add one

19
New cards

Why may programmers use hexadecimal?

Quicker to write and read

Takes up less space of the screen

Quicker and easier to debug

Less likely to make a mistake

20
New cards

How is text converted from analogue to digital?

Character set is used such as ASCII or binary

Each character has its own unique binary value

21
New cards

Unicode vs ASCII

Unicode has a greater range of unique characters and symbols like different languages and emojis

ASCII has fewer characters

ASCII covers limited set of languages

ASCII requires 7/8 bits per character, Unicode has 16/32 bits per character

22
New cards

How does a computer represent sound?

Analogue sound wave is recorded using a microphone

Sound wave is sampled measuring height and amplitude

Each amplitude has a unique binary value

Sample rate is set which is the number of samples taken per second

Sample resolution is set which is the number of bits used for each sample

Each sample converted to binary

23
New cards

Sample rate

Number of samples taken per second

24
New cards

Sample resolution

Number of bits per sample like 16 bits.

Provides variation in amplitude that can be stored for each sample.

Determines how loud or quiet the sounds are which can be recorded

25
New cards

Why do analogue sounds and text and images have to be converted to digital

Computer can only process binary data.

26
New cards

How can accuracy of recording increase, and what does it cause?

Sample rate increase and resolution increase making file size increase

27
New cards

Image

Series of pixels that are converted to binary

28
New cards

Image resolution

Number of pixels in an image, number of pixels up times pixels wide, dimensions of an image

29
New cards

Colour depth

Number of bits used to represent each colour

30
New cards

How do you increase quality of an image and what does it cause

Increased resolution and colour depth causing increased file size

31
New cards

Pixel

One square/ one circle of a colour/ smallest component of the image

32
New cards

Benefits of increased colour depth of image

Image will be more detailed

Closer to the actual contents of the image in real life

It will have a greater range of colours