Revision Library

Memory and Primary Storage - Worksheets, Questions and Revision

25 original exam-style questions - 10 pages of questions with a full mark scheme - free printable PDF.

Download PDFJump to mark scheme (page 11)Read the revision guide
« Previous: Systems ArchitectureNext: Secondary Storage »
Revision Library
revisionlibrary.co.uk
GCSE · Computer Systems (Memory and Storage)

P1.2 Memory and Primary Storage

OCR J277/01 - 1.2 Memory and Storage · Calculators not allowed · about 90 minutes
Total Marks
Name: _______________________________    Date: ____ / ____ / ______
Answer ALL questions. Show all your working.
1
Identify which type of memory is volatile, meaning its contents are lost when the power supply is removed.
  • A) RAM
  • B) ROM
  • C) Hard disk drive (HDD)
  • D) Solid state drive (SSD)
(Total for Question 1 is 1 mark)
2
Table 1 shows four statements about memory in a desktop computer. For each statement, state whether it describes RAM, ROM, or Both.
Table 1 Statement Answer (a) Its contents are lost when the power supply is switched off. (b) It stores the start-up instructions (bootstrap program) needed when the computer is first switched on. (c) It can be read from and written to while applications are running. (d) It is a type of primary storage that the CPU can access directly.
(a)Its contents are lost when the power supply is switched off.(1)
(b)It stores the start-up instructions (bootstrap program) needed when the computer is first switched on.(1)
(c)It can be read from and written to while applications are running.(1)
(d)It is a type of primary storage that the CPU can access directly.(1)
(Total for Question 2 is 4 marks)
3
Explain why a computer requires both RAM and ROM, rather than just one type of memory.
(Total for Question 3 is 3 marks)
4
Order these four memory types from fastest access speed to slowest access speed: RAM, Registers, Cache, Secondary storage (SSD).
(Total for Question 4 is 2 marks)
5
Describe the purpose of cache memory in a computer system.
(Total for Question 5 is 2 marks)
6
A gaming computer's CPU cache size is increased from 4 MB to 8 MB. Explain the likely effect this will have on the performance of the CPU.
(Total for Question 6 is 3 marks)
7
Virtual memory is a technique used by operating systems to manage limited RAM.
(a)Define the term virtual memory.(1)
(b)Explain why an operating system uses virtual memory when RAM becomes full.(3)
(Total for Question 7 is 4 marks)
8
Explain one disadvantage of a computer relying heavily on virtual memory rather than RAM.
(Total for Question 8 is 2 marks)
9
This question is about units used to measure the amount of data stored in a computer.
(a)State how many bits are in one byte.(1)
(b)State how many bytes are in one kibibyte (KiB).(1)
(c)A photo file is 2.5 MB in size. Calculate the size of the file in kilobytes (KB). Use 1 MB = 1000 KB.(1)
(d)Calculate the size of the same photo file in bytes. Use 1 KB = 1000 bytes.(1)
(Total for Question 9 is 4 marks)
10
This question is about converting between binary, denary and hexadecimal, as used to represent memory contents and addresses. Show your working for each conversion.
(a)Convert the 8-bit binary number 01011010 to denary.(2)
(b)Convert the same binary number, 01011010, to hexadecimal.(2)
(c)Convert the hexadecimal value 3F into an 8-bit binary number.(2)
(d)Convert the denary number 200 into hexadecimal.(2)
(Total for Question 10 is 8 marks)
11
This question is about the use of hexadecimal to represent memory addresses.
(a)A memory location is addressed using the hexadecimal value 2C. Calculate this address in denary.(2)
(b)State why programmers often use hexadecimal, rather than binary, when writing or reading memory addresses.(2)
(Total for Question 11 is 4 marks)
12
A laptop has 8 GB of RAM installed. Calculate the maximum number of 4 MB photo files that could be held in this RAM at one time, if no other data were stored in RAM. Use 1 GB = 1000 MB.
(Total for Question 12 is 3 marks)
13
A CPU's cache has a hit rate of 90%. During a task, the CPU makes 5000 requests for data. Calculate the number of these requests that were cache hits, and the number that were cache misses.
(Total for Question 13 is 3 marks)
14
A programmer wants to estimate how much memory (in bytes) a program will need to store some simple variables. Every INTEGER variable takes up 4 bytes and every CHAR variable takes up 1 byte.

