BIT4303  ADVANCED WEB DESIGN AND DEVELOPMENT .

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

QUESTION ONE (30 MARKS) COMPULSORY
(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)
d) Describe the three kinds of arrays in php, use code examples to explain their use
(5 Marks)
e) Discuss the use of DBMS to design websites today. (5 Marks)
(f) Explain how you get information from a form that is submitted using the “get” method?
(4 Marks)
QUESTION TWO (20 MARKS)
a) Write 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) Describe the use of throw try and catch in java script using an example to illustrate
(6 Marks)
QUESTION THREE (20 MARKS)
(a) Describe the correct way to create a function in PHP? (6 Marks)
(b) Where is the correct place to insert a JavaScript? (4Marks)
(c) Write the correct syntax for referring to an external script called “xxx.js”?
(5 Marks)
(d) Describe the following Javascrpt events
i. onBlur
ii. OnChange
iii OnLoad
iv OnFocus
v OnClick
(5 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)
e) 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 127 times, 1 visits today)
Share this:

Written by