Skip to content

Learn Extracted exam questions A-Level Computer Science 9618 Computer Science November 2024 Question paper 12

9618 Computer Science November 2024 Question paper 12

Source PDF on the left, extracted YAML on the right. Compare numbering, marks, options and text.

1 short_answer p. 2
(no root text)
1a 2 marks short_answer p. 2 3.2

Complete the truth table for the logic expression:

$$\text{X} = (\text{A XOR B}) \text{ NAND } (\text{A AND } (\text{B XOR C}))$$

\begin{tabular}{|c|c|c|c|c|} \hline \textbf{A} & \textbf{B} & \textbf{C} & \textbf{Working space} & \textbf{X} \ \hline 0 & 0 & 0 & & \ \hline 0 & 0 & 1 & & \ \hline 0 & 1 & 0 & & \ \hline 0 & 1 & 1 & & \ \hline 1 & 0 & 0 & & \ \hline 1 & 0 & 1 & & \ \hline 1 & 1 & 0 & & \ \hline 1 & 1 & 1 & & \ \hline \end{tabular}

1b 2 marks short_answer p. 2 3.2

Draw the logic circuit for the logic expression:

$$\text{W} = \text{P NAND } ((\text{Q OR NOT R}) \text{ XOR } (\text{P XOR Q}))$$
2 short_answer p. 3

Embedded systems are used in many electronic devices.

2a 3 marks long_answer p. 3 3.1

Describe the drawbacks of embedded systems.

2b 1 mark short_answer p. 3 3.1

An embedded system has Dynamic RAM (DRAM).

Identify \textbf{one} benefit of using DRAM instead of Static RAM (SRAM) in an embedded system.

2c 2 marks short_answer p. 3 3.1

Give \textbf{two} differences between Erasable Programmable ROM (EPROM) and Electrically Erasable Programmable ROM (EEPROM).

Difference 1 \hrulefill

Difference 2 \hrulefill

3 short_answer p. 4

A student has a computer.

3a 4 marks short_answer p. 4 4.1

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.

\begin{tabular}{|p{4cm}|p{8cm}|} \hline \textbf{Register} & \textbf{Purpose} \ \hline Program Counter (PC) & \ \hline Memory Address Register (MAR) & \ \hline Memory Data Register (MDR) & \ \hline Index Register (IX) & \ \hline \end{tabular}

3b 4 marks long_answer p. 5 3.1

The student needs to connect the computer to a monitor that has a screen resolution of $2560 \times 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.

3c 4 marks long_answer p. 5 16.1

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 short_answer p. 6

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

4a 4 marks long_answer p. 6 5.2

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

4b 3 marks long_answer p. 6 5.1

The programmers created a new program library whilst developing the program.

Describe the benefits to the programmers of creating a program library.

4c 3 marks short_answer p. 6 6.1

The file containing the final program code will be sent by email for beta testing.

