Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

KABARAK UNIVERSITY

UNIVERSITY EXAMINATIONS
MAIN CAMPUS
FIRST SEMESTER 2023 ACADEMIC YEAR
EXAMINATION FOR THE DEGREE OF BACHELOR OF
INFORMATION TECHNOLOGY

INTE 314/COSF218: ADVANCED INTERNET PROGRAMMING

STREAM: Y2/S3, Y3/3 - REGULAR TIME: 4:00 - 6:00PM


EXAMINATION SESSION: JAN.-APRIL DATE: 12/04/2023

INSTRUCTIONS TO CANDIDATES:
1. Answer Question 1 and any othertwo questions in the answer booklet provided.

2. Do not write on your question papers. All rough work should be done in your
answer booklet.
3. Clearly indicate which question you are answering.

4. Write neatly and legibly.

5. Edit your work for language and grammar errors.

6. Follow all the instructions in the answer booklet

As members of Kabarak University, we purpose at all times and in all places, to set apart in one’s heart, Jesus as
Lord. (1 Peter 3:15)
Kabarak University is ISO 9001:2015 Certified

1
SECTION A: (Compulsory) TOTAL MARKS FOR THIS SECTION IS 30.

1:

a) Distinguish asynchronous and synchronous web page using xmlhtmlrequest


[3
marks]

b) Clearly illustrate and explain where to place different JavaScript codeon an


htmlprogram? [4 marks]

c) Describe the role of sessions in client- server relationship? [4 marks]

d) Alibaba is an online shopping platform briefly justify the methodology of authenticating


user in two aspects? [5marks]

e) Expound the aspect in which XMLHTMLREQUEST areused? [5 marks]

f) Rather thantable attributes which other method can be used to populate database?
[5
marks]

g) Write a html program to generate rainbow outfit ? [4 marks]

SECTION B. TOTAL MARKS FOR THIS SECTION IS 40.


ANSWER ANY TWO QUESTIONS FROM THIS SECTION. EACH QUESTION
IN THIS SECTION CARRIES 20 MARKS.

2:

a) Write the code to design this form and also validation code respectively?[5 marks]

Username

Password
As members of Kabarak University, we submit
purpose at all times and in all places, to set apart in one’s heart, Jesus as
Lord. (1 Peter 3:15)
Kabarak University is ISO 9001:2015 Certified

2
b) explain the validity of get( ) over post( ) in php as server-side language and client -side
[5 marks]

c) Describe the logic behind server-side validation in two scenarios [5 marks]

d) Explain the roles of session in web development [5 marks]

3:

a) Write a php code to carry out connection to the database [5 marks]

b) Illustrate client-server relationships in web development briefly? [5 marks]

c) Write a css program to design html form on question (2a)? [5 marks]

d) Clearly elaborate the use of AJAX compared with JavaScript? [5 marks]

4:

a) Write a simple xml program to display content for a hotel menu [5 marks]

b) Kabarak university student was told to develop a website what are the consideration

to adhere to before development? [5 marks]

c) Using table attributes generate list of commodities ,unit price, location available and
owner ? [3marks]

d) Using suitable program elaborate at least five attributes of html? [5 marks]

e) Explain the roles of cookies and sessions in web development [2marks]

5:

a) Using suitable program elaborate at least five attributes of html? [5 marks]

b) Explain the roles of JavaScript and xml in web development [5marks]

As members of Kabarak University, we purpose at all times and in all places, to set apart in one’s heart, Jesus as
Lord. (1 Peter 3:15)
Kabarak University is ISO 9001:2015 Certified

3
c) Write an external cascading style sheets code for an HTML code? [5 marks]

d) A university student was told to develop a website what are the consideration

to adhere to before development? [5marks]

As members of Kabarak University, we purpose at all times and in all places, to set apart in one’s heart, Jesus as
Lord. (1 Peter 3:15)
Kabarak University is ISO 9001:2015 Certified

You might also like