Computer Science (AS & A Level) · Oct / Nov 2021 · Paper 21 · Question 5
9618
As printed in the paper
The question as text
The following data items will be recorded each time a student successfully logs on to the school network: Data item Example data Student ID "CJL404" Host ID "Lib01" Time and date "08:30, June 01, 2021" The Student ID is six characters long. The other two data items are of variable length. A single string will be formed by concatenating the three data items. A separator character will need to be inserted between items two and three. For example: "CJL404Lib01<separator>08:30, June 01, 2021" Each string represents one log entry. A programmer decides to store the concatenated strings in a 1D array LogArray that contains 2000 elements. Unused array elements will contain an empty string.
Read automatically from the paper; the printed page above is exact.
Show the answer and mark scheme
5(a)[2]
5(b)[1]
5(c)[7]
Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.