Identify \textbf{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 \hrulefill

Explanation \hrulefill

5 short_answer p. 7

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

5a 4 marks long_answer p. 7 7.1

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

Colleagues \hrulefill

The public \hrulefill

5b short_answer p. 7

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.

5bi 3 marks short_answer p. 7 7.1

Identify \textbf{one} suitable type of software licence for the program \textbf{and} describe the reasons for your choice.

Type of software licence \hrulefill

Reasons for choice \hrulefill

5bii 2 marks short_answer p. 7 7.1

Explain the reasons why the programmer should copyright their program.

6 short_answer p. 8

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

6a 3 marks long_answer p. 8 8.1

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

6b short_answer p. 8

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:

\begin{itemize} \item \texttt{CUSTOMER} stores personal data about each customer \item \texttt{EMPLOYEE} stores personal data about each employee \item \texttt{LOGIN_DATA} stores the username and password for each employee \item \texttt{JOB} stores the data about each repair job \item \texttt{JOB_EMPLOYEE} stores the employees that are working on each repair job. \end{itemize}

6bi 6 marks long_answer p. 8 8.1

Identify each relationship between the database tables \textbf{and} explain how each relationship can be implemented in the normalised database.

6bii 3 marks short_answer p. 9 8.3

The database also has the table \texttt{INVOICE} that stores data about each invoice that is sent to a customer.

Example data from the table \texttt{INVOICE} is given.

\begin{tabular}{|c|c|c|c|c|} \hline \textbf{InvoiceID} & \textbf{DateSent} & \textbf{Amount} & \textbf{Paid} & \textbf{JobID} \ \hline 29262 & 12/12/2023 & 105.20 & Y & 221 \ \hline 26765 & 11/11/2023 & 200.00 & Y & 315 \ \hline 13290 & 02/01/2024 & 50.00 & Y & 315 \ \hline 34090 & 05/02/2024 & 25.95 & N & 569 \ \hline \end{tabular}

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.

7 short_answer p. 10

A student takes a photograph of a science experiment.

7a short_answer p. 10

The photograph is saved as a bitmapped image.

7ai 2 marks short_answer p. 10 1.2

Define the following bitmap terms.

Colour depth \hrulefill

File header \hrulefill

7aii 2 marks short_answer p. 10 1.2

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

Image quality \hrulefill

File size \hrulefill

7aiii 1 mark short_answer p. 10 1.3

Identify \textbf{one} lossless method of compressing an image.

7b 2 marks short_answer p. 10 1.2

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 \hrulefill

Drawing list \hrulefill

8 short_answer p. 12

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).

\begin{tabular}{|r|l|p{9cm}|} \hline \multicolumn{2}{|c|}{\textbf{Instruction}} & \multicolumn{1}{c|}{\textbf{Explanation}} \ \cline{1-2} \textbf{Opcode} & \textbf{Operand} & \ \hline LDM & \texttt{#n} & Immediate addressing. Load the number n to ACC \ \hline LDD & \texttt{

} & Direct addressing. Load the contents of the location at the given address to ACC \ \hline LDI & \texttt{
} & Indirect addressing. The address to be used is at the given address. \newline Load the contents of this second address to ACC \ \hline LDX & \texttt{
} & Indexed addressing. Form the address from \texttt{
} + the contents of the index register. Copy the contents of this calculated address to ACC \ \hline LDR & \texttt{#n} & Immediate addressing. Load the number n to IX \ \hline ADD & \texttt{#n/Bn/&n} & Add the number n to the ACC \ \hline ADD & \texttt{
} & Add the contents of the given address to the ACC \ \hline SUB & \texttt{#n/Bn/&n} & Subtract the number n from the ACC \ \hline SUB & \texttt{
} & Subtract the contents of the given address from the ACC \ \hline INC & \texttt{} & Add 1 to the contents of the register (ACC or IX) \ \hline DEC & \texttt{} & Subtract 1 from the contents of the register (ACC or IX) \ \hline \end{tabular}

\texttt{

} can be an absolute or a symbolic address \newline # denotes a denary number, e.g. #123 \newline B denotes a binary number, e.g. B01001010 \newline & denotes a hexadecimal number, e.g. &4A

8a 5 marks short_answer p. 13 4.2

The current contents of memory are shown:

\begin{tabular}{r|l|} \multicolumn{1}{c}{\textbf{Address}} & \multicolumn{1}{c}{\textbf{Data}} \ \cline{2-2} 19 & 25 \ \cline{2-2} 20 & 23 \ \cline{2-2} 21 & 2 \ \cline{2-2} 22 & 4 \ \cline{2-2} 23 & 15 \ \cline{2-2} 24 & 50 \ \cline{2-2} 25 & 22 \ \cline{2-2} \end{tabular}

The current contents of the ACC and IX are shown:

\begin{tabular}{r|l|} \cline{2-2} \textbf{ACC} & 50 \ \cline{2-2} \textbf{IX} & 20 \ \cline{2-2} \end{tabular}

