Communication and Internet technologies – A Level Computer Science (old syllabus, to 2021) (9608)

14 questions · Clear filters

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
1
9608/11/M/J/20 · Question 3May/June 2020Paper 116 marks
Loading question…
Question text

3
Lana creates a website. The web pages of the website contain JavaScript and PHP code.
(a) Describe the purpose of the following JavaScript statement.
document.getElementById("text 2").innerHTML = 10 + 2;
…
…
…
… [2]
(b) Describe the purpose of the following JavaScript code.
function calculateValue(value1, value2){}
…
…
…
… [2]
(c) Describe the purpose of the following PHP code.
$number1 = 2;
echo $number1 ** 3;
…
…
…
… [2]

2
9608/11/M/J/20 · Question 8May/June 2020Paper 119 marks
Loading question…
Question text

8
Bart plays computer games on his stand-alone games console.
The games console has an operating system.
(a) Describe the tasks performed by the operating system to manage the main memory in the
games console.
…
…
…
…
…
…
…
… [4]
(b) The computer games are written in a high-level language. Bart does not need a compiler or
an interpreter to run the games he buys for his console.
Explain why the games run without the need for a compiler or an interpreter.
…
…
…
… [2]
(c) When Bart is at work, he connects his work laptop to his employer’s Local Area Network
(LAN). The LAN has both a router and a gateway.
Give two similarities and one difference between a router and a gateway.
Similarity 1 …
…
Similarity 2 …
…
Difference …
…
…
[3]

3
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
4
9608/13/M/J/20 · Question 1May/June 2020Paper 138 marks
Loading question…
Question text

1
Ana owns a small company with four employees. The office has a network containing several
computers that run on a client-server model. There is one server that connects to the Internet
using a router.
(a) Networks transmit data using various types of connection shown in the following table.
Complete the table.
Type of connection
Description
…
…
Fibre-optic
…
…
…
A communication device in Earth’s orbit that receives and
transmits data
…
…
…
Radio waves
…
…
…
Carries data as electrical signals and can consist of a twisted
pair
…
[4]
(b) Explain how the client-server model enables the employees to access the same files from
different computers.
…
…
…
…
…
… [2]
(c) Each computer in the network has a private IP address.
Give two reasons why the computers do not have public IP addresses.
1 …
…
2 …
…
[2]

5
9608/11/M/J/19 · Question 1May/June 2019Paper 1113 marks
Loading question…
Question text

1
Devices connected to the Internet have IP (Internet Protocol) addresses.
(a) Three IPv4 addresses are given.
Circle either Valid or Invalid to indicate whether each address is valid or invalid. Explain your
decision.
3A.21.2H.1
Valid / Invalid
Address 1:
Explanation …
…
299.53.2.2
Valid / Invalid
Address 2:
Explanation …
…
192.2.1.0
Valid / Invalid
Address 3:
Explanation …
…
[3]
(b) A website can be accessed using either the Uniform Resource Locator (URL) or the IP
address.
Describe how a URL is converted into its matching IP address.
…
…
…
…
…
… [3]
(c) People use the Internet to stream media.
Complete the following statements by filling in the names of the missing methods of bit
streaming.
… bit streaming is used when watching a live stream of events
that are currently taking place. The event is captured live with a video camera connected to a
computer, and it cannot be paused or rewound.
… bit streaming is used when watching an event that has taken
place in the past. Existing media are encoded to bit streaming format and uploaded to a
server. It can be paused and rewound.
[2]
(d) A recording of a concert is stored as a file. The file is compressed using lossy compression
before it is streamed to users.
(i)
State why this file needs to be compressed.
…
… [1]
(ii)
Define the term lossy compression.
…
… [1]
(iii)
The file could be compressed using lossless compression.
Explain why lossy compression is a more appropriate compression technique than
lossless for this file.
…
…

6
9608/12/M/J/19 · Question 1May/June 2019Paper 1215 marks
Loading question…
Question text

1
Computers on the Internet have IP addresses.
(a) IP addresses can be in either IPv4 or IPv6 format.
(i)
Give an example of a valid IPv4 address.
…
… [1]
(ii)
State why there is a need for IPv6 addressing.
…
… [1]
(iii)
A computer’s IPv6 address is:
C100:2235::1000:25AA:AA50
Explain why this IPv6 address would be an invalid IPv4 address.
…
…
…
… [2]
(b) A company has computers in two separate buildings that communicate using the Internet
over a Public Switched Telephone Network (PSTN).
(i)
Describe the transmission of data using a PSTN.
…
…
…
… [2]
(ii)
The company wants to install a dedicated line between the two buildings.
Identify one benefit and one drawback of installing a dedicated line between the two
buildings.
Benefit …
…
Drawback …
…
[2]
(c) A network can use routers and gateways.
Explain the role of routers and gateways in a network.
…
…
…
…
…
…
…

7
9608/11/M/J/18 · Question 1May/June 2018Paper 116 marks
Loading question…
Question text

