0% found this document useful (0 votes)
10 views2 pages

Advanced Web Design Exam Questions

The document is an examination paper for the Bachelor of Science in Information Technology, specifically for the course BIT 4303 Advanced Web Design and Development. It includes various questions on JavaScript, PHP, and web design concepts, requiring students to demonstrate their knowledge through coding examples and explanations. The exam consists of five questions, with students required to answer Question One and any two additional questions.

Uploaded by

gordonogolo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views2 pages

Advanced Web Design Exam Questions

The document is an examination paper for the Bachelor of Science in Information Technology, specifically for the course BIT 4303 Advanced Web Design and Development. It includes various questions on JavaScript, PHP, and web design concepts, requiring students to demonstrate their knowledge through coding examples and explanations. The exam consists of five questions, with students required to answer Question One and any two additional questions.

Uploaded by

gordonogolo
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

UNIVERSITY EXAMINATIONS: 2011/2012

THIRD YEAR EXAMINATION FOR THE BACHELOR OF


SCIENCE IN INFORMATION TECHNOLOGY
BIT 4303 ADVANCED WEB DESIGN AND DEVELOPMENT

DATE: AUGUST, 2012 TIME: 2 HOURS

INSTRUCTIONS: Answer Question ONE and any other TWO

QUESTION ONE
a) i. Using examples sample code describe how the three java script pop up

boxes can be used in a website (9 Marks)

ii. Use an example to show how you can define a function in java script
(5 Marks)

b) i. Define a java script function that can be used to capture and display the

names and ages of 1000 students on a website (10 Marks)

ii. Write the html code that can be used to call the function in part (i) above
(6 Marks)
QUESTION TWO
a) Use an example to show how the for...in statement can be used to loop through an
array in java script. (12 Marks)
b) Describe the use of unload and onload events in java script. Describe situations
where these two events can be used on a webpage (8 Marks)

1
QUESTION THREE
a) The Internet has the potential to provide many benefits to companies in terms of
communication. Describe FOUR processes that a business may carry out using
the Internet explaining the application involved and the benefit to the company.
Outline any drawbacks involved in each process. (8 Marks)
b) i. Describe one situation where one may need to write java scripts in an
external file. (3 Marks)
ii. Using an example to illustrate describe how you can write java script as an
external file (9 Marks)
QUESTION FOUR
a) Explain the following terms as used in PHP programming language
i. PHP (2 Marks)
ii. A Session? (3 Marks)
b) Describe how we can use php to determine the number of days between two given
dates using PHP? (6 Marks)
c) Describe three basic types of runtime errors in PHP: (9 Marks)
QUESTION FIVE
a) Explain the following events in Javascript
i. onBlur
ii. onChange
iii. onClick
iv. onFocus
v. onLoad
(10 Marks)
b) i. Define the term Applet (2 Marks)
ii. Explain four Design issues in web design (8 Marks)

You might also like