1.2.1 Primary Storage (Memory)

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/60

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

61 Terms

1
New cards

Why do computers have primary storage (memory)?

To provide fast access to data, instructions, and software currently in use by the CPU.

2
New cards

Main memory (sometimes called ________ ________) refers to storage locations that are directly _________ by the _________.

primary storage, accessible, processor

3
New cards

Main memory offers very ____ read/write speeds but is typically much _______ capacity than ________ _________ devices.

fast, lower, secondary storage

4
New cards

What does primary storage usually consist of?

RAM and ROM.

5
New cards

What does it mean for memory to be volatile?

Its contents are lost when the computer loses power.

6
New cards

What does it mean for memory to be non-volatile?

Its contents are not lost when the computer loses power.

7
New cards

What is stored in the Random Access Memory (RAM)?

It holds all of the data and instructions that are currently being processed.

8
New cards
<p>What are the characteristics of Random Access Memory (RAM)?</p>

What are the characteristics of Random Access Memory (RAM)?

  • It is volatile

  • You can read and write to it

  • It is quicker to access than secondary storage

  • It has the largest capacity of all main memory

9
New cards

In order for any program to be executed, it must first be loaded into the RAM from secondary storage. Why is this the case?

This is because RAM has quicker read and write speeds than secondary storage devices.

10
New cards

The processor will fetch __________ (and any necessary ____) from the ____ directly before __________ and _________ them.

instructions, data, RAM, decoding, executing

11
New cards

Within the RAM, the memory is split up into separate __________, each of which is given a unique _______ ________. The __________ will use these addresses to access the data stored in ____.

locations, memory address, processor, RAM

12
New cards

Why is RAM called ‘random access’ memory?

Any of the locations in RAM can be accessed in the same amount of time, unlike other storage devices where a sensor (such as a read/write head) needs to be moved into place. Any location can be accessed "at random" with no impact on speed.

13
New cards

Is the Random Access Memory (RAM) volatile or non-volatile?

Volatile.

14
New cards

Any data that needs to be stored ____________ must be moved out of RAM before a computer is _________ ___.

permanently, switched off

15
New cards

Although the capacity of RAM is typically ______ than secondary storage devices, it is often the ________ capacity form of main memory.

lower, highest

16
New cards

What is stored in the Read-Only Memory (ROM)?

The boot sequence (BIOS) for a computer.

17
New cards
<p>What are the characteristics of ROM?</p>

What are the characteristics of ROM?

  • It is non-volatile

  • It is written by the computer manufacturer

  • Usually stores the BIOS

  • Smaller capacity than RAM

18
New cards

True or False: the ROM’s contents can be modified during normal operation.

False.

19
New cards

The contents of ROM are set by the ___________ _____________ and, as the name implies, your computer usually only _____ from ROM.

computer manufacturer, reads

20
New cards

The BIOS (______ _______ _______ ______) stored on ___ is a very _______ sequence of instructions that checks that the ____ components of the computer system (___, fundamental _____/_____ devices, _______ storage) are connected and responding correctly.

Basic Input Output System, ROM, limited, core, RAM, input, output, secondary

21
New cards

Which of these components do you think the BIOS checks first?

The screen

22
New cards

Is the Read-Only Memory (ROM) volatile or non-volatile?

Non-volatile.

23
New cards
<p>Fill in the blanks in this table comparing RAM and ROM. (A)</p>

Fill in the blanks in this table comparing RAM and ROM. (A)

Stores data and instructions during processing.

24
New cards
<p>Fill in the blanks in this table comparing RAM and ROM. (B)</p>

Fill in the blanks in this table comparing RAM and ROM. (B)

Non-volatile, data remains after power is switched off

25
New cards
<p>Fill in the blanks in this table comparing RAM and ROM. (C)</p>

Fill in the blanks in this table comparing RAM and ROM. (C)

Read and write

26
New cards
<p>Fill in the blanks in this table comparing RAM and ROM. (D)</p>

Fill in the blanks in this table comparing RAM and ROM. (D)

Usually several gigabytes

27
New cards
<p>Fill in the blanks in this table comparing RAM and ROM. (E)</p>

Fill in the blanks in this table comparing RAM and ROM. (E)

A few megabytes in size

28
New cards

Virtual memory is a way a computer system can compensate for a shortage of ___.

RAM

29
New cards

Running applications with high main memory requirements on systems with ________ main memory will lead to issues as applications ______ with each other for access to ___.

minimal, compete, RAM

30
New cards

Why might virtual memory be needed in a system?

When a computer’s RAM is full and there are still more programs or data that need to be loaded.

31
New cards
<p><span>To reduce the likelihood of a slowdown in performance, computer systems allocate a portion of _________ _______ as virtual memory. This process allocates a portion of the ___ / ___ for storage of applications and files that are ________ open.</span></p>

To reduce the likelihood of a slowdown in performance, computer systems allocate a portion of _________ _______ as virtual memory. This process allocates a portion of the ___ / ___ for storage of applications and files that are ________ open.

secondary storage, HDD, SSD, currently

32
New cards

How does virtual memory work?

The system uses part of the secondary storage (such as a hard drive or SSD) as if it were extra RAM.

33
New cards

When a system requires _______ ________, the operating system creates a set of ________ addresses (RAM is separated into a set of _________ addresses).

virtual memory, virtual, physical

34
New cards

Data moved to virtual memory is stored as _____. When the processor (___) is ready to accept instructions from the files in _______ _______, it moves the page files into ___, allocating a _________ address to the data.

pages, CPU, virtual memory, RAM, physical

35
New cards

When page files are moved from ______ to ____ memory, other data is moved from RAM to either ________ ________ or back to the ____________ _________.

virtual, real, virtual memory, secondary storage

36
New cards

