Data Representation (paper 1) Flashcards

1
Q

what is the order for the memory size

A

bit
nibble
byte
kibibyte
mebibyte
gibibyte
tebibyte
pebibyte
Bob Nibbled Bens Keish Made Gratefully To Paul

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

How many bits is in a byte

A

8

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

how many bits are in a nibble

A

4 bits (half a byte)

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

how many bytes are in a kibibyte

A

1024

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

how many bytes are in a mebibyte

A

1024 x 1024

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

how many bytes in a gibibyte

A

1024 x 1024 x 1024

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

how many bytes in a tebibyte

A

1024 x 1024 x 1024 x 1024

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

how do you work out how many mebibytes are in a value

A

divide it by 1024 x 1024

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

what is denary

A

the 10 number base number system (0-9)

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

what is binary

A

the 2 number base number system using the digits 0 and 1 and place values 1, 2, 4, 8, 16…

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

why do we use binary to represent data in computers

A

becuase anything further would make the data hard to deal with and possibly cause error, it is simpler being one of two values

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

what is one of the benefits of binary

A

takes up less storage so it makes computers cheaper and more reliable

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

what is hexadecimal

A

the base 16 number system that uses the values 0-9 and A-F

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

how do you convert a denery number to binary

A

divide it by 2 and take the answer or remainer and repeat with the answer

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

Which bit is most significant in binary

A

the biggest

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

what does CPU stand for

A

central processing unit

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

what does a CPU do

A

store data in registers

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

why do overflow errors occur when adding binary

A

because if the result is greater than 255 then another bit is needed

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

what makes hexadecimal to binary easier

A

each value cna be taken into 4 binary bits and then just put the bits together

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

how do you convert denary to hexadecimal

A

divide the denary by 16 and then take the remainder and divide the result again

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

what is a sign bit

A

when all the other bits of the binary are negative

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

what is two’s complement

A

when only the MSB is the negative placeholder

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

how do you convert nagtive denary numbers into binary using two’s complement

A
  • write the binary as normal
  • change the 0 to 1 and 1 to 0
  • then add one
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What is the affect when binary shifts left

A

you multiply but the powers of 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
what is the affect when the binary shifts right
you divide by the powers of 2
26
How many places must you shift the binary left to x2
one
27
How many places must you shift the binary left to x4
two
28
How many places must you shift the binary left to x8
three
29
State some uses of hexadecimal coding
- HTML colour codes - MAC addresses
30
why would a programmer prefer hex to binary
- 4 binary numbers = 1 hex = easier to understand and cheaper
31
what is the same given to a digit at the end of a sequence of values to calculate an error
check digit
32
how is a check digit used to detect errors
- value of check digit depends on other digits in sequence - if any numbers in sequence contain an error, the check digit will be incorrect
33
how is text represented
each character on the keyboard has a binary value which is transmitted to the computer each time a key is pressed
34
what is the character set used to represent text in america
ASCII
35
what is a character set
it contains all the characters that are in that character set andd the binary value that is assigned to each character
36
what are the two ways sound can be recorded
- analogue - digital
37
how is sounds recorded
the amiplitude of the wave must be recorded in regualr intervals - more intervals results in a better quality recording - this is called sound sampling
38
how is sound stored in a computer
- analogue sounds must be converted to digital to be stored and processed in a computer - then a digital to analogue converter is used to digital signals into outputs
39
how are images represented
a bitmap is made up of pixels
40
what is a pixel
a very small dot of colour that is displayed with many more others to create an image
41
what colour does 1 represeent
white
42
if more colours represented what happens to the colour(bit) depth
it also increases, as does the file size
43
how do you calculate the sile size in bytes of an image
(width in px x height in px x colour depth) / 8
44
what does the desity of pixels affect
the sharpness of an image = smoother edges and better overall quality
45
what do compression softwares do
use algorithms to remove repeated unneccessary data
46
what is the purpose of useding data compression
- reduce the size of a file on a disk - easier for streaming data over the internet
47
what are the two types of data compression
- lossy - lossless
48
what are the file types which use lossy compression
- JPG - MP3 - WMV - MPG
49
what are the benefits and disadvangtages of lossy compression
+ smaller file sizes + less transmission time + reduces internet traffic -detail is permanently lost by reducing colour depth, resolution or sample rate
50
what are the uses of lossy compression
- music streaming - online images & videos - image libaries
51
what file types use lossless compression
- TIF - PDF - GIF - PNG - ZIP
52
what are the benefits and disadvantages of lossless data compression
+ orignal quality is preserved , no information or data lots -less significant reduction in file size
53
what are the uses of lossless data compression
- text documents - electronic books - high resolution print documents
54
Explain how sampling is used to store audio recordings
Multiple sound samples are taken in regular intivals to record the sound, the higher the sample rate the better the quatlity of the sound, taking analogue values into digital values for storage
55
why do computers use binary
because they have memory and NAND gate circuits which uses values of 0 and 1 to locate things out of storage
56
which number symbolises on
1
57
which number symbolises off
0
58
define binary
a base-2 number system that uses the values 0 and 1
59
what is the benefit of hexadecimal over binary
- hex is easier to read and write - hex is smaller and takes up less space - hex is easier to debug and locate errors
60
what is meant by the term analogue data
a continuous stream of data that is processed by humans
61
what is meant by the term digital data
discrete data that only uses the values of 0 or 1
62
can computers process hexadecimal
no
63
why is A-F used rather than 10-15 in hexadecimal
so only one symbol is needed for the denary number
64
what us meant by the term 'MAC address
a unique address that is given to a computer at the manufactoring stage that can be used to identify the computer
65
give two character sets
- ASCII code - Unicode
66
what is meant by the term 'resolution'
the dimensions of an image (in pixels) it is called metadata
67
what is meant by the term 'metadata'
additional data that is stored with an image that con provide information (dimensions, time and data taken)
68
what is meant by the term 'colour depth'
the number of bits that are used to create each colour in an image
69
what is meant by the term 'lossy compression'
a compression method that reduces the size of a file by permanently removing data
70
what is meant by the term 'lossless compression'
a compression method that reduces the size of a file by temporarily alterning the data
71
explain how a sound file can be compressed
- remove sounds that cannot be heard by the human ear - remove softer sounds played at the same time as loud sounds - this is known as perceptual music shaping
72
what is the process called to compress sound files
perceptual music shaping