You are on page 1of 3

TYPE A

1a. What do you understand by the term internet


The Internet is a global network of networks with a massive store of multimedia and sharing of
information. It seems to be everywhere and allows many people and devices to connect to it via
phone line, cable, digital subscriber lines or wireless.

1b. Briefly explain the difference between intranet and extranet


An intranet is a private network accessible only to an organization’s staff. While, An extranet
is a controlled private network that allows access to partners, vendors and suppliers or an
authorized set of customers – normally to a subset of the information accessible from an
organization's intranet.

2a. Write HTML codes to demonstrate the use of the Anchor tag for the following
i. Creating a web link that opens a different web page called “Profile”
<a href="profile.html">Profile</a>

ii. Reference a link within the same HTML document (web page)
<h1 id="top">Top</h1>

<p><a href="#top">TOP</a></p>

2b. What are the various types of list in HTML


1. Ordered list
2. Unordered list

Type B
1. List and explain 4 communication protocols

1. Transmission Control Protocol/Internet Protocol (TCP/IP)

2. Hypertext Transfer Protocol (HTTP)

3. Email Protocol

4. File Transfer Protocol (FTP)


The Transmission Control Protocol (TCP): is one of the core protocols of the Internet
Protocol Suite. It provides reliable, ordered delivery of a stream of bytes from a program on one
computer to another program on another computer.
The Internet Protocol (IP) is a set of rules that are more concerned with sending a message to
the correct address than with whether the data actually makes it to that receiver.
Hypertext Transfer Protocol (HTTP) is a set of rules for exchanging files such as text,
graphics images, sound, video and other multimedia files on the Web.

E-Mail Protocols Two main servers are required for e-mail messages to be sent and delivered
successfully. These are –incoming mail server and an outgoing mail server. Incoming e-mail
messages are sent to an e-mail server that stores messages in the recipient's email box. The user
retrieves the messages with an e-mail client that uses one of a number of e-mail retrieval
protocols.

File Transfer Protocol (FTP) is a set of rules that allows files to be exchanged between
computers on the Internet.
2a. Write HTML code to create the table below
<!DOCTYPE html>
<html>
<head>
<title>Table</title>
<style>
td, th {
border: 1px solid gray;
}
</style>
</head>
<body>
<table>
<tr><th colspan="4">Timetable</th></tr>
<tr>
<td>First</td><td>Second</td><td>Third</td><td>Fourth</td>
</tr>
<tr>
<td rowspan="2">CMP 331</td><td>CMP 411</td><td>CMP 221</td>
<td rowspan="3">371</td>
</tr>
<tr>
<td>CMP 351</td><td>CMP 431</td>
</tr>
<tr>
<td>CMP 111</td><td>CMP 251</td><td>CMP 341</td>
</tr>
</table>
</body>
</html>

2b. Specify any 2 attributes of the table tag of your choice


1. border
2. border color

You might also like