Data Flashcards

(31 cards)

1
Q

What are

bits?

A

binary digits

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

Why is

binary used for computers?

A

because it represents the state of the transistors that make up a computer

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

What is the equation for the

number of binary patterns that can be produced by a group of n bits?

A

2^n

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

What does the

ASCII character encoding system do?

A

assigns numerical values to textual data

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

Defne

pixel.

A

picture element

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

What is the equation for the

place value of the MSB of a binary number?

A

2^(n-1)

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

What is an

overflow error?

A

when the result of an addition is too large to fit into the allocated amount of storage

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

What can

overflow errors do?

A

cause programs to crash or produce unreliable/incorrect results

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

What is the difference between

arithmetic shifts and logical shifts?

(right)

A

arithmetic shifts preserve the value in the MSB

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

Why was

hexadecimal created?

A

because it is difficult for humans to remember and manipulate long binary patterns, and it’s easy to make mistakes when writing long strings of binary, and making sense of them is challenging

hexadecimal makes this easier

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

Define

character set.

A

the defined list of characters recognised by a computer’s hardware and software

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

How many

bits does ASCII use?

and what does it stand for?

A

7 bits

American Standard Code for Information Interchange

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

What is the negative of

ASCII?

A

as it only uses seven bits, it cannot generate enough binary patterns to represent all the letters and symbols in common use across the world

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

What are the

alternatives to ASCII?

(2)

A

extended ASCII
Unicode

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

What is a

bitmap?

A

a digital image composed of a matrix of tiny blocks of colour called pixels

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

What is

resolution measured in?

A

pixels per inch (ppi)

17
Q

What is

pixelation?

A

when the resolution is too low, and the individual pixels are visible

18
Q

Define

colour depth.

A

the number of bits used to encode the colour of each pixel

19
Q

What is the equation for

file size of a bitmap image?

A

width x height x colour depth

20
Q

How does

amplitude affect sound?

A

larger amplitude -> louder sound

21
Q

How does

frequency affect sound?

A

larger frequency -> higher pitch

22
Q

Define

sampling rate.

and what is this measured in?

A

the number of sound samples taken per second

Hz (1 cycle per second)

23
Q

How does

sampling rate affect sound?

A

larger sampling rate -> more accurate digital representation

24
Q

Define

bit depth.

(in terms of sound)

A

the number of bits used to encode each sound sample

25
# What equation for the file size of a digital sound file?
sample rate x bit depth x duration
26
# Define data capacity.
the amount of data that can be stored in a computer's memory or on a storage device
27
# What do compression algorithms do?
reduce file sizes by repackaging or removing some of their data
28
# What do lossless compression algorithms do?
reduce the size of a file while retaining the exact meaning of the original data ## Footnote this enable the file to be fully reconstructed to its original state when decompressed
29
# What are some examples of lossless compression algorithms? | (3)
PNG - images FLAC - audio ZIP - archiving
30
# What does a lossy compression algorithm do?
reduce the size of a file by permanently deleting some of its data ## Footnote this means that it can never be fully reconstructed to its original state
31
# What are some examples of lossy compression? | (2)
JPEG - images MP3 - audio