Complete the table by writing the content of the ACC and the IX after each set of instructions has run.

\begin{tabular}{|c|l|p{4cm}|p{4cm}|} \hline & \textbf{Instructions} & \centering\textbf{ACC content} & \centering\textbf{IX content} \tabularnewline \hline \textbf{1} & \begin{tabular}[c]{@{}l@{}}\texttt{LDM #19}\\texttt{DEC ACC}\end{tabular} & & \tabularnewline \hline \textbf{2} & \begin{tabular}[c]{@{}l@{}}\texttt{LDD 23}\\texttt{ADD 19}\end{tabular} & & \tabularnewline \hline \textbf{3} & \begin{tabular}[c]{@{}l@{}}\texttt{LDI 25}\\texttt{INC ACC}\end{tabular} & & \tabularnewline \hline \textbf{4} & \begin{tabular}[c]{@{}l@{}}\texttt{LDR #21}\\texttt{LDX 2}\end{tabular} & & \tabularnewline \hline \end{tabular}

8b short_answer p. 14

The instruction set also includes these bit manipulation instructions:

\begin{tabular}{|c|l|l|} \hline \multicolumn{2}{|c|}{\textbf{Instruction}} & \multicolumn{1}{c|}{\textbf{Explanation}} \ \cline{1-2} \textbf{Opcode} & \textbf{Operand} & \ \hline AND & #n/Bn/&n & Bitwise AND operation of the contents of ACC with the operand \ \hline AND &

& Bitwise AND operation of the contents of ACC with the contents of
\ \hline XOR & #n/Bn/&n & Bitwise XOR operation of the contents of ACC with the operand \ \hline XOR &
& Bitwise XOR operation of the contents of ACC with the contents of
\ \hline OR & #n/Bn/&n & Bitwise OR operation of the contents of ACC with the operand \ \hline OR &
& Bitwise OR operation of the contents of ACC with the contents of
\ \hline LSL & #n & Bits in ACC are shifted logically n places to the left. Zeros are introduced on the right-hand end \ \hline LSR & #n & Bits in ACC are shifted logically n places to the right. Zeros are introduced on the left-hand end. \ \hline \end{tabular}

\begin{itemize} \item

can be an absolute or a symbolic address \item # denotes a denary number, e.g. #123 \item B denotes a binary number, e.g. B01001010 \item & denotes a hexadecimal number, e.g. &4A \end{itemize}

The current content of the ACC is shown:

\begin{tabular}{l|c|c|c|c|c|c|c|c|} \cline{2-9} \textbf{ACC} & 1 & 0 & 0 & 1 & 1 & 0 & 1 & 0 \ \cline{2-9} \end{tabular}

8bi 3 marks short_answer p. 14 4.3

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.

\begin{tabular}{|c|l|c|} \hline & \textbf{Instructions} & \textbf{ACC content} \ \hline \textbf{1} & LSL #2 & \ \hline \textbf{2} & ADD #5 \newline AND #30 & \ \hline \textbf{3} & OR B11110010 \newline INC ACC & \ \hline \end{tabular}

8bii 3 marks short_answer p. 15 4.3

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 \hrulefill

Instruction \hrulefill

9 short_answer p. 16

A road bridge has a weight limit and a height limit for vehicles. For example, a vehicle must weigh less than $10000 \text{ kg}$ and must have a height of less than $3 \text{ 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.

9a 2 marks short_answer p. 16 3.1

The bridge warning system uses sensors to detect if a vehicle exceeds the limits.

Complete the table by identifying \textbf{two} different sensors that could be used by the system \textbf{and} describe how each sensor is used by the system.

\begin{tabular}{|p{5cm}|p{10cm}|} \hline \textbf{Sensor} & \textbf{Use in bridge warning system} \ \hline & \ & \ \hline & \ & \ \hline \end{tabular}

9b 2 marks short_answer p. 16 3.1

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

Log in or create account

IGCSE & A-Level