1.2 Memory and storage Flashcards

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

Why do computers need primary storage?

A

It holds data and instructions which the CPU needs to access while a computer is running. Plus to access this data is faster then secondary.

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

What is the RAM?

Random access memory

A

Volatile (loses memory when powered off) Holds the operating system, programs and data in use by the CPU.

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

What is the ROM?

Read only memory

A

Non volatile (doesn’t lose memory when it has no power) Contains the very first instruction for the computer (bootstrap)

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

What is the similarity and difference of RAM and ROM ?

A
similarities:
- hold information
- Both presented in binary form
Difference:
Ram is volatile Rom is non-volatile
Ram can read and write Rom is read only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

if the RAM runs out of storage where is data stored?

A

virtual memory

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

Why might virtual memory be needed in a system?

A

To allow space in the RAM to store data.

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

What is virtual memory?

A

non-volatile and secondary memory created to store data when RAM storage is full

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

How does virtual memory work?

A

Memory is transferred from the RAM to the hard drive where virtual memory is stored .

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

Why do computers need secondary storage?

A
  • it stores the programs when switched off

- back up of data files

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

What is the common types of storage?

A

Optical
Magnetic
Solid state

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

What are the advantage and disadvantage of optical storage?

A
Advantages:
-cheap 
- portable
Disadvantage:
- not durability (can easily be scratched)
- speed is slow
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the advantages and disadvantages of magnetic storage?

A

Advantages:

  • cheap
  • large capacity
    disadvantages:
  • fragile
  • slow access time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the advantages and disadvantages of solid state drives?

A
Advantages:
- durable
- fast access
Disadvantages:
-expensive 
- limited read and writes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is an example of magnetic, solid state and optical storage?

A

magnetic - hard disk drive
Solid state - flash memory cards, SSD, memory stick
Optical - DVD and Blu-ray

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
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
16
Q

How do you calculate a sound file size?

A

Sample rate x duration (secs) x bit depth

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

How do you calculate a image file size?

A

colour depth x image height x Image width

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

What are the unit of data storage?

A
The units of data storage:
Bit
Nibble (4bits)
Byte (8 bits)
kilobyte (1,000 bytes or 1KB)
Megabyte (1000 KB)
Gigabyte (1000 MB)
Terabyte (1000 GB)
Petabyte (1000 TB)
19
Q

How do you convert denary to binary?

A

The table goes from 128, 64, 32, 16, 8, 4, 2, 1 and you start right to left

20
Q

How do you convert binary to denary?

A

Use the table to add up the values.

21
Q

How do you convert denary to hexadecimal?

A

You make it binary. Then make it into a nibble (2 sections) then put 1, 2, 4, 8 then add up the values. If the value is 10 or over use the alphabet so A and so on.

22
Q

How do you convert hexadecimal to denary?

A

The first digit you times by 16 then the second one you add on.

23
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

24
Q

What happens when you shift the binary to the left?

A

The binary is multiplied by 2

25
Q

What happens when you shift the binary to the right?

A

The binary is divided by 2

26
Q

What is a character set?

A

A character set is defined list of characters recognised by the computer.

27
Q

What are 2 examples of character sets

A

ASCII (extended ASCII) and Unicode

28
Q

what are the total number of characters in ASCII, extended ASCII and Unicode?

A

ASCII - 2^7 = 128
extended ACSII - 2^8 = 256
Unicode = 2^24 = more then 16 million

29
Q

What is metadata?

A

Data about Data such as the file format, resolution and colour depth

30
Q

How is the number of colours calculated?

A

2^n (n being the of bits for each pixel)

31
Q

What is the effect of resolution and colour depth?

A

The greater the colour depth and resolution the larger the file size of the image.

32
Q

If the sound is stored as analogue what must it be stored as?

A

It has to be stored in binary.

33
Q

What is sample rate?

+ what is the sample rate measured in?

A

How many samples you take in a second
+
Hertz

34
Q

What is bit depth?

A

The number of bits available for each sample.

35
Q

What is the affect of higher bit depth and sample rate?

A

The higher the number of bit depth and sample rate the higher the quality of sound and the larger the file size.

36
Q

what are the type of compressions?

A

Lossy and lossless compression

37
Q

Why is data compression used?

A

To reduce the file size.

38
Q

What is lossy compression?

A

Removes data permanently which affects the quality of the file.

39
Q

What are the advantages and disadvantage of lossy compression?

A

Advantage:
- Greatly reduces file size
- commonly used meaning a lot of software can read lossy files
disadvantage:
- loses data that affect the quality of the file
- can’t be used on text

40
Q

What is lossless compression?

A

Data is removed temporarily and can be restored to its original state.

41
Q

What are the advantage and disadvantages of lossless compression?

A
Advantage:
- quality of not affected 
- can be used on text and software files 
disadvantages:
- only a slight reduction in file size
42
Q

Type of file types that lossy compression uses

A

JPEG and MP3

43
Q

Types of file types that lossless compression uses

A

PNG and TIFF