Topic 3 - Data Representation and boolean Logic Flashcards

1
Q

what is an overflow?

A
  • when a result requires more bits than the CPU is expecting
  • computers usually store extra bits elsewhere
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

problems caused by overflow errors

A
  • loss of data and accuracy in answer
  • could cause software to crash if it doesn’t have a way of dealing with extra bit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

left binary shifts

A
  • moves every bit to the left a certain number of places
  • multiply a binary number x2 every place shifted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

right binary shifts

A
  • moves every bit to the right a certain number of places
  • divides a binary number by 2 every place shifted
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

hexadecimal

A
  • base 16 number system
  • each digit represents 4 bits or a nibble
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

advantages of using hexadecimal

A
  • easier to remember large numbers as they are shorter than binary numbers
  • shorter, less chance of input errors
  • easier to convert from hex to binary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are character sets?

A
  • a collection of characters a computer recognises from their binary representation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ASCII

A
  • each character is given a 7 bit binary code
  • can represent 128 different characters which includes all letters, numbers, etc in English alphabet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Unicode

A
  • it covers every possible character that might be written
  • uses multiple bytes for each character and covers all major languages
  • first 128 codes same as in ASCII : compatible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how are images stored?

A
  • stored as bitmap images made up of tiny dots called pixel
    -each pixel is represented by a binary code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

colour depth

A
  • number of bits used per pixel
  • total number of colours =
    2ₙ , where n = colour depth
  • greater colour depth = greater range of colours which makes the image more realistic and life-like
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

resolution

A
  • number of pixels in the image
  • measure in DPI : dots per inch
  • greater resolution, more pixels which makes the image look sharper
  • increases quality of image
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

impact of increasing both

A
  • increases file size
  • takes up more space on secondary storage
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

how is sound stored

A
  • sound recored by microphone as an analogue signal
  • converted to digital data by A-D converters so computers can read and store sound files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

sample rate

A
  • how many samples are taken per second
  • analogue recording sampled more often
  • ## better quality and match original sound more closely
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

bit depth

A
  • how much bits available per sample
  • larger bit depth = larger range of sounds
  • it can pick up quieter and louder sounds, closer quality to original sound
17
Q

compression

A
  • reducing the size of a file