1.3 Data Storage Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

how are fractions stored in binary

A

for example a quarter which is 0.25 is stored in binary as 25 with an extra byte to store the position of the decimal point “.”

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

how is text stored and processed in a computer

A

every character, upper or lowercase including punctation is stored with a number code, this character code usually is ASCII but has been improved to unicode

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

what does ASCII stand for

A

American Standard Code for Information Interchange

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

why are there file types

A

different ways of storing digital data are called formats, different types of files use different data formats

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

what is a file extension

A

3 or 4 letters after the full stop of a file name to show the data type stored in the file

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

give some examples of file types

A

.txt means file holds text stored in ASCII code
.doc means file holds text + document formatting
.exe means file holds instructions which the computer can carry out, execute

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

why do different file types require software to open the file

A

all files uses binary however the numbers in different file types mean different things, the computer must detect the file type so it knows what the binary represents, in some cases you need a software to open a file format

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

what does a bitmap file store

A

it stores the position of every pixel and its colour that makes up an image

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

why are bitmap files so large

A

because bitmap files contain the position and colour of everypixel in a number code, the full dot by dot detail

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

how do vector files store data

A

by storing the mathematical formula of how to draw the lines and shapes in an image

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

why are vector graphics not good for photographs

A

because they store the mathematical formula for lines and shapes, they are not good for intricatly detailed photographs, they are good for clipart or cartoons

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

what is high and low resolution

A

the resolution of the image depends on how many pixels and the size of them in an image. lots of small pixels is high

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

what is pixelation

A

if an image is made larger, the pixels are get larger and the resolution decrease, we say that this image is pixelated

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

why are vector graphics not affected by pixelation

A

because vector graphics store the mathematical formula on how to draw the shapes and lines in an image, so they can adjust to the screen resolution when you zoom in

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

what is colour depth

A

the amount of colours that can be used in an image

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

give some examples of different colour formats

A

monochrome - black or white so 0 or 1
16- colour, each pixel is half a byte
156 colour, each pixel is a byte

17
Q

what are the 3 different types of sound formats

A

WAV file, MP3 and MIDI

18
Q

why is compression used

A

to reduce the size of a file for it to take less space or send quicker

19
Q

what is lossy compression

A

compression which reduces the size of the file by using algorithms that reduce the data quality such as image quality, some data is purely lost

20
Q

what is lossless compression

A

reduces the file size however no loss of data quality

21
Q

give an example of lossless compression

A

an image where a particular colour is recurring greatly, a byte will be used to store the colour and other bytes will be used to store the amount of the colour before it changes in each row, this will be less data than storing the position of each and every white pixel, this compression works good on cartoon or clipart images, images with high detail cannot work well with this

22
Q

give an example of why certain file formats have to be compressed a certain way

A

for example an .exe file where it stores instruction for the pc, cannot be compressed lossy, because we cannot afford to lose a singal command

23
Q

what are the features of lossy compression

A

some data is lost
greatly reduces the size of the file
reduces quality of sound/image
cannot be used with text or executable files

24
Q

what are the features of lossy

A

no data is lost, just encoded differently
files are recovered to their original state
can be used with all file formats
less effective at reducing file size than lossy

25
Q

what is MP3

A

MP3 is a compression technology which is usuallly used to play music on computers or mobile devices

26
Q

how does MP3 compress audio files

A

by removing sounds outside the hearing range of the human ear, or if 2 sounds are played at the same time and one is slightly quite to the ear, it will remove the quit sound so the louder sound can play
this is called perceptual music shaping

27
Q

what type of compression is MP3

A

lossy

28
Q

what type of compression is JPEG

A

lossy

29
Q

how does JPEG compress image files

A

b removing the gradations of colour or brightness which the human eye can detect, if there are multiple shades of a colour which are stored in seperate bytes, depending if the human eye can see them, or if isnt too much of a deterioration, the file can make it all one colour

30
Q

what type of compression is huffman coding

A

lossless compression on text based data

31
Q

what type of compression is run length coding

A

lossless compression on bitmap images

32
Q

what are the types of lossy compression

A

information discarding
perceptual music shaping
JPEG, MP3, MP4, WMV, MPG

33
Q

what are the types of lossless compression

A

huffman coding, runlength encoding, TIF, PDF, GIF, PNG. ZIP

34
Q

What is run length encoding

A

a lossless compression where the amount of colours and their frequencies and set in pairs, rather than storing each and every pixel position, these are called frequency/ data pairs

35
Q

director

A