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

32 questions · page 2 of 3

0 / 0Answer a question to start your score.
Quick quiz (10)Saved 0
Advertisement
16
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.
…
…

17
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.
…
…
…
…
…
…
…

18
9608/11/O/N/18 · Question 2Oct/Nov 2018Paper 1111 marks
Loading question…
Question text

2
Computer A needs to access a web page.
(a) State how Computer A could access the web page without using a Domain Name Service
(DNS).
…
… [1]
(b) (i)
The following table shows four IPv6 addresses.
State if each address is valid or invalid.
IP address
Valid or invalid
21E5:69AA:FFFF:1:E100:B691:1285:F56E
::255.255.255.255
59FB::1005:CC57:6571
56FE::2159:5BBC::6594
[4]
(ii)
The following table shows four statements about either public or private IP addresses.
Tick (3) one box in each row to indicate whether each statement refers to a public or a
private IP address.
Statement
Public
Private
192.168.2.1 is an example of this type of address
Assigned by the Internet Service Provider (ISP)
IP address cannot be duplicated in different
networks
Network Address Translation (NAT) is necessary
to access the Internet directly
[4]
(c) One type of transmission media is copper cable.
Give two additional types of transmission media.
1 …
2 …
[2]

Advertisement
19
9608/11/O/N/18 · Question 6Oct/Nov 2018Paper 119 marks
Loading question…
Question text

6
A web page includes the following PHP and HTML code.
01
<?php
02
if(isset($_GET['age'])) {
03
echo "Result: ", allowed($_GET['age']);
04
} else {
05
?>
06
07
<form action="#" method="get">
08
Enter Age: <input type="text" name="age" /><br/>
09
<input type="submit" value="Calculate" />
10
</form>
11
12
<?php
13
}
14
function allowed($age) {
15
if($age <= 16) $message = "You need permission";
16
else if($age > 30) $message = "You are too old";
17
else $message = "Allowed";
18
return $message;
19
}
20
?>
(a) Name two identifiers used in the PHP code.
1 …
2 …
[2]
(b) Write the value assigned to $message if the user types 30 in the text box.
… [1]
(c) Explain the purpose of the code in line 18.
…
…
…
… [2]
(d) The PHP code in a web page uses server-side scripting.
List the sequence of events that take place when a user requests a web page containing PHP
code.
…
…
…
…
…
…
…
… [4]
Question 7 begins on the next page.

20
9608/12/O/N/18 · Question 2Oct/Nov 2018Paper 129 marks
Loading question…
Question text

2
Gopal types the Uniform Resource Locator (URL) of a website into a web browser.
(a) The following sequence (1 to 5) describes the steps that take place. There are three missing
statements.
1
Gopal types into the web browser.
2
…
3
DNS looks up the URL in table
4
…
5
…
Three statements A, B and C are used to complete the sequence.
A
DNS finds corresponding IP address
B
Web browser sends URL to Domain Name Service (DNS)
C
DNS returns IP address to web browser
Write one of the letters A to C in the appropriate rows (2, 4 and 5) to complete the sequence.
[2]
(b) Describe the purpose of an IP address.
…
…
…
… [2]
(c) A telecommunications operator has installed fibre-optic cables in Gopal’s neighbourhood.
(i)
Give three benefits of fibre-optic cable over copper cable.
1 …
…
2 …
…
3 …
…
[3]
(ii)
Give two drawbacks of fibre-optic cable over copper cable.
1 …
…
2 …
…
[2]

21
9608/13/O/N/18 · Question 4Oct/Nov 2018Paper 1310 marks
Loading question…
Question text

4
Ava needs to view a website and she knows the Uniform Resource Locator (URL).
(a) Complete the series of steps that take place.
Write the letter of the appropriate statement in each space.
A
DNS finds corresponding IP
B
DNS looks up URL in table
C
Ava types the URL into a web browser
1
…
2
Web browser sends URL to Domain Name Service (DNS)
3
…
4
…
5
DNS returns IP address to web browser
[2]
(b) (i)
An IPv4 address has been entered as 12.258.3
Give two reasons why this IP address is invalid.
1 …
…
2 …
…
[2]
(ii)
An IPv6 address has been entered as 15EF:5L63::2014:BB::60AA
Give two reasons why this IP address is invalid.
1 …
…
2 …
…
[2]
(c) The table shows four descriptions of IP addresses.
Tick (✓) one box in each row to identify whether each description applies to a public or private
IP address.
Description
Public
Private
The address can be reached over the Internet.
The address is more secure.
The address can only be accessed through the same LAN.
The address can be duplicated in different networks.
[4]

22
9608/13/O/N/18 · Question 7Oct/Nov 2018Paper 134 marks
Loading question…
Question text

7
The network manager of a Local Area Network (LAN) has replaced the Ethernet cables with a
wireless network.
(a) Give three benefits of a wireless network compared to a wired network.
1 …
…
2 …
…
3 …
…
[3]
(b) Give one drawback of a wireless network compared to a wired network.
…
… [1]

23
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]

Advertisement
24
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]

25
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]

26
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]

27
9608/11/O/N/17 · Question 2Oct/Nov 2017Paper 117 marks
Loading question…
Question text

2
(a) The diagram shows three items of software that translate program code.
Draw one line from each context to the correct item of translation software.
Item of translation software
Context
A web page contains a client-side script.
Assembler
Each instruction in the source code
consists of an op code and an operand.
Interpreter
The source code is required at run-time.
Compiler
When the source code is translated,
copies of the executable program can be
distributed without the need for the source
code.
[4]
(b) The Java programming language is said to be machine or platform independent.
(i)
Describe what is meant by machine independent.
…
… [1]
(ii)
Describe how a Java source code program is translated.
…
…
…
… [2]

28
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

Advertisement
29
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

30
9608/11/O/N/16 · Question 6Oct/Nov 2016Paper 114 marks
Loading question…
Question text

6
A user watches a video available on a website. The website uses on-demand bit streaming.
Describe how it is possible to watch the video without it continually pausing.
…
…
…
…
…
…
…
… [4]

Advertisement