Communication and Internet technologies – A Level Computer Science (old syllabus, to 2021) (9608)
32 questions · page 1 of 3 · Clear filters
Question text
3
Server-side scripting is used to access a company database over the Internet.
Steps 1 to 6 describe the sequence of events.
Four of the statements A, B, C, D, E and F are used to complete the sequence.
Letter
Statement
A
The web server processes the PHP code.
B
The server renders the HTML code and displays the web page.
C
The browser renders the HTML code and displays the web page.
D
The web server returns the (HTML) web page to the client web browser.
E
The web server accesses the page from its hard disk.
F
The web browser processes the PHP code.
Write one of the letters A to F in each appropriate row to complete the sequence.
1.
The browser requests the web page from the web server.
2.
…
3.
…
4.
The web server produces the HTML code for the web page.
5.
…
6.
…
[4]
Question text
11
The Internet uses a client-server model.
(a) Describe the role of clients and servers on the Internet.
…
…
…
… [2]
(b) Computers on the Internet have IP addresses.
Describe the format of an IP address.
…
…
…
…
…
… [3]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of
Question text
3
Upali travels for his work and uses his mobile phone to access the World Wide Web (WWW) and
to communicate with his office by email. His office has a fixed connection to the Internet.
(a) Identify two types of communication systems that support the transmission of his data.
1 …
…
2 …
…
[2]
(b) Upali connects his computer to the Local Area Network (LAN) when he is in the office.
The network uses both copper cables and fibre optic cables.
Identify two other examples of network hardware that can be used in a LAN.
1 …
…
2 …
…
[2]
(c) Checksum is one method used for verification of transmitted data within a network.
Name and describe one other method of verifying transmitted data.
Method …
Description …
…
…
…
…
[3]
(d) Upali works for a company that stores data on a web server.
Describe two security measures that can be used to protect a web server from unauthorised
access.
1 …
…
…
…
2 …
…
…
…
Question text
3
(a) Describe what is meant by a Public IP address and a Private IP address.
Public IP address …
…
…
…
Private IP address …
…
…
…
[4]
(b) Complete the following paragraph that describes the sequence of events when a user
requests a page from a website.
The user enters the Uniform Resource Locator (URL) into the address bar of the
… .
The domain name is taken from the URL and sent to a Domain Name Service (DNS). This
stores … of domain names and their matching IP addresses.
If it finds the domain name, it sends the IP address to the … .
If it does not find the domain name, it sends the request to … .
[4]
Question text
5
Oscar is watching a concert on his laptop computer.
(a) The concert is streamed to his computer at the same time as it is taking place.
(i)
Identify whether Oscar is using real-time or on-demand bit streaming. Justify your choice.
Streaming method …
Justification …
…
…
…
…
[3]
(ii)
The video of the concert repeatedly stops and restarts while Oscar is watching it on his
laptop computer. His friend is watching the same video of the concert at the same time,
in a different location, but he does not experience the same problem as Oscar.
Give three possible reasons why Oscar’s video constantly stops and starts again.
1 …
…
2 …
…
3 …
…
[3]
(b) The video of the concert is made up of a sound track and multiple images.
Two successive frames of one section of the video are shown. The pixel colours are
represented by letters.
BL
BL
BL
RD
RD
RD
BL
BL
BL
RD
RD
RD
BL
BL
BL
RD
RD
RD
K
K
K
K
K
K
LG
LG
LG
DG
DG
DG
LG
LG
LG
DG
DG
DG
BK
BK
BK
BK
BK
BK
Y
Y
K
Y
Y
K
W
K
W
W
W
DG
W
K
W
W
W
DG
P
P
P
P
P
P
P
P
P
P
P
P
Frame 1
Frame 2
(i)
Explain the way in which progressive encoding can be used to transmit Frames 1 and 2.
…
…
…
… [2]
(ii)
Explain, using Frames 1 and 2 as an example, the way in which temporal redundancy
can be used to compress a video.
…
…
…
…
…
Question text
7
Anne is downloading a sound file from a web server. She had the choice of a sampling rate of
44.1 kHz or 98 kHz before she downloaded the sound file.
Explain the differences between the two sound files stored on the server.
…
…
…
…
…
…
…
… [4]
Question text
8
Joshua’s laptop is connected to the router on his home network.
(a) The laptop has a private IP address. The router has both public and private IP addresses.
Explain the reasons why Joshua’s laptop has a private IP address only, but the router has
both a private and a public IP address.
…
…
…
…
…
…
…
… [4]
(b) Joshua visits a website by entering its Uniform Resource Locator (URL).
Describe how the URL is converted into a matching IP address.
…
…
…
…
…
…
… [3]
(c) Give one example of a valid IPv4 address.
…
… [1]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of
Question text
7
A web server has a public IPv4 address.
(a) Draw lines to link each characteristic to its appropriate IP address.
Characteristic
IP address
Can use hexadecimal notation
Each group of digits is a number
between 0 and 65535
IPv4
Consists of four groups of digits
IPv6
Uses double colons ( :: )
The total length of the address is 32 bits
[2]
(b) IP addresses can be static or dynamic.
Explain the reasons for the web server using a static instead of a dynamic IP address.
…
…
…
…
…
… [3]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.
Cambridge Assessment International Education is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of the University of
Question text
4
A laptop on a home network connects to the Internet through a router.
(a) The laptop has an IP address.
(i)
Give the reasons why the laptop has an IP address.
…
…
…
… [2]
(ii)
The laptop’s IP address is private.
Give the reasons why the laptop does not have a public IP address.
…
…
…
… [2]
(iii)
The router has an IPv4 address.
Give three differences between the format of an IPv4 address and an IPv6 address.
1 …
…
2 …
…
3 …
…
[3]
(b) A Public Switched Telephone Network (PSTN) is one example of a communication system
that can be used to support the Internet.
Identify and describe two other communication systems that can be used to support the
Internet.
System 1 …
Description …
…
System 2 …
Description …
…
[4]
(c) A web page contains PHP code.
(i)
Complete the following table by writing a description of the function of each line of PHP
code.
PHP code
Description
echo "Hello World";
$number1 = 22;
$newValue = $_GET["number"];
print "Hello " . $name . "<br>";
[4]
(ii)
PHP is a server-side scripting language.
Give an example of a client-side scripting language.
…
…
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]
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]
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.
…
…
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]
Question text
4
Customers of a bank can access their account information by logging in on the bank’s website.
(a) The bank has a client-server model of networked computers.
(i)
Describe, using the bank as an example, the key features of a client-server model.
…
…
…
…
…
… [3]
(ii)
Give two other examples of applications that can use the client-server model.
1 …
…
2 …
…
[2]
(b) The bank’s customers log in to the website using a web application.
Explain why the web application uses server-side scripting.
…
…
…
…
…
… [3]
(c) The bank is upgrading its local area network (LAN) copper cables to fibre-optic cables.
(i)
State two benefits to the bank of upgrading to fibre-optic cable from copper cable.
1 …
…
2 …
…
[2]
(ii)
State two drawbacks of upgrading to fibre-optic cables.
1 …
…
2 …
…
Question text
6
Willow is creating a website.
One of the web pages includes the following JavaScript code and HTML tags.
01
<html>
02
<body>
03
<form>
04
<p id="displayQuestion"></p>
05
<input type="text" id="answer">
06
<button id="submit" onclick="checkAnswer()"> Submit </button>
07
</form>
08
</body>
09
<script>
10
val1 = Math.floor((Math.random() * 10) + 1);
11
val2 = Math.floor((Math.random() * 10) + 1);
12
document.getElementById("displayQuestion").innerHTML = "What is" +
val1.toString() + "*" + val2.toString() + "?";
13
function checkAnswer(){
14
userAnswer = document.getElementById("answer").value;
15
answer = val1 * val2
16
if (userAnswer == answer.toString()){
17
alert("Correct, well done");
18
}else{
19
alert("Sorry that's incorrect");
20
}
21
}
22
</script>
23
</html>
(a) (i)
Name three functions in the JavaScript code.
1 …
2 …
3 …
[3]
(ii)
Identify every line number of the JavaScript code that generates an output.
…
… [2]
(iii)
Identify the line number of the JavaScript code that takes data the user has input and
stores it in a variable.
… [1]
(iv)
Describe the purpose of the code on line 16.
…
…
…
… [2]
(b) Willow used functions from a JavaScript program library in the web page.
Describe the benefits to Willow of using program libraries to create the web page.
…
…
…
…
…
…
…
… [4]