Question 1
Anti-virus software and user training are measures that can be used to reduce the threat posed by viruses.
Describe four other measures that can be used to reduce the threat posed by viruses.
[4 marks]
Answer
Anti-virus software and user training are measures that can be used to reduce the threat posed by viruses.
Describe four other measures that can be used to reduce the threat posed by viruses.
[4 marks]
A digital camera takes photographs that are 4000 pixels wide by 3000 pixels tall and can contain up to 16 777 216 different colours.
Calculate the size of one image in megabytes.
[2 marks]
How many images, taken using the camera referred to in Question 02.1, could be stored on a 256 gigabyte memory card?
You should assume that all of the storage space on the memory card is available to store image data.
Round your answer down to the nearest whole number.
[1 mark]
When a digital camera takes a photograph, an array of photosensors produces analogue voltages representing the amount of light falling on each photosensor. An analogue-to-digital converter then converts these analogue voltages into digital values. These digital values are used to create the pixel data for the bitmap image.
Explain why the voltages produced by the photosensors are considered to be analogue and why the pixel data is considered to be digital.
[2 marks]
An image is 20 pixels wide by 30 pixels tall. The colour of each pixel is represented using one byte.
Here is a row of data from the original image. The colour of each of the 20 pixels is shown as a decimal value, with commas used to separate the data for the different pixels:
24, 24, 24, 253, 254, 255, 76, 76, 76, 80, 82, 0, 0, 9, 223, 223, 224, 220, 76, 76
The image is to be compressed using Run Length Encoding (RLE). The RLE method used will:
• represent the length of a run using one byte
• represent a colour using one byte.
In decimal, the RLE for the colour of the first four pixels would be:
3, 24, 1, 253
Calculate how much memory the row of pixels will take up before and after it has been encoded using RLE.
Memory before RLE (bytes)
Memory after RLE (bytes)
[1 mark]
Comment on the effectiveness of the use of RLE to encode the row of pixels in Question 02.4 and explain why this is the case.
[1 mark]
State the name of the bus labelled X in Figure 1.
[1 mark]
The data bus inside the computer uses synchronous parallel data transmission.
Describe what synchronous transmission is.
[1 mark]
Peripherals, such as a keyboard or printer, are connected to the computer using a USB (Universal Serial Bus) connection. USB uses synchronous serial data transmission.
Explain why serial transmission has been chosen to communicate with peripherals connected to the computer and why parallel transmission is used by the data bus inside the computer.
[3 marks]
The USB interface inside the computer is an example of an I/O controller.
Describe the role of an I/O controller.
[2 marks]
The computer’s address bus uses 36 wires/lines and each main memory location can hold a 16-bit data value.
In gibibytes, express the maximum amount of main memory that could be installed in the computer, assuming that the CPU could access all of the memory using the address bus.
You should show your working.
[2 marks]
State an example of how the control bus is used when the processor stores data into main memory.
[1 mark]
Shade the lozenges next to all of the true statements about representing numbers using fixed and floating point representations.
[2 marks]
Questions 04.2, 04.3 and 04.4 use a normalised floating point representation with an 8-bit mantissa and a 4-bit exponent, both stored using two’s complement.
Figure 2 shows a floating point representation of a number:
Calculate the decimal equivalent of the number in Figure 2.
You should show your working.
[2 marks]
Questions 04.2, 04.3 and 04.4 use a normalised floating point representation with an 8-bit mantissa and a 4-bit exponent, both stored using two’s complement.
The decimal number 12.765625 (which can also be expressed as 12 ) cannot be represented exactly in this floating point system.
Write the closest possible normalised representation of this number in the boxes below.
You should show your working.
[3 marks]
What is the smallest number of bits that would need to be added to the mantissa so that the decimal number 12.765625 could be represented exactly?
[1 mark]
A different system uses a normalised floating point representation with a 10-bit mantissa and a 6-bit exponent, both stored using two’s complement.
In decimal, what is the most negative number that this system could represent?
You should show your working.
Most negative number
[2 marks]
A company uses a file server that stores files on magnetic hard disk drives. These files can be accessed by other computers through a network.
Describe:
• how the data for a file would be stored on a magnetic hard disk and read from it by the file server
• how the individual layers of the TCP/IP stack in the file server would be used to transmit the file onto the network.
In your response, you do not need to describe how the file would be transmitted across the network or how the TCP/IP stack would be used in the computer that has requested the file. You only need to write about how the data would be put onto the network by the file server.
[12 marks]
The company needs to purchase a second file server.
It is considering whether to purchase a file server with magnetic hard disk drives installed or a file server with solid-state disks (SSDs) instead. Each of the file servers has the same total storage capacity.
State one advantage and one disadvantage of purchasing the file server that uses SSDs.
Advantage
Disadvantage
[2 marks]
Draw a logic circuit for the Boolean expression:
Do not simplify the expression.
[4 marks]
A flip-flop is a component that can be incorporated into a logic circuit. Figure 3 shows a diagram of an edge-triggered D-type flip-flop.
Explain how the output Q will be affected when a pulse is received on the Clock input.
[1 mark]
[4 marks]
A student has a Local Area Network (LAN) in her house. She uses one of the computers on the LAN as a web server to host a website for a club that she is a member of.
Figure 4 shows the Uniform Resource Locator (URL) of a page on the website.
Figure 4
http://www.loveapug.org.uk/pictures/cutepugs.html
State the protocol and domain name used in the URL in Figure 4.
Domain name
[1 mark]
Describe how domain names are organised.
[2 marks]
Explain the service provided by Internet registries and why they are needed.
[2 marks]
Figure 5 shows a diagram of the LAN in the student’s house. The LAN connects three computers, including the web server, to the Internet via a router.
The router’s public IP address is 186.7.2.31. The non-routable IP addresses of each of the computers on the LAN is shown in Figure 5.
The router uses Network Address Translation (NAT) because the computers on the LAN, including the web server, have non-routable IP addresses.
The router also incorporates a switch and a DHCP server.
Explain how a computer located outside the LAN can access the web server, despite the fact that the web server is identified by a non-routable IP address.
[3 marks]
Explain why it might be undesirable to allow the network settings of the web server to be configured by a DHCP server.
[1 mark]
The student uses the computer with IP address 192.168.0.4 to download a file from an FTP server on the Internet using the File Transfer Protocol (FTP).
Describe how NAT will be used in this process, to handle both the outgoing request and the returned data.
[4 marks]
The replacement of IPv4 with IPv6 would mean that NAT is no longer necessary.
Explain why this is the case.
[1 mark]
The web server and the web browser on a client computer use the Websocket protocol when they communicate with each other.
Shade one lozenge to indicate which of these statements about the Websocket protocol is true.
[1 mark]
Shade one lozenge to indicate which of the listed assumptions has been made when the database was designed.
[1 mark]
When a sale is made to a customer, three changes need to be made to the data in the database:
• a new record is created in the Sale table
• a new record is created in the SaleLine table for each different product that is part of the sale
• the records in the Product table are updated to reduce the QuantityInStock by the purchased quantity for each type of product that has been sold.
A sale is made on the 29/09/2024 to the Customer with CustomerID 48. The sale is for 3 of the products with ProductID 1. The sale is to be given the SaleID 4072.
Write an SQL query that will create the new record for sale 4072 in the Sale table.
[2 marks]
Write an SQL query that will update the QuantityInStock of the product with ProductID 1 when this sale is made. The value 3 should be subtracted from the current quantity in stock.
[3 marks]
The database system can be accessed by many users simultaneously.
Describe how timestamp ordering can be used to manage concurrent access to a database.
[3 marks]
The database described in Figure 6 is fully normalised.
Describe two problems that can occur with databases that are not fully normalised.
Problem 1
Problem 2
[2 marks]
Algorithms and artificial intelligence are being increasingly used to assist with the diagnosis of medical conditions. For example, algorithms based on artificial intelligence can diagnose some medical conditions from X-ray images.
Discuss some of the moral, ethical and legal issues that might arise as a result of using computer systems to assist with diagnosing medical conditions.
In your answer you will be assessed on your ability to follow a line of reasoning to produce a coherent, relevant and structured response.
[6 marks]
Complete the trace table below to show the results of executing the program in Figure 7 when the initial value in memory location 130 is 83
Each register can hold an 8-bit value.
You may find it easier to understand the operation of the program if you write the contents of memory location 130 and register R1 out in both binary and decimal.
You may not need to use all the rows in the table.
[6 marks]
The value in memory location 130 before the program is executed is the program’s input and the value stored in memory location 130 when the program finishes executing is its output.
By considering your trace table for Question 10.1 and the assembly language code in Figure 7, describe the purpose of the program.
[2 marks]
Describe two advantages of writing programs in assembly language over writing programs using a high-level language.
Advantage 1
Advantage 2
[2 marks]
Some high-level languages are described as being imperative.
Explain what imperative means in this context.
[1 mark]
A functional programming function f has the function type:
Describe the co-domain of the function f.
[1 mark]
Describe two features of functional programming languages that make it easier to write code that can be distributed to run across multiple servers.
Feature 1
Feature 2
[2 marks]
The paper as printed
Spotted a mistake on this page?Report a problem