You are on page 1of 2

KCA UNIVERSITY

SCHOOL OF TECHNOLOGY
DIPLOMA IN INFORMATION TECHNOLOGY
DIT 505: WEB DESIGN AND DEVELOPMENT
CAT 1

(a) In the context of Web development and applications;


i) Define the term HTTP ( 2 Marks )
Standard application level protocol used for exchanging files on the world wide wed.

ii) There are various HTTP request methods in existence, the two most common HTTP
methods are: GET and POST. Differentiate between these two methods ( 4 Marks )
 GET carries request parameter appended in URL string while POST carries
request parameter in message body.
 The GET method is limited to a maximum number of characters, while the post
method has no such limitation.
(b) Describe the use of the following HTML Tags; ( 4 Marks )
i) <br> represents a line break.
ii) <hr> the element is most often displayed as a horizontal rule that is used to separate
content in an HTML .
iii) <ol> use to represent a list or a sequence .
iv) <p> used to define a paragraph in HTML .

(c) State and explain three services offered on the internet. ( 6 Marks )
1. Communication services : the internet has come up with a way for people to communicate
through social media pages like whats app and facebook.
2. Information retrieval : is the process of accessing data resources. Usually documents or other
unstructured data for the purpose of sharing knowledge. More specifically an information
retrieval system provides an interface between users and large data repositories.
3. File transfer : the internet is provide a platform where the process of copying or moving a file
from one computer to another over a network or internet.
(d) Explain the term Protocol ( 2 Marks )
Internet protocols are a set of rules that governs the communication and exchange of data over the
internet.
(e) Explain the concept of a Client/Server Architecture, identifying all its components. (2 Marks)
The three tier client server architecture consists of a presentation tier known as the user interface
layer, an application tier called the service layer, and a data tier called the service layer, and a
data tier comprising the database server.
(f) Differentiate between server side and client side programming giving an example of languages
used In each. ( 4 Marks )
Client side development gathers input from users. For example, development can use
javascript to create forms that collect user input. Meanwhile, server side development
processes this input. For example, developers can use PHP to connect a database to a website
and send user inputted data to the database.

(g) Write a code snippet to show how the following are inserted using HTML. (2 Marks)
i) Image
< img src = “ img_girl.jpg” alt=”Girl in a jacket”>
ii) Hyper link
href=”https:// www . w3schools.com/”>Visit W3schools.com! </a>

(h) Differentiate between static and dynamic website citing at least one language that can be used
for each. (4 Marks)
In static web page ,pages will remain the same until someone changes it manually, they can
also use languages like CSS. Dynamic web pages:dynamic web pages are written in
languages such as CGI, AJAX and ASP. In dynamic web pages the content of pages is
different for different visitors.

You might also like