3.4b Memory - excluding cache and register - in 3.4a Flashcards

1
Q

Define memory

A

The part of a computer that stores data.

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

What is main memory:

  • where?
  • adv?
  • practically?
A

Main memory is built inside the computer.
As a result, data can be read from and written to main memory extremely quickly.
This gives the processor fast access to the data and instructions that the main memory holds.

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

2 types of main memory

A

There are two types of main memory:

  • read-only memory (ROM)
  • random access memory (RAM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is ROM?

Contents retained/lost when turned off?

A

Read only memory. This is non-volatile memory or storage containing data that cannot be changed.

Its contents are not lost when the computer is turned off.

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

Quality of ROM - and what this makes ROM ideal for?

A

ROM can be read from, but not written to, hence the term “read-only”.
This makes ROM ideal for storing instructions and data that are needed for the computer to run.
These instructions and data are usually programmed by the computer’s manufacturer and cannot be overwritten.

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

Example of a program stored in ROM

  • also when does it run
  • what does it do
A

The Basic Input Output System (BIOS) is an example of a program that is stored in ROM.
The BIOS runs as soon as the computer is switched on.
It checks that the hardware is functioning correctly, then runs a second program known as the bootup or bootstrap program that loads the computer’s operating system from the hard drive into the RAM.

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

RAM

  • what is it?
  • when computer switched off?
A

Random access memory (RAM) is volatile main memory.

It does not retain its contents without a constant supply of power. When a computer is switched off, the data and instructions held in RAM are lost.

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

Why is RAM given the term ‘random access’

A

RAM is given the term “random access” because data can be stored and accessed from any location within the memory.

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

What is RAM used to store?

So, for example?

A

RAM is used to hold data and programs that are currently in use.

In a modern PC, RAM is used to hold the operating system and any open documents and programs that are running.

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

True/false?

RAM can be read from and written to, and is volatile.

A

True

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

How can contents of RAM be changed - and when

- give 2 examples

A

The contents of RAM can be changed at any time, simply by overwriting them with other data and instructions.
For example, a user might close one document and open a second, or run a different program.

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

More RAM = ?

A

The more RAM a computer has, the more data and programs it can hold simultaneously

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

Upgradability of RAM?

A

RAM can also be upgraded fairly easily, unlike other types of main memory.

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

2 marks - How does ROM differ from RAM?

Not in adv info

A

ROM is read only and non-volatile. RAM can be read from and written to and is volatile.

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

The need for secondary storage - explain nicely

Has been removed

A

Computers use main memory such as random access memory (RAM) and cache to hold data that is being processed.
However, this type of memory is volatile - it loses its contents when the computer is switched off.
General purpose computers, such as personal computers and tablets, need to be able to store programs and data for later use.

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

Therefore simply, secondary storage is needed to?

A

Secondary storage is needed to keep programs and data long term.

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

What would happen without secondary storage + why

A

Secondary storage is non-volatile, long-term storage. Without secondary storage all programs and data would be lost the moment the computer is switched off.

18
Q

There are three main types of secondary storage in a computer system:
(Examples as well)

A
  • solid state storage devices, such as USB memory sticks
  • optical storage devices, such as CD, DVD and Blu-ray discs
  • magnetic storage devices, such as hard disk drives
19
Q

What doesnt need secondary storage and why?

A

However, not all computers require secondary storage. Embedded computers, such as those found in a washing machine or central heating system, do not need to store data when the power is turned off. The instructions needed to run them are stored in read-only memory (ROM) and any user data is held in RAM.

20
Q

Solid state storage:

  • what’s is it made of?
  • features (2)
A
  • Solid state storage is a special type of storage made from silicon microchips.
  • It can be written to and overwritten like RAM.
  • However, unlike RAM, it is non-volatile, which means that when the computer’s power is switched off, solid state storage will retain its contents.
21
Q

Where is solid state also used - example (2)

A

Solid state is also used as external secondary storage, for example in USB memory sticks and solid state drives.

22
Q

2 benefits of solid state storage - EXPLAINED

A

One of the major benefits of solid state storage is that is has no moving parts. Because of this, it is more portable, and produces less heat compared to traditional magnetic storage devices. Less heat means that components last longer.

Solid state storage is also faster than traditional hard disk drives because the data is stored electrically in silicon chips called cells. (Explanation next card)

23
Q

How solid state ACTUALLY works

A

Within the cells, the binary data is stored by holding an electrical current in a transistor with an on / off mode.
Unlike RAM which uses a similar technique, solid state storage retains this even when the power is switched off by using a technology known as flash memory.

24
Q

Flash memory ?

A

Non-volatile memory that can be read from and written to. It is suitable for secondary storage

  • it is the medium for solid state storage
25
Q

Solid state storage is ideal for (3 examples)

A

Solid state is an ideal storage medium for many modern devices such as tablets, smartphones and digital cameras.

26
Q

Magnetic storage - example

A

Hard disk drives

27
Q

Magnetic storage - what it uses?

  • what sections represent?
  • how much data can be contained + why?
A

Magnetic devices such as hard disk drives use magnetic fields to magnetise tiny individual sections of a metal spinning disk. Each tiny section represents one bit. A magnetised section represents a binary ‘1’ and a demagnetised section represents a binary ‘0’. These sections are so tiny that disks can contain terabytes (TB) of data.

28
Q

How to read/write data on magnetic devices?

A

As the disk is spinning, a read/write head moves across its surface.
To write data, the head magnetises or demagnetises a section of the disk that is spinning under it.
To read data, the head makes a note of whether the section is magnetised or not.

29
Q

Adv + disadvantages of magnetic devices

A

Magnetic devices are fairly cheap, high in capacity and durable.

However, they are susceptible to damage if dropped. They are also vulnerable to magnetic fields - a strong magnet might possibly erase the data the device holds.

30
Q

Optical devices

  • how they work (what they use, to do what)
  • describe its composition
A

Optical devices use a laser to scan the surface of a spinning disc made from metal and plastic. The disc surface is divided into tracks, with each track containing many flat areas and hollows. The flat areas are known as lands and the hollows as pits.

31
Q

What happens avec optical devices? HOW IT ACTUALLY WORKS

- what does what represent and how?

A

When the laser shines on the disc surface, lands reflect the light back, whereas pits scatter the laser beam. A sensor looks for the reflected light. Reflected light - land - represents a binary ‘1’, and no reflection - pits - represents a binary ‘0’.

32
Q

3 different types of optical media???

- explain each one w/ examples

A
  • ROM media have data pre-written on them. The data cannot be overwritten. Music, films, software and games are often distributed this way.
  • Read (R) media are blank. An optical device writes data to them by shining a laser onto the disc. The laser burns pits to represent ‘0’s. The media can only be written to once, but read many times. Copies of data are often made using these media.
  • Read/write RW works in a similar way to R, except that the disc can be written to more than once.
33
Q

3 examples of optical devices

A

CD, DVD and Blu-ray discs are forms of optical storage.

34
Q

For adv and dis of solid state, magnetic, optical — see other deck

A

Ok

35
Q

In the exam you might be given a scenario and then be asked to recommend the most suitable storage media to use.
When choosing an appropriate storage media to use you need to consider the following things : (6)

A

Capacity The amount of data that can be stored, and the maximum size of the files.

Speed How quickly can the data be accessed from or written to the media

Portability Can the media be easily moved about? This depends on both the size and weight of the media.

Durability How resistant the media is to damage. Whether it is rugged enough to survive knocks, scratches, etc.

Reliability The shelf life of the media. How long it will retain data so that it can be accessed reliably and without error in the format in which it was originally saved.

Cost How expensive the media is in terms of cost per gigabyte of storage.

36
Q

Define cloud storage:

  • what
  • where
  • how
A

Storing data at a remote location online is known as cloud storage. When files and data are sent to the cloud, they are actually being sent to a server that is connected to the internet. Files can be uploaded to a folder system and downloaded as required.

37
Q

What does the spec say to understand about cloud storage

A

Students should understand that cloud storage uses magnetic and/or solid state storage at a remote location

38
Q

In recent years, the cloud has also become a term for internet-based software facilities.

Cloud storage has many advantages:
(3)

A
  • data can easily be accessed from anywhere with an internet connection.
  • the business running the cloud storage service manages backups and security.
  • additional storage can be added easily without having to invest in additional hardware.
39
Q

However, cloud storage also has a number of disadvantages associated with it: (4)

A
  • if you can access your data from anywhere with an internet connection, then a hacker can potentially do the same.
  • if your internet connection fails, then you won’t be able to access your files.
  • you are relying on other people to correctly secure your data and keep backups.
  • you don’t know if employees of the cloud service will have access to your data.
40
Q

What does a business that is considering using a cloud computing service have to think about
- big detailed chunk
— - what does it depend upon

A

A business that is considering using a cloud computing service will have to think about whether the advantages outweigh the risks. This is a complex decision and will depend on many factors, including the type of data to be stored in the cloud system.

Technology is always changing and it is important to think about the risks involved when using any new technology. This is especially important when that technology is used to store information that could be private and confidential. Do the risks outweigh the disadvantages? Is the technology likely to suffer from some kind of cyberattack?

41
Q

Q. Explain how a solid state disk drive (SDD) operates (4 marks):

A

• use electrical circuits to persistently store data;
• non-mechanical – nothing spins;
• contain a controller circuit board and lots of electrical circuits wired
together into a grid. The grid is organised into “pages”;
• hold data using microscopic electronic switches (floating gate
transistors) - these can be charged as + or –turned in to 1s and 0s;
• the transistors create NAND gates that trap electron flow within them. This continues when the power in the system is turned off;
• SSD are random access – so data transfer is quicker;
• if data is updated, the section of the SSD can’t just be over-written.
Data must be copied to main memory, written to a new area and the original section then erased.