Computers store data in binary form.
(a) State the difference between a tebibyte and a terabyte.
Show model answer
One tebibyte is 1024 gibibytes (binary prefix, powers of 2) and one terabyte is 1000 gigabytes (decimal prefix, powers of 10).
1 mark.
Practise 92 real questions from the May/June 2022 exam series, from Paper 1, Paper 2, Paper 3, Paper 4. See the answer and explanation as soon as you answer.
May/June 2022 is one of the exam sessions in our A Level Computer Science (Cambridge (CAIE) 9618) question bank. We have 92 real questions from it. Work through them, open the explanation for each one, and redo the ones you missed a few days later.
These are real past-paper questions. Think of your answer first, then open the explanation.
Computers store data in binary form.
(a) State the difference between a tebibyte and a terabyte.
One tebibyte is 1024 gibibytes (binary prefix, powers of 2) and one terabyte is 1000 gigabytes (decimal prefix, powers of 10).
1 mark.
Explain the difference between Programmable ROM (PROM), Erasable Programmable ROM (EPROM) and Electrically Erasable Programmable ROM (EEPROM).
Any three of:
- PROM can be set (programmed) once; EPROM and EEPROM can be overwritten multiple times.
- EPROM needs to be removed from the device to be erased; EEPROM can be erased in situ.
- EPROM is erased using UV light; EEPROM is erased using voltage (is flash storage).
- EPROM must be entirely erased before rewriting; EEPROM does not have to be entirely erased before rewriting.
3 marks: 1 per point to max 3.
The database MARKS is: STUDENT(StudentID, FirstName, LastName), TEST(TestID, Description, TotalMarks), STUDENT_TEST(StudentID, TestID, Mark).
(b) Give the highest level of Normal Form (NF) the database MARKS is in and justify your choice.
Third Normal Form (3NF).
Justification (any two): there are no repeated attributes / it is already in 2NF; each field is fully dependent on the primary key (no partial dependencies); there are no transitive dependencies.
3 marks: 1 for 3NF, 1 per justification point to max 2.
A computer system is designed using the basic Von Neumann model.
(a)(i) Describe the role of the registers in the Fetch-Execute (F-E) cycle.
Any five of:
- The Program Counter (PC) holds the address of the next instruction...
- ...and its contents are incremented / changed to the next address each cycle.
- The Memory Address Register (MAR) holds the address to fetch the data (from the PC).
- The Memory Data Register (MDR) holds the data at the address in MAR.
- The instruction is transferred to the Current Instruction Register (CIR) for decoding and execution.
5 marks: 1 per point to max 5.
The manager of a cinema wants a program to allow users to book seats. The cinema has several screens. Each screen shows a different film.
(a) Decomposition will be used to break the problem down into sub-problems.
Describe three program modules that could be used in the design.
One mark per description of an appropriate sub-problem, e.g.:
- Allows the user to search for films being shown / input the name of the film they want to see.
- Allows the user to search for available seats.
- Calculate the cost of the booking.
- Book a given number of seats for a particular screening.
3 marks.
The modules Encrypt() and Decrypt() are called from several places in the main program.
(c) Identify a method that could have been used to test the main program before these modules were completed. Describe how this would work.
Method
Description
Method: stub testing.
Description: a simple module is written to replace each of the incomplete modules; the simple module returns an expected value / outputs a message to show that it has been called.
3 marks: 1 for the name, up to 2 for the description (as in the mark scheme).
Reduced Instruction Set Computers (RISC) and Complex Instruction Set Computers (CISC) are two types of processor.
(a) Describe what is meant by RISC and CISC processors.
RISC (any two): uses simple instructions; fixed-length instructions; instructions only require one clock cycle; many registers; makes use of pipelining; hardwired control unit.
CISC (any two): many instruction formats; variable-length instructions; different addressing modes; few registers; large instruction set; requires complex circuits; frequently uses cache; instructions may require many clock cycles; programmable control unit.
4 marks: max 2 for each.
State two other uses of a stack.
Any two: recursion; implementation of ADTs (e.g. linked lists); procedure calls; interrupt handling (storing the contents of registers etc.).
2 marks.
| Paper | Questions |
|---|---|
| Paper 1 | 25 |
| Paper 2 | 20 |
| Paper 3 | 24 |
| Paper 4 | 23 |
92 real A Level Computer Science (9618) questions from the May/June 2022 series, from Paper 1, Paper 2, Paper 3, Paper 4. Each one shows its paper and topic.
Yes. Every question shows the correct answer and a short explanation the moment you answer.
Premium includes the paper PDFs. The first papers of each subject are free to open in the app.
You can start free with no signup. Premium unlocks every paper, the full question bank and the paper PDFs.