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
what happens if the resolution is increased
the better the quality of the image but increases file size
26
what happens if the colour depth is increased
more bits per image better quality but increases file size
27
what is mega data
the information stored in an image file which helps the computer recreate the image on screen from the binary data in each pixel
28
what does mega data include
file format, height, width, colour depth, resolution
29
what colour depth do most devices use
24-bit depth with 8 bits used to indicate the levels of red, green, blue needed for each pixel
30
what is data compression
make file size smaller while trying to make the compresses file as true to the original as possible
31
what is data compression used for
smaller files take up less storage space streaming and downloading is quicker over the bandwidth email services have file size restrictions
32
what is lossy compression
permanently removing data from the file
33
what is lossless compression
temporarily removing data
34
advantages of lossy
greatly reduced file size take up less bandwidth commonly used
35
disadvantages of lossy
loses data can't be used on text worse quality than original
36
types of lossy file
MP3 AAC JPEG
37
advantages of lossless
data only temporaliy removed so no reduction in quality can be decompressed can be used on text files
38
disadvantages of lossless
only slight reduction
39
types of lossless file
FLAC TIFF PNG
40
what are analogue signals
pieces of continually changing data
41
what needs to happen for computers to store sound
converted into digital data by the processes of sampling
42
how does sampling work
sample the amplitude of the wave at regular intervals | and this creates a not continuous sound wave
43
what are sampling intervals
the gaps between each of the points where the analogue recording is sampled
44
what is sampling frequency
how many samples you take in a second | measured in kilohertz
45
what is sample size
the number of bits available for each sample
46
what is the bit rate
the number of bits used per second of audio
47
bit rate calculation
sampling freq * sample size
48
what happens when you increase sampling freq
better quality and will closely match original
49
what happens when you increase sample size
picks up quieter sounds making it more like the original
50
what is the disadvantage of increased sample freq and sample size
increase the bit rate which make a larger file size