Past paper – A Level Computer Science (old syllabus, to 2021) (9608)

Cambridge International AS & A Level · 9608

Computer Science (old syllabus, to 2021) · Paper 12

May/June 2020 · 9608/12/M/J/20

Questions7
Marks75
TypeWritten

Answer on paper, open each mark scheme and give yourself marks, then open the Summary.

0 / 0Answer a question to start your score.
Saved 0
Advertisement
1
9608/12/M/J/20 · Question 1May/June 2020Paper 129 marks
Loading question…
Question text

1
Samira is creating an interactive, multimedia presentation for the entrance to her hotel.
(a) The presentation will be on a device that has a resistive touchscreen for user input.
Complete the following paragraph about the basic operation of a resistive touchscreen.
The resistive touchscreen has two layers with … between
the layers. When a finger touches the screen, the … moves
to touch the … ; this creates a point of contact.
The … and … position of this
point is calculated.
[4]
(b) Samira uses a computer to draw a logo for her hotel and saves it as a vector graphic. The
logo will be placed on the multimedia presentation and elsewhere, such as on signs at the
entrance of the hotel.
Samira emails the logo to a company that prints signs, and other documentation for the hotel.
(i)
Describe how the logo is represented by the computer.
…
…
…
…
…
…
…
… [3]
(ii)
State two reasons why the hotel logo is saved as a vector graphic instead of a bitmapped
graphic.
1 …
…
2 …
…
[2]

2
9608/12/M/J/20 · Question 2May/June 2020Paper 1216 marks
Loading question…
Question text

2
Amir has created a sound file using his desktop computer.
(a) Complete the table by writing the missing definitions and term about sound.
Term
Definition
…
…
Sampling
…
…
…
The number of samples per unit time
…
…
…
Sampling resolution
…
…
[3]
(b) The file is too large to be emailed and the file size needs to be reduced.
(i)
Name one lossless compression technique that can be used to reduce the size of the
sound file.
…
… [1]
(ii)
Describe one lossy compression technique that can be used to reduce the size of the
sound file.
…
…
…
… [2]
(c) Amir’s computer has system software, including utility software and an operating system.
(i)
Explain how the disk formatter, disk contents analysis and disk repair utilities work
together.
…
…
…
…
…
… [3]
(ii)
Amir’s computer has several peripheral devices connected to it.
State three peripheral management tasks performed by the operating system.
Task 1 …
…
Task 2 …
…

3
9608/12/M/J/20 · Question 3May/June 2020Paper 124 marks
Loading question…
Question text

3
The following is a logic expression.
X = NOT (A AND B) OR NOT (NOT B OR C)
Draw the logic circuit for the given expression using a maximum of four gates.
A
B
X
C
[4]

Advertisement
4
9608/12/M/J/20 · Question 4May/June 2020Paper 127 marks
Loading question…
Question text

4
Sophie is about to start a new job as a junior software developer.
(a) She is worried about joining a new team of people.
(i)
State one ethical action that Sophie can take to help her to feel more confident about
starting work.
…
… [1]
(ii)
State two ethical actions that Sophie’s manager can take to help Sophie to feel more
confident about starting work.
1 …
…
2 …
…
[2]
(iii)
State one ethical action that Sophie’s new colleagues can take to help Sophie to feel
more confident about starting work.
…
… [1]
(b) Explain why Sophie is asked to sign a professional code of conduct before starting work.
…
…
…
…
…
… [3]

5
9608/12/M/J/20 · Question 5May/June 2020Paper 1212 marks
Loading question…
Question text

