section 7 data representation Flashcards

1
Q

what are logic gates

A

are special circuits built into computer chips

they receive binary data, apply a Boolean operation, then output a binary result

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

What does a Not gate do

A

takes a single input and gives a single output

the output is always the opposite

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

what does a And gate do

A

takes two inputs and gives one output

if both inputs are 1 the output is 1 otherwise the output is 0

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

what does a OR gate do

A

takes two inputs and gives one output

if one or more inputs are 1 then the output is 1 otherwise the output is 0

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

units in size order

A
bit (1 or 0)
nibble(4 bits)
byte (8 bits)
kilobyte (1000 bytes)
megabyte (1000 kilobytes)
gigabyte (1000 megabytes)
terabyte (1000 gigabytes)
petabyte (1000 terabytes)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what are check digits/parity bits

A

are a way of checking that data has been entered and read correctly
they are digits added to the end of numbers and are calculated using the other digits in the number.

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

what happens if one bit of the binary string is read incorrectly

A

it will be fixed with either a even parity check or odd parity check

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

what is a binary shift

A

moves every bit in a binary number left or right a certain number of places
Gaps at the beginning or end of the number are filled in with 0

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

what does left shift do

A

multiply a binary number

for every place shifted the number is doubled

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

what does right shift do

A

divide a binary number

for every place shifted the number is halved

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

what is a hexadecimal number

A

base 16

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

advantages of using hex rather than binary

A

simpler to remember
shorter so less chance of error
easier to convert between hex and binary

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

list the hex numbers up to 15 in denary

A
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what are character sets

A

are collections of characters that a computer recognizes from their binary representation

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

how does the character set translate the binary code to the computer

A

when you press a button on the key board it sends a binary signal to the computer telling it which button you pressed.
It then uses the character set to translate the binary code into a character

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

what is ASCII and how many characters does it contain

A

most commonly used character set

its given a 7-bit binary code so can represent 128 characters

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

whats nice about ASCII

A

an extra bit is added so that it fits nicely into 1 byte

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

whats the difference between Extended ASCII and ASCII

A

Extended has a 8-bit binary code so 256 characters are represented

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

what is Unicode and why is it the best

A

covers every single possible character
uses 16-bit and 32-bit binary code
covers all major languages

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

what are bitmap images made of

A

pixles

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

how can you get a greater range of shades

A

increasing the number of bits for each pixle

22
Q

total number of colours =

A

2 to the power of n (n = number of bits)

23
Q

what is the colour depth

A

the number of bits used for each pixel

24
Q

what is resolution

A

the density of pixels per image

measured in dots per inch

25
Q

what happens if the resolution is increased

A

the better the quality of the image but increases file size

26
Q

what happens if the colour depth is increased

A

more bits per image better quality but increases file size

27
Q

what is mega data

A

the information stored in an image file which helps the computer recreate the image on screen from the binary data in each pixel

28
Q

what does mega data include

A

file format, height, width, colour depth, resolution

29
Q

what colour depth do most devices use

A

24-bit depth with 8 bits used to indicate the levels of red, green, blue needed for each pixel

30
Q

what is data compression

A

make file size smaller while trying to make the compresses file as true to the original as possible

31
Q

what is data compression used for

A

smaller files take up less storage space
streaming and downloading is quicker over the bandwidth
email services have file size restrictions

32
Q

what is lossy compression

A

permanently removing data from the file

33
Q

what is lossless compression

A

temporarily removing data

34
Q

advantages of lossy

A

greatly reduced file size
take up less bandwidth
commonly used

35
Q

disadvantages of lossy

A

loses data
can’t be used on text
worse quality than original

36
Q

types of lossy file

A

MP3
AAC
JPEG

37
Q

advantages of lossless

A

data only temporaliy removed so no reduction in quality
can be decompressed
can be used on text files

38
Q

disadvantages of lossless

A

only slight reduction

39
Q

types of lossless file

A

FLAC
TIFF
PNG

40
Q

what are analogue signals

A

pieces of continually changing data

41
Q

what needs to happen for computers to store sound

A

converted into digital data by the processes of sampling

42
Q

how does sampling work

A

sample the amplitude of the wave at regular intervals

and this creates a not continuous sound wave

43
Q

what are sampling intervals

A

the gaps between each of the points where the analogue recording is sampled

44
Q

what is sampling frequency

A

how many samples you take in a second

measured in kilohertz

45
Q

what is sample size

A

the number of bits available for each sample

46
Q

what is the bit rate

A

the number of bits used per second of audio

47
Q

bit rate calculation

A

sampling freq * sample size

48
Q

what happens when you increase sampling freq

A

better quality and will closely match original

49
Q

what happens when you increase sample size

A

picks up quieter sounds making it more like the original

50
Q

what is the disadvantage of increased sample freq and sample size

A

increase the bit rate which make a larger file size