1
Four communication media and five features are shown.
Draw one or more lines from each communication media to the appropriate feature(s).
Communication media
Feature
Can be twisted pair or co-axial
Fibre-optic cable
Transmits light pulses
Radio waves
Large range of wavelengths
Copper cable
Least likely to have interference
Satellite
Wireless transmission
[6]

8
9608/11/M/J/18 · Question 5May/June 2018Paper 1111 marks
Loading question…
Question text

5
A college has a client-server network.
(a) The college has a file server and other servers.
State the purpose of two other servers in the college network.
Server 1 …
Server 2 …
[2]
(b) The students use the network to access the Internet.
One student stated, ‘The Internet and the World Wide Web are the same thing’.
Tick (✓) one box to indicate whether this statement is true or false.
True
False
Justify your choice.
…
…
…
…
…
…
…
…
…
… [5]
(c) Students use the college’s learning resource website. Several of the web pages include PHP
script.
Describe the sequence of events when a student requests a web page with embedded
server-side code.
…
…
…
…
…
…
…
… [4]

Advertisement
9
9608/12/M/J/18 · Question 6May/June 2018Paper 129 marks
Loading question…
Question text

6
A web page includes the following HTML and JavaScript code.
01
<html>
02
<body>
03
04
<p>Enter your mark</p>
05
<input id="Mark" value="0">
06
<button onclick="calcGrade()">Enter</button>
07
08
<script>
09
function calcGrade() {
10
var mark, grade;
11
mark = document.getElementById("Mark").value;
12
if (mark >= 90) {
13
grade = "A"
14
} else if (mark >= 80) {
15
grade = "B"
16
} else if (mark >= 70) {
17
grade = "C"
18
} else if (mark >= 60) {
19
grade = "D"
20
} else if (mark >= 50) {
21
grade = "E"
22
} else {
23
grade = "U"
24
}
25
alert("Your grade is " + grade)
26
}
27
</script>
28
29
</body>
30
</html>
(a) Give the identifier of two variables used in the JavaScript code.
1 …
2 …
[2]
(b) Give the line number where the JavaScript code produces an output.
… [1]
(c) Describe the purpose of the statement on line 11.
…
… [2]
(d) (i)
State whether this JavaScript code will be run client-side or server-side.
… [1]
(ii)
Explain the difference between client-side scripting and server-side scripting.
…
…
…
…
…
… [3]

10
9608/13/M/J/18 · Question 1May/June 2018Paper 136 marks
Loading question…
Question text

1
A web page includes the following HTML and PHP code.
01
<?php
02
if(isset($_GET['mark'])) {
03
echo "Grade: " . calculateGrade($_GET['mark']);
04
} else {
05
?>
06
07
<form action="#" method="get">
08
Enter Mark: <input type="text" name="mark" /><br />
09
<input type="submit" value="Calculate" />
10
</form>
11
12
<?php
13
}
14
15
function calculateGrade($inputMark) {
16
$gradeChar = "U";
17
if($inputMark >= 80) $gradeChar = "A";
18
else if($inputMark >= 70) $gradeChar =
"B";
19
else if($inputMark >= 60) $gradeChar =
"C";
20
else if($inputMark >= 50) $gradeChar =
"D";
21
else if($inputMark >= 40) $gradeChar =
"E";
22
return $gradeChar;
23
}
24
?>
(a) Give the identifier of two variables used in the PHP code.
Identifier 1 …
Identifier 2 …
[2]
(b) Give the line number where the PHP code produces an output.
… [1]
(c) Describe the purpose of the expression $_GET['mark'] in line 03.
…
…
…
… [2]
(d) State whether this PHP code will run client-side or server-side.
… [1]

11
9608/11/M/J/17 · Question 7May/June 2017Paper 1115 marks
Loading question…
Question text

7
The design of a web-based application can require the use of client-side scripting.
(a) Describe what is meant by client-side scripting.
…
…
…
… [2]
(b) A user requests a web page by keying the Uniform Resource Locator (URL) into the address
bar of their web browser.
The requested page contains a client-side script.
Describe the sequence of steps leading to the display of the web page on the computer
screen.
…
…
…
…
…
…
…
… [4]
(c) A web page used for data capture consists of:
•
two text boxes for the entry of:
•
a product code
•
the number of items to be purchased.
•
a button which is clicked when the user wants to submit this order.
Study the following web page.
1
<html>
2
<head>
3
<title>Untitled Document</title>
4
<script language="JavaScript">
5
6
function myButton_onmousedown()
7
{
8
var Message1 = "ERROR – Order refused";
9
var Message2 = "Product code OK";
10
var x = document.forms["form1"]["txtProductCode"].value;
11
if (x == "")
12
{
13
alert(Message1)
14
}
15
else
16
{
17
alert(Message2)
18
}
19
}
20
</script>
21
22
</head>
23
<body>
24
<form name = form1>
25
<label>Product code: </label>
26
<input type="text" name="txtProductCode" >
27
<label>Number: </label>
28
<input type="text" name="txtNumber" size = "5" >
29
<p>
30
<label>Submit order: </label>
31
<input type="button" name="btnSubmit" Value = "Submit"
32
33
onMouseDown = "myButton_onmousedown()" >
34
</p>
35
</form>
36
37
</body>
38
</html>
(i)
The developer has used three variables in the JavaScript code. State the identifiers used.
1 …
2 …
3 …
[2]
(ii)
The button has an event whose identifier is onMouseDown. When the submit button is
clicked, some code is executed.
State the line numbers that contain this code.
From line … to line …
[1]
(iii)
The JavaScript code uses a selection statement.
State the line number that contains the condition.
Line number: …
[1]
(iv)
Describe the purpose of the valida

