AS & A Level Computer Science (9618) — May–June 2024, Paper 21
8 questions · every question answerable online with instant point-by-point AI marking against the official mark scheme.
Start with Question 1 →An algorithm is developed in pseudocode before being coded in a programming language. The following table shows four valid pseudocode assignment statements. Complete the table by…
Answer this question and get it marked →An algorithm has three steps. It will: 1. repeatedly input a pair of numeric values A and B 2. count the number of pairs that are input until A has been greater than B 10 times 3.…
Answer this question and get it marked →The diagram shows an Abstract Data Type (ADT) representation of a linked list after data items have been added. Describe the linked list immediately after initialisation, before…
Answer this question and get it marked →A global 1D array Data contains 100 elements of type integer. A function Check() will: - total the element values in odd index locations (1, 3, 5 ... 97, 99) - total the element…
Answer this question and get it marked →Complete the trace table by dry running the procedure when it is called as follows: CALL Process("X3Y2W4") The trace table has the following column headings and is otherwise…
Answer this question and get it marked →A function IsRA() will: - take three sets of integers as parameters representing the coordinates of the three endpoints that form a triangle - return TRUE if the endpoints form a…
Answer this question and get it marked →When an exercise class is planned, a new module will send personalised text messages to each member who has expressed an interest in that exercise. Members wishing to join the…
Answer this question and get it marked →Complete the pseudocode for module DeleteComment(). FUNCTION DeleteComment(Line : STRING) RETURNS STRING ... ENDFUNCTION
Answer this question and get it marked →