ExamBank Scot · AH Computing Science question bank · All AH Computing Science questions

AH Computing Science 2026 Question 7

6 marks · UML use case diagrams

A UML use case diagram has been produced based on the description above. Identify two errors in this UML use case diagram. extend Log in Reset password Make appointment include View appointment Cancel appointment history Customer extend Search for appointment Database Create account extend Manage accounts Update account Delete account extend Administrator Approve loan Customers will be able to view the new appointment booking system on mobile phones and desktop computers. The design for each version of the appointment system is shown below. mobile phone design desktop computer design 600 px Username Appointment date Appointment time Comments Book Comments Username Appointment date Appointment time Book Write the line of CSS code that will be used to alter how the web page is displayed on a mobile device. The bank also provides an online banking service. Customers log in using their e‑mail address and password. The wireframe below shows login details for the customer Mia Steele. yieldbanklogo.png width: 100 px height: 75 px Provide your login details Underlying Validation process B Authenticate miasteele@mymail.com E-mail address login credentials Password ************** Underlying Validation process Login Check for mix of upper A Forgotten password? Click here and lower case Complete the wireframe design by providing the missing details for the underlying process labelled ‘A’ and suitable validation for the e‑mail address labelled ‘B’. Once the e‑mail address and password has been successfully authenticated, Mia will be presented with the ‘Welcome’ page shown in the screenshot below. Welcome back! Current Savings account account You are logged in using miasteele@mymail.com Explain how session variables have been used to create this page of the website. A bank is developing an appointment booking system. There will be two types of users in the system: customers and administrators, and each user can perform specific tasks. Customer tasks: • log in to the system using their username and password • reset the password if it has been forgotten • search for a suitable appointment using appointment date and time • make an appointment to discuss a loan • view details of an appointment that has already been made and cancel it if necessary. Administrator tasks: • perform all tasks that a customer can perform • manage customer accounts (create, update, or delete an account) • approve a customer loan.

Marking scheme

• there is no relationship between the Administrator and User actors to show generalisation • cancel Appointment should be an extend use case from View appointments • cancel Appointment has not been connected to the Database Award 1 mark for each bullet. Maximum 2 marks. See sample solution below. Award 1 mark for use of media screen query with max-width of 600px. @media screen and (max-width: 600px) { } • Label A: Hyperlink – display password reset page • Label B: Check for @ Award 1 mark each. A session variable has been used to store the email submitted at login so that it can persist across all pages of the website. Award 1 mark for identifying need for email to persist across pages of the website.

Previous question: AH Computing Science 2026 Question 6

Next question: AH Computing Science 2026 Question 8