BIT 4303 ADVANCED WEB DESIGN AND DEVELOPMENT KCA Past Paper

UNIVERSITY EXAMINATIONS: 2012/2013
EXAMINATION FOR THE BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT 4303 ADVANCED WEB DESIGN AND DEVELOPMENT
DATE: AUGUST, 2013 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and Any Other TWO Questions

QUESTION ONE (COMPULSORY)
a ) (i) List and describe how any three java script pop up boxes can be used on the KCA
university website (9 Marks)
(ii) Use an example to show how you can define a java script function in the head
section of a HTML document and then use it in the main body segment.
(7 marks)
b) i) Create a PHP function that can be used to capture and display the names and ages of
1000 students on a website. (8 Marks)
ii) Write the html code that can be used to call the function in part (i) above
(6Marks)
QUESTION TWO (20 MARKS)
a) Use examples to show three ways which can be used to add style sheets to html pages
[12 Marks]
b) Describe the use of unload and onload events in java script. Describe situations where
these two events can be used on a webpage [8 Marks]
QUESTION THREE (20 MARKS)
a) The Internet has the potential to provide many benefits to companies in terms of
communication. Describe FOUR processes that a business may carry out using the
Internet explaining the application involved and the benefit to the company. Outline
any drawbacks involved in each process. (8 Marks)
b) i) Describe one situation where one may need to use the POST and the GET
method. (6 Marks)
i) User input should always be validated on the browser. Discuss (6Marks)
QUESTION FOUR (20 MARKS)
b) Explain the following terms as used in PHP programming language
(i) PHP [2 Marks]
(ii) A Session? [3 Marks]
c) Describe how we can use php to determine the number of days between two given
dates using PHP? [6 Marks]
(d) Describe three basic types of runtime errors in PHP: [9 Marks]
QUESTION FIVE (20 MARKS)
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 125 times, 1 visits today)
Share this:

Written by