AS & A Level Computer Science (9618) — May–June 2023, Paper 22
8 questions · every question answerable online with instant point-by-point AI marking against the official mark scheme.
Start with Question 1 →A program calculates the postal cost based on the weight of the item and its destination. Calculations occur at various points in the program and these result in the choice of…
Answer this question and get it marked →A program stores a user's date of birth using a variable MyDOB of type DATE. Write a pseudocode statement, using a function from the insert, to assign the value corresponding to…
Answer this question and get it marked →A program stores data in a text file. When data is read from the file, it is placed in a queue. The diagram below represents an Abstract Data Type (ADT) implementation of the…
Answer this question and get it marked →A function GetNum() will: 1. take two parameters: a string and a character 2. count the number of times that the character occurs in the string 3. return the count. Any comparison…
Answer this question and get it marked →A programmer has produced the following pseudocode to output the square root of the numbers from 1 to 10. Line numbers are for reference only. 10 DECLARE Num : REAL 11 Num ← 1.0…
Answer this question and get it marked →A procedure Square() will take an integer value in the range 1 to 9 as a parameter and output a number square. The boundary of a number square is made up of the character…
Answer this question and get it marked →A computer system for a shop stores information about each customer. The items of information include name and address (both postal and email) together with payment details and…
Answer this question and get it marked →A computer shop assembles computers using items bought from several suppliers. A text file Stock.txt contains information about each item. Information for each item is stored as a…
Answer this question and get it marked →