Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 3

KENYATTA UNIVERSITY.

UNIVERSITY EXAMINATIONS 2019/2020


DIGITAL SCHOOL OF VIRTUAL AND OPEN LEARNING
EXAMINATION FOR THE DIPLOMA IN INFORMATION TECHNOLOGY

SIT 209 Web Design

TIME 2 HOURS

INSTRUCTIONS: Attempt question ONE and any other TWO questions

Question 1

a) Explain the use of each of the following table tags.


i) <CAPTION> (2 marks)
ii) <TH> (2 marks)
iii) <TR> (2 marks)
iv) <TD> (2 marks)
b) Write the HTML code that would be used to display the following special characters.

i) Copy right mark ()


ii) Trade mark (@)
ii) Ampersand character (&)
iii) Quotation mark (“)
iv) Greater than symbol (>) (5 marks)
c) Discuss three user interface principles used to improve the quality of website.
(6
marks)
d) There are numerous threats to web application in the current age.
i) Explain three threats that most web applications are vulnerable to. (3 marks)
ii) Outline three measures that can be put in place to protect information on website.
(3 marks)
e) A newly formed bus company was advised to develop a website. Outline five ways in
which the company could use the website. (5 marks)

Question 2

a) Define the following terms as used in web development


i) Tag
ii) Element
iii) Attribute (6 marks)
b) Discuss four services of the Internet. (4 Marks)
c) i) Explain the significance of using form in a web site (4 Marks)
ii) Write an HTML code to create the following form on a webpage.

(6
marks)

Question 3

a) Define the following terms as used in web application.

i) Applet (2 marks)
ii) Web server (2 marks)

b) Outline three ways in which Cascading Style Sheets can be embedded within an HTML
document. (6 marks)

c) Write the HTML code that would be used to insert the following links in a web page.

i) A link to open a page named index when a text HOME is clicked. (3 marks)
ii) A link to open the page www.google.com when a text SEARCH MORE is
clicked. (3 marks)
iii) Display a picture named manager.jpeg when a text VIEW is clicked. (4 marks)

Question 4

a) Write HTML statement that would be used to perform each of the following on a
webpage:
i) Set its background colour to red; (2 marks)
ii) Insert a background picture of an image named tile.gif. (2 marks)
i) Display image named mypic.gif stored in c:/site/myimages on a browser.
(2 marks)
b) Write a HTML code that will display the following list when run in a browser.

(6
marks)

c) Write a JavaScript code embedded in HTML that would prompt a user to enter two
integers. The program should then use a function to compute and display the sum and the
product of the integers. (8 marks)

Question5

a) Outline four HTML attributes for the image tag. (6 marks)


b) Write the html code that generate the table output as shown below
LIST OF MOVIES
NO. Name Movie
1 Michael Scofield Prison Break
2 Alex Mohon Crossing line
(6 marks)
c) In a web design project, the client provided the following requirements:
 All links should have a green default colour
 Visited links should be red
 As the user places the mouse over the links, the link colour should turn to blue.
Write an HTML code to implement these instructions (8 marks)

You might also like