Revision Library

System Software - Worksheets, Questions and Revision

24 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: Secondary StorageNext: Networks and Topologies »
Revision Library
revisionlibrary.co.uk
GCSE · Computer Systems

P1.4 System Software

OCR J277 · Calculators not allowed · about 90 minutes
Total Marks
Name: _______________________________    Date: ____ / ____ / ______
Answer ALL questions. Show all your working.
1
State two functions that are carried out by the operating system of a computer.
(Total for Question 1 is 2 marks)
2
Which one of these is NOT a standard function of an operating system?
  • A) Memory management
  • B) Peripheral management
  • C) Compiling source code into machine code
  • D) User management
(Total for Question 2 is 1 mark)
3
Complete the table below by naming the type of utility software described in each row.
DescriptionType of utility software
1) Reorganises files stored on a hard disk drive so that fragmented parts of a file are stored closer together, reducing the time taken to access them.?
2) Scrambles data using an algorithm and a key so that it cannot be understood if it is intercepted.?
3) Reduces the size of a file so that it takes up less storage space or can be transferred more quickly.?
(Total for Question 3 is 3 marks)
4
A student connects a new 3D printer to their laptop for the first time. Describe how a device driver allows the operating system to communicate with the new printer.
(Total for Question 4 is 3 marks)
5
Explain what is meant by an interrupt, and explain why interrupts are assigned different priority levels.
(Total for Question 5 is 3 marks)
6
Describe, using an example, how memory management by the operating system allows a laptop to run more than one application at the same time.
(Total for Question 6 is 4 marks)
7
Modern operating systems use virtual memory to manage RAM.
(a)State what is meant by the term 'virtual memory'.(2)
(b)A student notices their laptop has become extremely slow after opening many large applications at once. Explain, in terms of virtual memory, why this has happened.(3)
(Total for Question 7 is 5 marks)
8
Explain the difference between lossy and lossless compression, using an example of when each would be an appropriate choice.
(Total for Question 8 is 4 marks)
9
A simple black and white image is stored as a single row of 12 pixels, shown below, where W = white and B = black:

WWWWWBBBWWWW
(a)Use run-length encoding (RLE) to encode this row of pixels. Show your encoding as pairs of (colour, run length).(2)
(b)Each (colour, run length) pair is stored using 2 bytes: 1 byte for the colour and 1 byte for the run length. Calculate the compression ratio achieved, given that storing the original row (uncompressed, 1 byte per pixel) uses 12 bytes. Give your answer in the form x:1.(2)
(c)Explain why run-length encoding is an effective compression technique for this image but would be far less effective for a photograph of a busy street.(2)
(Total for Question 9 is 6 marks)
10
The pseudocode below, written in the OCR Exam Reference Language, simulates round robin scheduling of three tasks sharing a processor, with a fixed time slice of 2:
tasks <- [6, 3, 5]
timeSlice <- 2
round <- 0
WHILE tasks[0] > 0 OR tasks[1] > 0 OR tasks[2] > 0
  round <- round + 1
  FOR i <- 0 TO 2
    IF tasks[i] > 0 THEN
      IF tasks[i] >= timeSlice THEN
        tasks[i] <- tasks[i] - timeSlice
      ELSE
        tasks[i] <- 0
      ENDIF
    ENDIF
  NEXT i
  OUTPUT round, tasks[0], tasks[1], tasks[2]
