BIT 4303 ADVANCED WEB DESIGN  DEVELOPMENT.

UNIVERSITY EXAMINATIONS 2017/2018
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE
IN INFORMATION TECHNOLOGY
BIT 4303: ADVANCED WEB DESIGN & DEVELOPMENT
FULL TIME/PART TIME/DISTANCE LEARNING
DATE: DECEMBER, 2017 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 4Marks
(b) Describe the different ways of adding Styles to a html page 9 Marks
(c) Describe the use 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. 5Marks
(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 valid examples to
illustrate your answer. 8 Marks
c) Describe the use of throw try and catch in java script using an example to illustrate
your answer. 6 Marks
QUESTION THREE (20 MARKS)
a) Describe the correct way to create a function in PHP? [6 Marks]
b) Where is the correct application place to insert a JavaScript for web?
[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? [5Marks]
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 [6Marks]
b) 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() [8Marks]
c) Which event occurs when the user clicks on an HTML element? [4 Marks]
d) Define a class in CSS [2 Marks]

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

Written by