Cambridge AS Level Computer Science 9618 · 6.1 Data Security

Q11 · 9618/12/O/N/24 Q4

Worked solution from the Security, privacy and data integrity Paper 1 Theory Fundamentals booklet, Part 1 of 2.

Q119618/12/O/N/24original Q4Structured · 10 marks
Question 4 from 9618/12/O/N/24

Worked solution

(a)

Any four of these:

Single stepping: run the program one line at a time [1]

... and check the variable contents or the effect of each line [1]

Breakpoints: run the code up to a set line [1]

... then check the status at that point [1]

Watch window: view how the data changes as the program runs

(b)

Any three of these:

Subroutines can be shared and reused between team members who are working independently [1]

... without having to rewrite or re-test them, which saves the programmers' time [1]

The library gives continuity between programs and programmers [1]

Each programmer can add their specialism and use the specialisms of others.

(c)

Choose encryption.

Security method: encryption [1]

The file contents are converted to cipher text [1]

If intercepted, the data cannot be understood without the decryption key [1]

KEY IDEAIDE debugging tools let you pause and inspect a running program; libraries save a team repeating work.
TOTAL 10 marks

Official mark scheme

Mark scheme for 9618/12/O/N/24 question 4
VIDEO
▶ Topic lesson

A lesson on this topic · by ZAINEMATICS. Tap the picture to open it on YouTube.

Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.