Write an algorithm, using pseudocode, that:
- asks the user to input the number of INTEGER variables needed
- asks the user to input the number of CHAR variables needed
- calculates and outputs the total number of bytes required.
(Total for Question 14 is 5 marks)
15
A programmer writes the following algorithm to check whether some file sizes (in bytes) count as 'Large' or 'Small'.
fileSizes = [500000, 2000000, 15000000]
FOR i = 0 TO 2
    sizeInMB = fileSizes[i] / 1000000
    IF sizeInMB >= 1 THEN
        OUTPUT "Large"
    ELSE
        OUTPUT "Small"
    ENDIF
NEXT i

Complete the trace table to show the values of i, fileSizes[i] and sizeInMB, and the output produced, as the algorithm executes.
i fileSizes[i] sizeInMB Output
(Total for Question 15 is 4 marks)
16
A student upgrades their laptop's RAM from 8 GB to 16 GB, hoping this will make their laptop run much faster.

Discuss the likely effect of this upgrade on the laptop's performance, and explain the circumstances in which further increasing the RAM would provide little or no additional benefit.

In your answer you should refer to:
- the relationship between RAM size, secondary storage use and performance
- the role of the CPU and cache in overall performance
- the idea of diminishing returns
(Total for Question 16 is 6 marks)
17
This question is about the contents of ROM.
(a)State what type of program is typically stored in ROM in a computer system.(1)
(b)Explain why it is essential that this data is not lost when the computer's power is switched off.(2)
(Total for Question 17 is 3 marks)
18
Registers inside the CPU are much faster to access than RAM. Explain why registers cannot be used to store all of the data and instructions needed by a currently running program, instead of RAM.
(Total for Question 18 is 2 marks)
19
A processor's address bus can produce 224 different addresses, and each address refers to one byte of memory. Calculate the maximum amount of RAM, in MB, that this processor can address. Use 1 MB = 220 bytes.
(Total for Question 19 is 3 marks)
20
Laptop A and Laptop B have identical CPUs and the same amount of RAM, but Laptop A has a larger CPU cache than Laptop B.
(a)Explain, using the idea of cache hit rate, why Laptop A is likely to complete most everyday tasks faster than Laptop B.(2)
(b)Explain one situation in which Laptop A's extra cache would provide little or no performance benefit over Laptop B.(2)
(Total for Question 20 is 4 marks)
21
This question is about memory addressing.
(a)A memory address is 4 bits long. State the maximum number of unique memory locations that can be addressed.(1)
(b)A system needs to be able to address 1024 unique memory locations. Calculate the minimum number of bits required for each address.(2)
(Total for Question 21 is 3 marks)
22
Identify two units of digital storage that are larger than a gigabyte (GB). Give your answer in order, smallest to largest.
(Total for Question 22 is 2 marks)
23
State one reason why ROM is described as non-volatile memory.
(Total for Question 23 is 1 mark)
24
A tablet computer has 4 GB of RAM installed. While several apps are open, 3.2 GB of this RAM is in use. Calculate the percentage of the tablet's RAM currently in use.
(Total for Question 24 is 2 marks)
25
Explain why closing applications that are not being used can improve the performance of a computer that has a limited amount of RAM.
(Total for Question 25 is 2 marks)
Mark scheme · P1.2 Memory and Primary Storage

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

Question 7

Question 8

Question 9

Question 10

Question 11

Question 12

Question 13

Question 14

Question 15

Question 16

Question 17

Question 18

Question 19

Question 20

Question 21

Question 22

Question 23

Question 24

Question 25

Mark your answers

This checks your answers in your browser, stores nothing on a server and needs no account.

Question 1

1 mark
Choose an answer

Question 2

4 marks
Did your answer earn the marks?

Question 3

3 marks
Did your answer earn the marks?

Question 4

2 marks
Did your answer earn the marks?

Question 5

2 marks
Did your answer earn the marks?

Question 6

3 marks
Did your answer earn the marks?

Question 7

4 marks
Did your answer earn the marks?

Question 8

2 marks
Did your answer earn the marks?

Question 9

4 marks
Did your answer earn the marks?

Question 10

8 marks
Did your answer earn the marks?

Question 11

4 marks
Did your answer earn the marks?

Question 12

3 marks

Question 13

3 marks
Did your answer earn the marks?

Question 14

5 marks
Did your answer earn the marks?

Question 15

4 marks
Did your answer earn the marks?

Question 16

6 marks
Did your answer earn the marks?

Question 17

3 marks
Did your answer earn the marks?

Question 18

2 marks
Did your answer earn the marks?

Question 19

3 marks

Question 20

4 marks
Did your answer earn the marks?

Question 21

3 marks
Did your answer earn the marks?

Question 22

2 marks
Did your answer earn the marks?

Question 23

1 mark
Did your answer earn the marks?

Question 24

2 marks

Question 25

2 marks
Did your answer earn the marks?
Mark my answers