BIT4303  ADVANCED WEB DESIGN AND DEVELOPMENT. KCA Past Paper

UNIVERSITY EXAMINATIONS: 2016/2017
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT4303 ADVANCED WEB DESIGN AND DEVELOPMENT
FULL TIME/PART TIME/DISTANCE LEARNING
SPECIAL/SUPPLEMENTARY EXAMINATION
DATE: JULY, 2016 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.

QUESTION ONE – Compulsory (Total Marks: 30)
a) Explain the following tools as used in the development and deployment of websites.
(10 Marks)
i) HTML
ii) Java script
iii) Style sheets
iv) Web servers
v) Php
b) Differentiate between server side scripting and client side scripting (5 Marks)
c) Describe the tools needed for server side scripting (5 Marks)
d) Describe Cascading style sheets as used in wed development. (4 Marks)
e) Styles sheets were added to HTML 4.0 to solve a problem. Using examples to illustrate,
explain the problem solved by use of style sheets.
(6 Marks)
QUESTION TWO – (Total Marks: 20)
a) i) Define a java script function that can be used to capture and display the names and ages of
1000 students on a website. (10 Marks)
ii) Write the html code that can be used to call the function in part (i) above (6 Marks)
b) Describe the use of style sheet in designing attractive websites today. (4 Marks)
QUESTION THREE – (Total Marks: 20)
a) Use an example to show how the for…in statement can be used to loop through an array in
java script. (12 Marks)
b) Describe the use of onchage and onfocus events in java script. Describe situations where
these two events can be used on a webpage (8 Marks)
QUESTION FOUR – (Total Marks: 20)
a) Explain the following terms as used in PHP programming language:
(i) For each (2 Marks)
(ii) A Session? (3 Marks)
b) Describe how we can use php to determine the number of days between two given dates
using PHP? (6 Marks)
c) Describe three basic types of runtime errors in PHP: (9 marks)
QUESTION FIVE – (Total Marks: 20)
a) Explain the following events in Javascript
i. onBlur
ii. onChange
iii. onClick
iv. onFocus
v. onLoad
(10 Marks)
b) i) Define the term Applet (2 Marks)
ii) Explain four Design issues in Web Design. (8 Marks)

(Visited 96 times, 1 visits today)
Share this:

Written by