A Level Computer Science 9618 Paper 12, Oct/Nov 2024

Question paper and mark scheme75 marks9 questions

Solve it on ExamPal

Practise

Untimed. Write on the paper and check as you go.

Start

Exam

Timed, with a clock you set, like sitting the real paper.

Start

Opens full screen.

Papers open in

Opening the question paper

Read as textThe questions and the mark scheme as plain text. Easier to read on a phone.

Question paper

9618/12 · Oct/Nov 2024

Download PDF
1
a

Complete the truth table for the logic expression: X=(A XOR B) NAND (A AND (B XOR C))

[2]
b

Draw the logic circuit for the logic expression: W=P NAND ((Q OR NOT R) XOR (P XOR Q))

[2]
2

Embedded systems are used in many electronic devices.

a

Describe the drawbacks of embedded systems.

[3]
b

An embedded system has Dynamic RAM (DRAM). Identify one benefit of using DRAM instead of Static RAM (SRAM) in an embedded system.

[1]
c

Give two differences between Erasable Programmable ROM (EPROM) and Electrically Erasable Programmable ROM (EEPROM). Difference 1 Difference 2

[2]
3

A student has a computer.

a

The computer is designed using the Von Neumann model for a computer system. Complete the table by describing the purpose of each of the given registers.

[4]
b

The student needs to connect the computer to a monitor that has a screen resolution of 2560×1600 pixels. The monitor also has built-in speakers. The computer has a Video Graphics Array (VGA) port and a High Definition Multimedia Interface (HDMI) port. Explain the benefits of connecting the monitor to the computer using the HDMI port instead of the VGA port.

[4]
c

The computer has an Operating System (OS). One of the key management tasks of the OS is process management. Describe the process management tasks performed by an OS.

[4]
4

A program is written in a high-level language by a team of three programmers using an Integrated Development Environment (IDE).

a

Describe how the programmers can use the debugging features of a typical IDE during the development of the program.

[4]
b

The programmers created a new program library whilst developing the program. Describe the benefits to the programmers of creating a program library.

[3]
c

The file containing the final program code will be sent by email for beta testing. Identify one security method that can be used to protect the program code from unauthorised access during email transfer. Explain how your chosen method protects the program code. Security method Explanation

[3]
5

A computer programmer is learning about the importance of acting ethically at work.

a

Explain the reasons why the computer programmer needs to act ethically towards colleagues and the public. Colleagues The public

[4]
b(i)

The programmer writes a program to be used in a business. The source code of the program can be modified by the business. The business pays the programmer for the maintenance and security updates. Identify one suitable type of software licence for the program and describe the reasons for your choice. Type of software licence Reasons for choice

[3]
b(ii)

Explain the reasons why the programmer should copyright their program.

[2]
6

A company uses a relational database to store data about its customers, employees and the individual repair jobs that customers have booked.

a

Explain the benefits of using a relational database instead of a file-based approach.

[3]
b(i)

The company decides which employees will work on each repair job. An employee can log into the database to access information about their repair jobs. The database is normalised and includes these tables: • CUSTOMER stores personal data about each customer • EMPLOYEE stores personal data about each employee • LOGIN_DATA stores the username and password for each employee • JOB stores the data about each repair job • JOB_EMPLOYEE stores the employees that are working on each repair job. Identify each relationship between the database tables and explain how each relationship can be implemented in the normalised database.

[6]
b(ii)

The database also has the table INVOICE that stores data about each invoice that is sent to a customer. Example data from the table INVOICE is given. InvoiceID | DateSent | Amount | Paid | JobID 29262 | 12/12/2023 | 105.20 | Y | 221 26765 | 11/11/2023 | 200.00 | Y | 315 13290 | 02/01/2024 | 50.00 | Y | 315 34090 | 05/02/2024 | 25.95 | N | 569 Write a Structured Query Language (SQL) script to return the total amount of all the invoices sent in the year 2023 that have been paid.

[3]
7

A student takes a photograph of a science experiment.

a(i)

The photograph is saved as a bitmapped image. Define the following bitmap terms. Colour depth File header

