UNIVERSITY EXAMINATION 2018/2019
SCHOOL OF COMPUTING AND INFORMATICS
DEPARTMENT OF INFORMATION TECHNOLOGY
CBIT/CIT/DIT/DBIT
EVENING
UNIT CODE: DIT2212/DIT2203/CIT2201
UNIT TITLE: WEB DESIGN/WEB PROGRAMMING/INTRODUCTION TO WEB
DESIGN
DATE: NOVEMBER 2018 MAIN EXAM TIME: 2 HOURS
INTRODUCTIONS
ANSWER QUESTION ONE AND ANY OTHER TWO QUESTIONS
QUESTION ONE
a) Define the following terms as used in the internet technology. (5 Marks)
i. ISP
ii. Web browser
iii. Home page
iv. HTML
v. World Wide Web
b) Outline and briefly explain five factors to consider when choosing content to
include on a website. (10 Marks)
c) Briefly explain the differences between the following terminologies used in
HTML
i. Web site and web page (2 Marks)
ii. Web browser and web pages (2 Marks)
iii. Head and body structure of web page (2 Marks)
iv. HTML converters and HTML editors (2 Marks)
Library Copy Page 1
d) Write a line of HTML code that defines a link that when clicked sends an e-
mail to john@yahoo.com (2 Marks)
e) Explain the use the following tags; (3 Marks)
i. <TR>
ii. <IMG>
iii. <P>
f) Define the term search engine and give an example (2 Marks)
QUESTION TWO
a. Outline four uses of web forms (4 Marks)
b. Give sample code that creates any five controls used with the forms e.g a
button, a text field, a text area; check box and a select list (10 Marks)
c. State and explain the two most commonly and graphic formats. (2 Marks)
d. Differentiate between open tags and closed tags. (4 Marks)
QUESTION THREE
a. Write an HTML code to generate the following table; (9 Marks)
FLIGHT SCHEDULE
KENYA AGENCIES
17/03/2011 REPORTING DEPARRTURE DESTINATION ARRIVAL
KENYA 19:00 20:30 UNITED 3:00
AIRWAYS STATES OF
EMIRATES 20:00 22:00 AMERICA 12:00
BRITISH 19:15 21:30 11:30
AIRWAYS
b. State two differences between Radio and checkbox input type elements as
used with the form. (4 Marks)
c. State and explain any three attributes of the body element (3 Marks)
d. State and explain any two HTML lists formats used in Web pages showing
the tags used. (4 Marks)
Library Copy Page 2
QUESTION FOUR
a. Explain the functions of the following attribute. (4 Marks)
i. Action
ii. Method
b. Define the term hyperlink (2 Marks)
c. State three uses of HTML tables (3 Marks)
d. Name the character entities used to describe the following terms;(4 Marks)
i. Ampersand
ii. Registred
iii. Non/breaking space
iv. Copyright symbol
e. State and explain any three services offered by the internet (3 Marks)
f. Write an HTML code that loads an image into the web page. (4 Marks)
QUESTION FIVE
a. Write the HTML code that will interlink two web pages named MKU
students.htm and MKU IT students.htm (6 Marks)
b. Name any two protocols in the world wide web (2 Marks)
c. Describe the HTML attributes ‘name’ and ‘target’ as used within the anchor
tag. (4 Marks)
d. Explain the purpose of the following tags and classify them as either, empty
of closed. (8 Marks)
i. <H2>
ii. <A>
iii. <P>
iv. <B>
Library Copy Page 3