BIT4303  ADVANCED WEB DESIGN  DEVELOPMENT.

UNIVERSITY EXAMINATIONS: 2018/2019
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY
BIT 4303: ADVANCED WEB DESIGN & DEVELOPMENT
FULL TIME/PART TIME/DISTANCE LEARNING
DATE: AUGUST, 2019 TIME: 2 HOURS
INSTRUCTIONS: Answer Question One & ANY OTHER TWO questions.

QUESTION ONE (COMPULSORY 30 MARKS)
(a) Style sheet were designed to solve a problem. Explain 4 Marks
(b) Describe the different ways of adding Styles to a html page 9 Marks
(c) Describe the use of the statement Document.Write in Java script? 3 Marks
(c) Describe the various parts of a style rule using an example to illustrate? 4 Marks
d) Describe the three kinds of arrays in php, use code examples to explain their use 5 Marks
e) Differentiate between the class and the ID as used with style sheets. 5 Marks
(f) Explain how you get information from a form that is submitted using the “get” method?
3 Marks
QUESTION TWO (20 MARKS)
a) Write is the correct syntax for creating a function that can be used to calculate the area of a circle
in PHP. 6 Marks
b) Write a php program that can be used to call the function above 8 Marks
c) Describe the use of throw try and catch in java script using an example to illustrate
6 Marks
QUESTION THREE (20 MARKS)
a) Write is the correct CSS syntax for creating a class that makes all <p> elements bold and italics?
6 Marks
b) Differentiate between server side and client side scripting using examples to illustrate
8 Marks
c) Write the correct syntax for referring to an external script called “xxx.js”?
6 Marks
QUESTION FOUR (20 MARKS)
a) How do you write “Hello World” in an alert box? 5 Marks
b) Describe how you call a function named “myFunction”? 3 Marks
c) Describe the three pop up boxes in Java script 6 Marks
d) Define Event Handlers as used in JavaScript 2 Marks
c) List the functions of any four form input types. 4 Marks
QUESTION FIVE (20 MARKS)
a) Using relevant examples describe the use of the for.. each loop in php 6 Marks
(a) Describe the purpose of each of the following statements in the code above
(i) mysql_connect() function
(ii) mysql_select_db()
(iii) mysql_query()
(iv) mysql_result() 8 Marks
c) Which event occurs when the user clicks on an HTML element? 4 Marks
(d) Define a class in CSS 2 Marks

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

Written by