[2]
a(ii)

Explain why changing the image resolution will affect the image quality and file size. Image quality File size

[2]
a(iii)

Identify one lossless method of compressing an image.

[1]
b

The student draws a picture on paper that is scanned into the computer and saved as a vector graphic. Define the vector graphic terms property and drawing list. Property Drawing list

[2]
8

The following table shows part of the instruction set for a processor. The processor has two registers, the Accumulator (ACC) and the Index Register (IX). Instruction | Explanation Opcode | Operand | LDM | #n | Immediate addressing. Load the number n to ACC LDD | <address> | Direct addressing. Load the contents of the location at the given address to ACC LDI | <address> | Indirect addressing. The address to be used is at the given address. Load the contents of this second address to ACC LDX | <address> | Indexed addressing. Form the address from <address> + the contents of the index register. Copy the contents of this calculated address to ACC LDR | #n | Immediate addressing. Load the number n to IX ADD | #n/Bn/&n | Add the number n to the ACC ADD | <address> | Add the contents of the given address to the ACC SUB | #n/Bn/&n | Subtract the number n from the ACC SUB | <address> | Subtract the contents of the given address from the ACC INC | <register> | Add 1 to the contents of the register (ACC or IX) DEC | <register> | Subtract 1 from the contents of the register (ACC or IX) <address> can be an absolute or a symbolic address # denotes a denary number, e.g. #123 B denotes a binary number, e.g. B01001010 & denotes a hexadecimal number, e.g. &4A

a

The current contents of memory are shown: Address | Data 19 | 25 20 | 23 21 | 2 22 | 4 23 | 15 24 | 50 25 | 22 The current contents of the ACC and IX are shown: ACC 50 IX 20 Complete the table by writing the content of the ACC and the IX after each set of instructions has run.

[5]
b(i)

The instruction set also includes these bit manipulation instructions: Instruction | Explanation Opcode | Operand | AND | #n/Bn/&n | Bitwise AND operation of the contents of ACC with the operand AND | <address> | Bitwise AND operation of the contents of ACC with the contents of <address> XOR | #n/Bn/&n | Bitwise XOR operation of the contents of ACC with the operand XOR | <address> | Bitwise XOR operation of the contents of ACC with the contents of <address> OR | #n/Bn/&n | Bitwise OR operation of the contents of ACC with the operand OR | <address> | Bitwise OR operation of the contents of ACC with the contents of <address> LSL | #n | Bits in ACC are shifted logically n places to the left. Zeros are introduced on the right-hand end LSR | #n | Bits in ACC are shifted logically n places to the right. Zeros are introduced on the left-hand end. <address> can be an absolute or a symbolic address # denotes a denary number, e.g. #123 B denotes a binary number, e.g. B01001010 & denotes a hexadecimal number, e.g. &4A The current content of the ACC is shown: ACC 1 0 0 1 1 0 1 0 The table has three sets of instructions. The binary number 10011010 is reloaded into the ACC before each set of instructions is run. Complete the table by writing the content of the ACC after each set of instructions has run.

[3]
b(ii)

Explain how bit manipulation can be used to test whether the binary number stored in the ACC represents an odd denary number. Write the bit manipulation instruction that will be used. Explanation Instruction

[3]
9

A road bridge has a weight limit and a height limit for vehicles. For example, a vehicle must weigh less than 10 000 kg and must have a height of less than 3 m. The bridge has a warning system. If a vehicle is approaching the bridge and it exceeds one or both limits, a sign displays a warning telling the driver of the vehicle to stop.

a

The bridge warning system uses sensors to detect if a vehicle exceeds the limits. Complete the table by identifying two different sensors that could be used by the system and describe how each sensor is used by the system.

[2]
b

Explain whether the bridge warning system is an example of a monitoring system or of a control system.

[2]

Mark scheme

9618/12 · Oct/Nov 2024

Download PDF

1a · 2 marks

  • 1 mark

    First 4 rows of output X (all 1s)

  • 1 mark

    Last 4 rows of output X (1, 0, 1, 1)