Virtual memory shouldn't be confused with ________ _______ — a term used to refer to secondary storage located away from the computer, such as cloud storage and other network storage services.

virtual storage

37
New cards

Both HDDs and ___s are used for virtual memory. SSDs have an advantage over ___s in that access speed is closer to that of ___. However, a system that uses SSDs regularly for ______ _______ reduces the _______ of the SSDs, as a result of their ______ read/write lifecycle.

SSD, HDD, RAM, virtual memory, lifespan, finite

38
New cards

What is stored in the cache?

Frequently used data/instructions.

39
New cards

What is another type of memory designed to make access to frequently used data much faster?

Cache memory

40
New cards
<p>Cache site between the _________ and ___.</p>

Cache site between the _________ and ___.

processor, RAM

41
New cards

The closer the cache is to the CPU, the _______ it can ____ and write data, but the ____ it can store.

faster, read, less

42
New cards

The level one cache is usually a part of the __________ itself. This cache has the ________ capacity, but the ________ access speed.

processor, lowest. quickest

43
New cards

In some processors, the level two cache might be built into the _________ along with level one. Level two is slightly _______ to read, but has a _______ capacity than level one.

processor, slower, higher

44
New cards

The level three cache might be the ________ at reading and writing, but it is still roughly twice as fast as ___.

slowest, RAM

45
New cards

Onboard the CPU there are very small memory devices called ________. Registers provide faster access than both the ___ and ______, but are only able to hold a few _____ at most.

registers, RAM, cache, bytes

46
New cards

What are two categories that registers are split into?

General purpose and dedicated (special purpose)

47
New cards

General purpose registers are used to temporarily store values generated by ___________, if they need to be used again in the ____ instruction.

instructions, next

48
New cards

Dedicated registers serve a specific purpose in the ______-________-______ cycle.

fetch, decode, execute

49
New cards

A car has a ‘Follow Me’ system that uses a cruise control feature to allow the car to follow the car in front of it. It will keep the same speed and distance without the driver’s intervention. The cruise control system is an example of an embedded system. The car’s system has Read Only Memory (ROM) and Random Access Memory (RAM). State two items that will be stored in the ROM for the ‘Follow Me’ system.

Startup instructions and operating system

50
New cards

A car has a ‘Follow Me’ system that uses a cruise control feature to allow the car to follow the car in front of it. It will keep the same speed and distance without the driver’s intervention. The cruise control system is an example of an embedded system. The car’s system has Read Only Memory (ROM) and Random Access Memory (RAM). The RAM will store currently running data and instructions. State three items of data that will be stored in the RAM for the ‘Follow Me’ system.

The current speed of the car in front, the distance between the two cars, current speed of the car.

51
New cards

A car has a ‘Follow Me’ system that uses a cruise control feature to allow the car to follow the car in front of it. It will keep the same speed and distance without the driver’s intervention. The cruise control system is an example of an embedded system. The car’s system has Read Only Memory (ROM) and Random Access Memory (RAM). Explain why the ‘Follow Me’ system does not need virtual memory.

There is no secondary storage to use as virtual memory. There are no memory intensive tasks.

52
New cards

An artist has a computer that they use to create images. Their computer has both hardware and software. The hardware includes primary and secondary storage. Explain why a computer needs both primary and secondary storage.

Primary storage is needed to store active instructions that the processor needs to access.
Secondary storage is used to store data permanently.

53
New cards
<p>A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct.&nbsp;Re-write any statement that is incorrect in the False column by changing the statement to make it true. (A)</p>

A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct. Re-write any statement that is incorrect in the False column by changing the statement to make it true. (A)

False - A section of secondary storage is partitioned to act as virtual memory

54
New cards
<p>A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct.&nbsp;Re-write any statement that is incorrect in the False column by changing the statement to make it true. (B)</p>

A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct. Re-write any statement that is incorrect in the False column by changing the statement to make it true. (B)

False - Data from RAM is transferred into VM

55
New cards
<p>A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct.&nbsp;Re-write any statement that is incorrect in the False column by changing the statement to make it true. (C)</p>

A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct. Re-write any statement that is incorrect in the False column by changing the statement to make it true. (C)

True

56
New cards
<p>A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct.&nbsp;Re-write any statement that is incorrect in the False column by changing the statement to make it true. (D)</p>

A computer has Virtual Memory (VM). The table has four statements about VM. Not all of the statements are correct. Re-write any statement that is incorrect in the False column by changing the statement to make it true. (D)

False - Data from VM is transferred back to RAM when needed

57
New cards

A smart television allows the user to search the Internet and watch videos online. A smart television has both RAM and ROM. State the difference between RAM and ROM.

RAM is volatile, ROM is non-volatile

58
New cards

Give two examples of data that a smart television could store in RAM.

Current TV program being watched and current volume.

59
New cards
<p>A satellite navigation system (Sat Nav) uses RAM and ROM. State whether each of the statements is true for the RAM or ROM in a Sat Nav. (A)</p>

A satellite navigation system (Sat Nav) uses RAM and ROM. State whether each of the statements is true for the RAM or ROM in a Sat Nav. (A)

ROM

60
New cards
<p>A satellite navigation system (Sat Nav) uses RAM and ROM. State whether each of the statements is true for the RAM or ROM in a Sat Nav. (B)</p>

A satellite navigation system (Sat Nav) uses RAM and ROM. State whether each of the statements is true for the RAM or ROM in a Sat Nav. (B)

RAM

61
New cards
<p>A satellite navigation system (Sat Nav) uses RAM and ROM. State whether each of the statements is true for the RAM or ROM in a Sat Nav. (C)</p>

A satellite navigation system (Sat Nav) uses RAM and ROM. State whether each of the statements is true for the RAM or ROM in a Sat Nav. (C)

RAM