9618/13/O/N/23 question 3: worked solution (October/November 2023, paper 13)
Show as plain textHide plain text
Cambridge AS Level Computer Science 9618 · 8.3 Data Definition Language (DDL) and Data Manipulation Language (DML) Worked solution from the Databases Paper 1 Theory Fundamentals booklet, Part 2 of 2. Q22 9618/13/O/N/23 original Q3 Structured · 18 marks Worked solution (a)(i) Give two reasons (any two of these; only two marks are available): The courses must be available to anyone who wants to follow them [1] The courses must be available on the internet [1] The company is willing to share infrastructure with other companies (public cloud) ...which is more economic for the company (a)(ii) Describe two disadvantages, each with its reason: Loss of control of the data [1] ...because it is stored on someone else's infrastructure and the company relies on them for tasks such as backups and security [1] Needs a reliable internet connection [1] ...to reach the data; a LAN server is easier to reach [1] Increased recurring costs (provider charges against a one-off LAN cost) is also accepted. (a)(iii) Write one use for each: Firewall : monitors incoming and outgoing traffic and blocks traffic that does not meet its rules [1] Encryption : if data is intercepted it cannot be understood without the decryption key [1] Passwords : only users with the correct password can get in, which stops unauthorised access [1] (b)(i) Draw both lines with the crow's foot at COURSE_SCHEDULE: COURSE_SCHEDULE M : 1 TUTOR COURSE_SCHEDULE M : 1 COURSE_INFORMATION Both 1:M relationships drawn correctly [1] (b)(ii) Count CourseID in COURSE_SCHEDULE where the start date is after 9 September 2023, and name the result. SELECT COUNT(CourseID) AS NumOfCourses FROM COURSE_SCHEDULE WHERE DateStarted > "09/09/23"; SELECT COUNT(CourseID) [1] AS NumOfCourses (any suitable field name) [1] FROM COURSE_SCHEDULE [1] WHERE DateStarted > "09/09/23" [1] (c) Write two verification methods, each with how it works: Visual check : the officer checks by eye [1] ...that the tutor ID typed matches the ID on the original document [1] Double entry : the officer (or a second person) types the ID a second time [1] ...and the system compares it with the first entry [1] KEY IDEA Verification checks data was copied correctly, by a visual check or by double entry. TOTAL 18 marks Official mark scheme VIDEO ▶ Starts at Q3 (8:47) Starts at Q3 (8:47) · by Pseudocode Pro. Tap the picture to open it on YouTube.