1b · 2 marks

  • 1 mark

    (P XOR Q) and (Q OR NOT R)

  • 1 mark

    second XOR gate and final NAND gate with appropriate inputs

2a · 3 marks

  • 1 mark

    It is difficult to change / update the firmware by the user

  • 1 mark

    Errors cannot be fixed easily // Troubleshooting / fault-finding / repairing is a specialist task / expensive

  • 1 mark

    Functionality cannot be changed/extended easily // Cannot be easily adapted for another task

2b · 1 mark

  • 1 mark

    DRAM is less expensive to manufacture/purchase than SRAM in the embedded system // DRAM has a higher bit density per chip // more data can be stored per chip

2c · 2 marks

  • 1 mark

    EPROM uses ultraviolet light to erase data whilst EEPROM uses an electrical signal to do this

  • 1 mark

    EPROM has to be removed from the circuit board when changing the data whilst EEPROM remains in the circuit when the data is changed

3a · 4 marks

  • 1 mark

    Program Counter (PC): Stores the address of the next instruction to be fetched/executed

  • 1 mark

    Memory Address Register (MAR): Stores the address of the memory location where data will be read from/written to

  • 1 mark

    Memory Data Register (MDR): Stores the data read from the address in the MAR // stores the data to be written to the address in the MAR

  • 1 mark

    Index Register (IX): Stores a number that will be added to the operand, to form the address of the data

3b · 4 marks

  • 1 mark

    HDMI has faster transfer rates than VGA

  • 1 mark

    … needed due to high resolution / large number of pixels of monitor // HDMI supports the high resolution of the monitor

  • 1 mark

    HDMI supports video and audio transfer between computer and monitor speakers

  • 1 mark

    … so no separate sound cable is needed unlike VGA

3c · 4 marks

  • 1 mark

    It manages the scheduling of processes // Decides which process is to be run next

  • 1 mark

    Allows multi-tasking/multi-processing

  • 1 mark

    Ensures fair access

  • 1 mark

    Handles interrupts

4a · 4 marks

  • 1 mark

    Single stepping // Run the program one line at a time

  • 1 mark

    … and check the variable contents / program flow // show the effect of each line of code

  • 1 mark

    Set breakpoints // … run the code up to a set line // ... and then check the status

  • 1 mark

    Variable/report watch window // … view how the data changes as the program is running

4b · 3 marks

  • 1 mark

    Subroutines can be shared / reused

  • 1 mark

    … between team members who are working independently

  • 1 mark

    … without having to rewrite/re-test them which saves the programmers’ time

4c · 3 marks

  • 1 mark

    Security method: Encryption

  • 1 mark

    File contents are converted to cipher text

  • 1 mark

    If intercepted the data cannot be understood without the decryption key

5a · 4 marks

  • 1 mark

    Colleagues point 1: Treat colleagues fairly and avoid acts of discrimination / Be prepared to accept / offer critique (… so that technical work can be improved) / Credit the contributions of colleagues (… so that they feel valued / respected) / Help / train colleagues

  • 1 mark

    Colleagues point 2

  • 1 mark

    Public point 1: Maintain the health, safety and welfare of the public (… so as not to endanger anyone) / Be honest / realistic in making claims about the software (… so that public trust is maintained) / Maintain the security of the public's data

  • 1 mark

    Public point 2

5b(i) · 3 marks

  • 1 mark

    Type of software licence: Open Source Initiative // Free Software Foundation

  • 1 mark

    Reason: Allows program source code to be examined

  • 1 mark

    Reason: … so that the business can adapt/modify the program to meet their needs // Allows the programmer to earn money for the software and updates

5b(ii) · 2 marks

  • 1 mark

    To identify themselves as the owner/author // To gain formal recognition of ownership

  • 1 mark

    To allow for legal consequences if anyone steals/copies it // To restrict competition

