Data Representation Flashcards

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

What are the three types of files?

A

Text
Sound
Image

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

How do you calculate text file size?

A

Bits per character x number of characters

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

How do you calculate the size of sound files?

A

Sample rate x duration(s) x bit depth

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

How do you calculate the file size for image files?

A

Colour depth x image height(px) x image width

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

What is an overflow error?

A

An overflow show that the result of the calculation is too big for it to be stored in 8 bits

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

What are the rules of binary addition?

A

0 + 0 = 0
0 + 1 = 1
1 + 1 = 0 carry 1
1 + 1 + 1 = 1 carry 1

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

What does the result of one left shift leave?

A

The original number is multiplied by 2

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

What does one right shift produce?

A

The original number is divided by 2

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

What is a character set?

A

A defined list of characters recognised by the computers hardware and software. Each character is represented by a single number.

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

What are examples of character sets?

A

ASCII - American standard code for information interchange- 128 character
Extended ASCII- 256 characters
Unicode- 16 million character

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

What is metadata?

A

Metadata is additional data stored with the images to define the width, height, colour depth and colour palette

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

What are the two types of compression?

A

Lossy
Lossless

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

What are some effects of lossy compression?

A

Some of the data is lost and can’t be recovered
Greatly reduces the file size
Reduces the quality of the image/ sound
Suitable for images, sound and video
Cannot be used on text and executable files

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

What are some effects of lossless compression?

A

None of the data is lost, it is just encoded differently
Can be turned back into original format
Can be used on all types of data
Usually less effective than lossy compression at reducing the files size
Most suitable for documents and executable files

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

Need for primary storage

A

Main memory is required to temporarily store the programs, instructions and data the computer needs whilst in operation.

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

Ram properties

A

Volatile- all data lost
Can be written to, and read from
Used for the computers working memory for instructions, programs and data

17
Q

Rom properties

A

Non volatile- data permanently retained without power
Used for the computer start up instructions and in embedded systems.
Read on,y so cannot be written to

18
Q

Define virtual memory

A

Virtual memory is used when there simply isn’t enough space in RAM for all programs and data you are currently working on

19
Q

Why secondary storage

A

Need secondary storage for longer term storage of files and data because it is non volatile

20
Q

What is a bitmap?

A

Made up of picture elements or pixels

21
Q

Advantages of lossy

A

Smallest file size, least transmission time, reduces internet traffic and collisions

22
Q

Disadvantages of lossy

A

Detail is permanently lost

23
Q

Advantages of lossless

A

Original quality is preserved

24
Q

Disadvantage of lossless

A

Less significant reduction in file size

25
Q

Example of lossless

A

Text file