BIT 4303 ADVANCED WEB DESIGN AND DEVELOPMENT KCA Past Paper

UNIVERSITY EXAMINATIONS: 2014/2015
ORDINARY EXAMINATION FOR THE BACHELOR OF SCIENCE
IN INFORMATION TECHNOLOGY
BIT 4303 ADVANCED WEB DESIGN AND DEVELOPMENT
DATE: APRIL, 2015 TIME: 2 HOURS
INSTRUCTIONS: Answer Question ONE and any other TWO

QUESTION ONE (30 MARKS COMPULSORY)
a) What is CSS? (3 marks)
b) Why were CSS introduced? (3Marks)
i) What is the difference between a web server and an application server?
(6 Marks)
ii) What functionality do typical application servers provide? (4 Marks)
b) Explain when An XML document is said to be valid. (6 Marks)
c) “Styles sheet solved a Big Problem” do you agree with this statement? Explain your
answer. 5 Marks
QUESTION TWO (20 MARKS)
Explain the following terms and describe what they are used for:
1) URL,
2) XML
3) JSP
4) XSL
5) XSLT
6) Servlet
7) Cookie
8) HTTP
9) CSS
10) DTD. (Award 2 marks each max 20 marks)
QUESTION THREE (20 MARKS)
a) Describe three methods of adding style rules to HTML using examples. (9 Marks)
b) Using examples to Illustrate describe two ways that allow you to specify your own
selectors in CSS. (11 Marks)
QUESTION FOUR ( 20 MARKS)
a) Describe three kind of arrays in PHP. (9 Marks)
b) Why should user input be validated on the browser? Are there instances where server
validation should be used? Explain your answer. (6 Marks)
c) Using an example describe the PHP built-in $_REQUEST function. (5 Marks)
QUESTION FIVE (20 MARKS)
a) Differentiate between mysql_fetch_array() and mysql_fetch_row() function.
(4Marks)
b) Explain the work of mysql_connect() function in PHP. (4 Marks)
c) Write a php function that can be used to calculate the sum of two numbers.
(7 Marks)
d) Explain two advantages of using functions in php. (5 Marks)

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

Written by