6a · 3 marks

  • 1 mark

    There is reduced data redundancy // less repeated data (… because each item of data is only stored once)

  • 1 mark

    Data consistency is maintained // Data integrity is improved (… changes in one table will automatically update in another / ... linked data cannot be entered differently in two tables)

  • 1 mark

    Program-data independence is ensured (… changes to the data do not require programs to be re-written // queries are not dependent on the structure of the data) // Complex queries are easier to run // Different views can be provided (…. so users can only see specific aspects of the database) // Multiple concurrent access is possible (... through record locking)

6b(i) · 6 marks

  • 1 mark

    CUSTOMER to JOB is 1 to many

  • 1 mark

    … implemented by Primary Key in CUSTOMER is Foreign Key in JOB

  • 1 mark

    EMPLOYEE to LOGIN_DATA is 1 to 1

  • 1 mark

    … implemented by Primary Key in EMPLOYEE is Foreign Key in LOGIN_DATA

  • 1 mark

    JOB to JOB_EMPLOYEE is 1 to many (… implemented by Primary Key in JOB is Foreign Key in JOB_EMPLOYEE)

  • 1 mark

    EMPLOYEE to JOB_EMPLOYEE is 1 to many (… implemented by Primary Key in EMPLOYEE is Foreign Key in JOB_EMPLOYEE)

6b(ii) · 3 marks

  • 1 mark

    Select SUM of Amount

  • 1 mark

    From the correct table and one correct condition

  • 1 mark

    Remaining correct condition

7a(i) · 2 marks

  • 1 mark

    Colour depth: the number of bits used to represent a colour // the number of colours that can be represented in an image

  • 1 mark

    File header: stores data about the image file / metadata

7a(ii) · 2 marks

  • 1 mark

    Image quality: Decreasing resolution means details within the image are lost because there are fewer pixels // Increasing resolution means the image is more detailed because there are more pixels

  • 1 mark

    File size: Decreasing the resolution will decrease the file size because there are fewer pixels therefore less data // Increasing the resolution will increase the file size because there are more pixels therefore more data

7a(iii) · 1 mark

  • 1 mark

    Run-Length Encoding

7b · 2 marks

  • 1 mark

    Property: an attribute of a drawing object // data about a shape // defines one aspect of the appearance of a drawing object

  • 1 mark

    Drawing list: all the drawing objects/shapes in an image // stores the commands/descriptions / mathematical equations required to draw each object

8a · 5 marks

  • 1 mark

    Row 1 ACC: 18

  • 1 mark

    Row 2 ACC: 40

  • 1 mark

    Row 3 ACC: 5

  • 1 mark

    Row 4 ACC: 15

  • 1 mark

    Correct IX column (20, 20, 20, 21)

8b(i) · 3 marks

  • 1 mark

    Row 1 ACC: 0110 1000

  • 1 mark

    Row 2 ACC: 0001 1110

  • 1 mark

    Row 3 ACC: 1111 1011

8b(ii) · 3 marks

  • 1 mark

    An odd binary number will have a 1 in the Least Significant Bit (LSB)

  • 1 mark

    A bit manipulation operation is required to access/mask only the LSB and clear all the others // Compare the result of the masking with denary 1 (… the result of the comparison will be true if the number is odd)

  • 1 mark

    AND B00000001 // AND #1 // AND &01

9a · 2 marks

  • 1 mark

    Infra-red sensor: Measure / check the height of the vehicle

  • 1 mark

    Pressure sensor: Measure / check the weight of the vehicle

9b · 2 marks

  • 1 mark

    Because there is no use of feedback // the warning sign is only an indicator

  • 1 mark

    ... the output of the turning on of the sign does not affect the input of data from the sensors // The system does not have any actuators

Questions

  1. 1
    Question 14 marks
    Mark scheme ›
  2. 2
    Question 26 marks
    Mark scheme ›
  3. 3
    Question 312 marks
    Mark scheme ›
  4. 4
    Question 410 marks
    Mark scheme ›
  5. 5
    Question 59 marks
    Mark scheme ›
  6. 6
    Question 612 marks
    Mark scheme ›
  7. 7
    Question 77 marks
    Mark scheme ›
  8. 8
    Question 811 marks
    Mark scheme ›
  9. 9
    Question 94 marks
    Mark scheme ›

More 9618 papers

Other papers from Oct/Nov 2024

Solve it on ExamPalStart