5
(a) The steps 1 to 6 describe the first pass of a two‑pass assembler.
The following three statements are used to complete the sequence of steps.
A
If it is already in the symbol table, it checks to see if the absolute address is known
B
When it meets a symbolic address, it checks to see if it is already in the symbol table
C
If it is known, it is entered
Write one of the letters A, B or C in the appropriate step to complete the sequence.
1.
The assembler reads the assembly language instructions
2.
…
3.
If it is not, it adds it to the symbol table
4.
…
5.
…
6.
If it is not known, it is marked as unknown.
[2]
(b) The assembler translates assembly code into machine code.
The table shows the denary values for three assembler op codes.
Op code
Denary value
LDD
194
ADD
200
STO
205
(i)
Convert the denary value for the op code LDD into 8‑bit binary.
[1]
(ii)
Convert the denary value for the op code STO into hexadecimal.
… [1]
(iii)
State why the denary value for the op code ADD cannot be represented in 8‑bit two’s
complement form. Justify your answer.
…
…
…
… [2]
(c) The table shows part of the instruction set for a processor. The processor has one general
purpose register, the Accumulator (ACC), and an Index Register (IX).
Instruction
Explanation
Op code
Operand
LDM
#n
Immediate addressing. Load the denary number n to ACC
Direct addressing. Load the contents of the location at the given address to
LDD
<address>
ACC
Indexed addressing. Form the address from <address> + the contents of the
LDX
<address>
Index Register. Copy the contents of this calculated address to ACC
LDR
#n
Immediate addressing. Load the denary number n to IX
STO
<address>
Store contents of ACC at the given address
ADD
<address>
Add the contents of the given address to ACC
INC
<register>
Add 1 to the contents of the register (ACC or IX)
CMP
<address>
Compare contents of the address given with the contents of ACC
JPE
<address>
Following a compare instruction, jump to <address> if the compare was True
JPN
<address>
Following a compare instruction, jump to <address> if the compare was False
JMP
<address>
Jump to the given address
OUT
Output to screen the character whose ASCII value is stored in ACC
END
Return control to the operating system
Complete the trace table for the following assembly language program. The first instruction
has been completed for you.
Address
Instruction
Memory address
Instruction
ACC
20
LDD 103
address
100
101
102
103
21
CMP 101
1
2
3
0
22
JPE 30
23
LDD 100
20
0
24
ADD 101
25
STO 100
26
LDD 103
27
INC ACC
28
STO 103
29
JMP 20
30
END
…
100
1
101
2
102
3
103
0
[6]

6
9608/12/M/J/20 · Question 6May/June 2020Paper 1213 marks
Loading question…
Question text

6
A software development company has a relational database, SOFTWARE_MANAGEMENT. The
database stores details of the customers who have purchased software, as well as the software
and licences that customers have purchased.
The SOFTWARE_MANAGEMENT database has the following tables:
CUSTOMER_DETAILS(CustomerID, CompanyName, Address1, Address2, City)
SOFTWARE_PURCHASED( SoftwareName, SoftwareDescription, CustomerID,
LicenceType, LicenceCost, RenewalDate)
(a) Explain why this database is not in Third Normal Form (3NF). Refer to the tables in your
answer.
Do not attempt to normalise the tables.
…
…
…
…
…
… [2]
(b) Give an example from the database SOFTWARE_MANAGEMENT for each of the following
database terms.
Term
Example
Entity
Foreign key
Attribute
[3]
(c) The company also develops computer games. They extend the relational database
SOFTWARE_MANAGEMENT by adding a new table. The new table, GAME_DEVELOPMENT,
stores details about the games and the software development teams creating them.
The table shows example data in GAME_DEVELOPMENT.
GameName
Genre
TeamNumber
DevelopmentStage
ManagerID
Bunny Hop
Platform
4
Analysis
23KP
Fried Eggs
Retro
2
Programming stage 1
9RTU
Create‑a‑game
Action
1
Acceptance testing
11TF
(i)
Complete the Data Definition Language (DDL) statement to create the table
GAME_DEVELOPMENT.
CREATE …
… (
GameName VarChar,
Genre VarChar,
…
… ,
DevelopmentStage VarChar,
ManagerID VarChar,
… (GameName)
);
[5]
(ii)
Another table, PRODUCT_MANAGER, is created.
PRODUCT_MANAGER(ManagerID, FirstName, LastName)
Complete the Data Manipulation Language (DML) statement to return the game name,
genre and team number of all games managed by the product manager with the first
name ‘James’ and the last name ‘Fitz’.
… GameName, Genre, TeamNumber
FROM GAME_DEVELOPMENT, PRODUCT_MANAGER
WHERE PRODUCT_MANAGER.FirstName = "James"
AND PRODUCT_MANAGER.LastName = "Fitz"
AND …
= … ;
[3]

7
9608/12/M/J/20 · Question 7May/June 2020Paper 1214 marks
Loading question…
Question text

7
A company allows customers to stream music from its servers over the Internet.
The company’s internet connection is currently provided through copper cables.
(a) Identify two pieces of hardware, other than the cables, that enable the servers to connect to
the Internet. Describe the purpose of each device.
Device 1 …
Purpose …
…
…
Device 2 …
Purpose …
…
…
[4]
(b) The company wants to upgrade their internet connection to fibre‑optic cables.
Give one benefit and one drawback to the company of upgrading to fibre‑optic cables.
Benefit …
…
…
Drawback …
…
…
[2]
(c) A customer enters a song title into a web page to listen to the song. The design of the web
page is shown:
Company Name
Navigation Bar
Enter song title:
Search
The web page will make use of both client‑side and server‑side scripting.
(i)
Explain how client‑side scripting will be used in this web page.
…
…
…
…
…
… [3]
(ii)
Explain how server‑side scripting will be used after the customer clicks the ‘Search’
button.
…
…

Advertisement