ENDWHILE
Round tasks[0] tasks[1] tasks[2] 1 2 3
(a)Complete the trace table below by tracing this algorithm.
Roundtasks[0]tasks[1]tasks[2]
1???
2???
3???
(3)
(b)State after how many rounds all three tasks have finished, and explain how you can tell this from the WHILE loop's condition.(3)
(Total for Question 10 is 6 marks)
11
Symmetric encryption uses the same key to encrypt and decrypt data. Describe how symmetric encryption works, and explain one problem this creates for sending encrypted data over the internet.
(Total for Question 11 is 3 marks)
12
Write an algorithm, using the OCR Exam Reference Language, that performs run-length encoding on a string of characters. Your algorithm should: input a string from the user; identify each run of identical consecutive characters; output each run as the character followed immediately by the length of the run (for example, the string 'aaabb' should output 'a3b2').
(Total for Question 12 is 6 marks)
13
Solid state drives (SSDs) do not benefit from being defragmented, whereas traditional hard disk drives (HDDs) do. Explain why defragmentation improves performance on an HDD, and explain why it is not needed (and can even reduce lifespan) on an SSD.
(Total for Question 13 is 4 marks)
14
A memory address is given in hexadecimal as 2C.
(a)Convert this address to denary.(1)
(b)Show that 44 in denary converts to 00101100 in 8-bit binary.(2)
(Total for Question 14 is 3 marks)
15
A small UK photography business wants to back up client photos to an external hard drive each week and also send some finished images to clients by email. The business is considering using compression software and encryption software as part of this process. Discuss how compression software and encryption software could each be used in this scenario, and evaluate whether the business needs both, one, or neither.
(Total for Question 15 is 6 marks)
16
Two scheduling algorithms an operating system can use to decide which process the processor works on next are round robin and first come first served (FCFS).
(a)Describe how each of these two scheduling algorithms decides which process to run.(2)
(b)A school computer runs many short background tasks (e.g. antivirus checks) alongside one long task the user is actively using (e.g. video editing). Justify which of the two scheduling algorithms would give the user a better experience, and why.(2)
(Total for Question 16 is 4 marks)
17
Strong encryption software is now built into most smartphones, meaning that even the manufacturer cannot read a user's messages or files without the user's key/passcode. Discuss the ethical issues raised by this level of encryption, considering both the benefits to individual users and the concerns raised by the police and security services.
(Total for Question 17 is 6 marks)
18
State two examples of utility software, other than encryption, defragmentation and compression software.
(Total for Question 18 is 2 marks)
19
Explain the purpose of user management within an operating system.
(Total for Question 19 is 3 marks)
20
Describe the purpose of a directory (folder) structure as part of an operating system's file management.
(Total for Question 20 is 2 marks)
21
A 20 MB video file is compressed using lossy compression to a compression ratio of 5:1. Calculate the size of the compressed file, in MB.
(Total for Question 21 is 3 marks)
22
A computer receives four interrupt signals at almost the same moment: a mouse click, a keyboard key press, a critical low battery warning, and a request from the printer to say it has run out of paper. State the order, from highest priority to lowest, in which the operating system should service these four interrupts, and justify your ordering.
(Total for Question 22 is 3 marks)
23
The pseudocode below simulates a simplified FIFO page replacement policy for a system with 3 physical memory frames. When a referenced page is not already held in one of the frames (a page fault), the oldest page is removed and the new page is added:
frames <- ["-", "-", "-"]
pageRefs <- [1, 2, 3, 1, 4, 1]
FOR i <- 1 TO 6
  page <- pageRefs[i]
  IF page NOT IN frames THEN
    FOR j <- 1 TO 2
      frames[j] <- frames[j + 1]
    NEXT j
    frames[3] <- page
  ENDIF
  OUTPUT i, frames[1], frames[2], frames[3]
NEXT i
i frames[1] frames[2] frames[3] 1 2 3 4 5 6 3 4 1 Row 6 has been completed for you - complete rows 1-5
(a)Complete the trace table for i = 1 to 5. Row 6 has been completed for you.
iframes[1]frames[2]frames[3]
1???
2???
3???
4???
5???
6341
(5)
(Total for Question 23 is 5 marks)
24
Explain how the operating system uses both device drivers and interrupts together to manage input from a keyboard.
(Total for Question 24 is 5 marks)
Mark scheme · P1.4 System Software

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

Mark your answers

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

Question 1

2 marks
Did your answer earn the marks?

Question 2

1 mark
Choose an answer

Question 3

3 marks
Did your answer earn the marks?

Question 4

3 marks
Did your answer earn the marks?

Question 5

3 marks
Did your answer earn the marks?

Question 6

4 marks
Did your answer earn the marks?

Question 7

5 marks
Did your answer earn the marks?

Question 8

4 marks
Did your answer earn the marks?

Question 9

6 marks
Did your answer earn the marks?

Question 10

6 marks
Did your answer earn the marks?

Question 11

3 marks
Did your answer earn the marks?

Question 12

6 marks
Did your answer earn the marks?

Question 13

4 marks
Did your answer earn the marks?

Question 14

3 marks
Did your answer earn the marks?

Question 15

6 marks
Did your answer earn the marks?

Question 16

4 marks
Did your answer earn the marks?

Question 17

6 marks
Did your answer earn the marks?

Question 18

2 marks
Did your answer earn the marks?

Question 19

3 marks
Did your answer earn the marks?

Question 20

2 marks
Did your answer earn the marks?

Question 21

3 marks

Question 22

3 marks
Did your answer earn the marks?

Question 23

5 marks
Did your answer earn the marks?

Question 24

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