UNIVERSITY EXAMINATIONS: 2017/2018
EXAMINATION FOR THE DEGREES OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT 4303: ADVANCED WEB DESIGN
FULLTIME/ PART TIME/DISTANCE LEARNING
ORDINARY EXAMINATIONS
DATE: AUGUST, 2018 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.
QUESTION ONE [30 MARKS]
a) Describe the two main types of scripts that are employed during web design and explain the
tools used in each case [6 Marks]
b)
i) Styles were added to HTML 4.0 to solve a problem. Explain this statement [5Marks]
ii) Describe the three methods of adding style rules to HTML using examples to illustrate
[9 Marks]
c) Explain the function of the following servers
(i) File server
(ii) Printer server
(iii) Proxy server
(iv) Application server [10 Marks]
QUESTION TWO [20 MARKS]
a) Write code sample to create a multidimensional array consisting of continents of the world,
the countries inside the continents and counties inside the country using PHP. Display at least
five counties in a country called Kenya in the African continent
10 Marks
b) Write a java script function that allows the user to enter and convert Kenyan shillings into US
Dollars when a button is clicked on a web page. Rate is 1$ dollar 115 ksh.
10 Marks
QUESTION THREE [20 MARKS]
Create a webpage for KCAU that allows 40 students each taking 6 subjects to register. Include
the reg_no , name and faculty. The output should include name, registration number faculty and
units registered for each student. 20 Marks
QUESTION FOUR [20 MARKS]
(a) (i) Explain what you understand by the term Web Page editor 3 Marks
(ii) Discus three advantages of a web page editor 4 Marks
b) (i) Style sheet were designed to solve a problem. Explain 4 Marks
(ii) Describe the different ways of adding Styles to a html page 9 Marks
QUESTION FIVE [20 MARKS]
a) (i) Describe the use of the statement Document. Write in Java script? 3 Marks
ii) Describe the three kinds of arrays in php, use code examples to explain their use
5 Marks
b) Differentiate between server side and client side scripting using examples to illustrate
6 Marks
d) Describe the use of throw try and catch in java script using an example to illustrate
6 Marks