12
9608/12/M/J/17 · Question 6May/June 2017Paper 1215 marks
Loading question…
Question text

6
Downloading a file from a website is an example of a client-server application.
(a) Describe what is meant by the term client-server for this application.
…
…
…
… [2]
(b) The following sequence of steps (1 to 5) describes what happens when someone uses their
personal computer (PC) to request a web page. The web page consists of HTML tags and
text content only. Four of the statements from A, B, C, D, E and F are used to complete the
sequence.
A
Browser software interprets the script, renders the page and displays.
B
Browser software renders the page and displays.
C
Browser software compiles the script, renders the page and displays.
D
The web server retrieves the page.
E
The Domain Name Service (DNS) uses the domain name from the
browser to look up the IP address of the web server.
F
The web server sends the web page content to the browser.
Write one of the letters A to F in the appropriate row to complete the sequence.
1.
The user keys in the Uniform Resource Locator (URL) into the browser software.
2.
…
3.
…
4.
…
5.
…
[4]
Question 6(c) begins on the next page.
(c) The following web page used for data capture consists of:
•
two text boxes for the entry of:
° a race runner’s ID code
° their finishing position in a race.
•
a button that the user clicks to submit this runner’s result.
1
<html>
2
<head>
3
<title>Untitled Document</title>
4
<script language="JavaScript">
5
6
function myButton_onmousedown()
7
{
8
var Output1 = "Runner ID OK";
9
var Output2 = "ERROR – entry refused";
10
11
var Runner ID = document.forms["form1"]["txtRunnerID"].value;
12
//
|| in Javascript is the 'OR' operator
13
if (RunnerID.substr(0,3) == "VAR" || RunnerID.substr(0,3) == "CAM")
14
{
15
alert(Output1)
16
}
17
else
18
{
19
alert(Output2)
20
}
21
}
22
</script>
23
24
</head>
25
<body>
26
<form name = form1>
27
<label>Runner ID: </label>
28
<input type="text" name="txtRunnerID" >
29
<label>Position: </label>
30
<input type="text" name="txtPosition" size = "5" >
31
<p>
32
<label>Save data: </label>
33
<input type="button" name="btnSubmit" Value = "Submit"
34
35
onMouseDown = "myButton_onmousedown()" >
36
</p>
37
</form>
38
39
</body>
40
</html>
(i)
The developer has used three variables in the JavaScript code. State the identifiers
used.
1.
…
2.
…
3.
…
[2]
(ii)
The button has an event whose identifier is onMouseDown. When the mouse button is
clicked, some code is run.
State the line numbers which contain this code.
From line … to line …
[1]
(iii)
The JavaScript code uses a selection statement.
State the line number which contains its condition.
Line number: …
[1]
(iv)
Describe the purpose of the validation check that the code performs.
…
… [1]
(v)
Name and describe two other types of validation check which could be appr

13
9608/11/M/J/16 · Question 7May/June 2016Paper 117 marks
Loading question…
Question text

7
Access to World Wide Web content uses IP addressing.
(a) State what IP stands for.
… [1]
(b) The following table shows four possible IP addresses.
Indicate for each IP address whether it is valid or invalid and give a reason.
Denary /
Valid or
Address
Reason
Hexadecimal
Invalid
3.2A.6AA.BBBB
Hexadecimal
2.0.255.1
Denary
6.0.257.6
Denary
A.78.F4.J8
Hexadecimal
[4]
(c) Describe two differences between public and private IP addresses.
1 …
…
2 …
… [2]

Advertisement
14
9608/13/M/J/16 · Question 6May/June 2016Paper 1316 marks
Loading question…
Question text

6
(a) Explain the difference between the World Wide Web (WWW) and the Internet.
…
…
…
… [2]
(b) Three methods of connecting devices include fibre-optic cables, copper cables and radio
waves. The table below gives descriptions relating to these connection methods.
Tick (✓) one box on each row to show the method that best fits each description.
Description
Fibre-optic cable
Copper cable
Radio waves
Wireless medium
Twisted-pair is an
example
Uses light waves
WiFi
Fastest transmission
medium
[5]
(c) Bit streaming is used for both real-time and on-demand services.
Describe one difference between real-time and on-demand bit streaming.
…
…
…
… [2]
(d) A device needs an IP address to connect to the Internet. IPv4 is the more common type of
IP address.
Describe, using an example, the format of an IPv4 address.
…
…
…
…
…
… [3]
(e) A computer user keys in the Uniform Resource Locator (URL) of a web page into a web
browser.
Describe how the browser uses the Domain Name Service (DNS) to display the web page.
…
…
…
…
…
…
…

Advertisement