GCSE
C500U20-1 S23-C500U20-1
THURSDAY, 25 MAY 2024 – AFTERNOON
COMPUTER SCIENCE – Component 2
Computational Thinking and Programming
2 hours
C50 0U201
01
ADDITIONAL MATERIALS
You will require the WJEC supplied prototype Python file: Digitech.py and Payroll.py
Your computer should be pre-installed with a word processing package and a functional copy of
Python 3.10.5.
INSTRUCTIONS TO CANDIDATES
Some questions should be answered in a word-processed document. All other questions will
require the use of a functional copy of Python (any version from 3.8 to 3.10.5).
Save your work regularly.
INFORMATION FOR CANDIDATES
The total number of marks available for this examination is 80.
The number of marks is given in brackets at the end of each question or part-question.
You are reminded of the need for good English and orderly, clear presentation in your answers.
The quality of your written communication, including appropriate use of punctuation and grammar,
will be assessed in your answers.
© WJEC CBAC Ltd. CJ/JS*(S23-C500U20-1)
, PMT
2
Create a new word-processed document called ExamAnswers.
Open the DigiTech.py file and the Payroll.py file and familiarise yourself with the contents.
Investigation
1. Using the DigiTech.py file:
(a) Provide a screenshot of the error message displayed following a failed login attempt.
State the incorrect username AND incorrect password used. [3]
(b) Provide a screenshot of the message displayed following a successful login attempt.
State the username and password used. [3]
Enter your answers in your ExamAnswers document.
2. Identify one example of each of the following from the DigiTech.py file:
(a) code to generate a button on a form [1]
(b) iteration [1]
(c) assignment. [1]
Copy your answers into your ExamAnswers document.
3. Describe one example of each of the following using annotation in the DigiTech.py file:
(a) selection [2]
(b) navigation code [2]
(c) iteration [2]
(d) writing information to a file. [2]
Enter your answers as code in the DigiTech.py Python file.
© WJEC CBAC Ltd. (C500U20-1)