Inte 314 Advanced Internet Programming

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

KABARAK UNIVERSITY

UNIVERSITY EXAMINATIONS
MAIN CAMPUS

SECOND SEMESTER, 2018/2019 ACADEMIC YEAR

EXAMINATION FOR THE DEGREE OF SCIENCE IN INFORMATION


TECHNOLOGY

INTE: 314 :ADVANCED INTERNET PROGRAMMING

STREAM: Y3S1 TIME:

EXAMINATION SESSION: AUGUST DATE:

INSTRUCTIONS:
a) Answer question one and any other two question
b) Do not write on the question paper
c) Use relevant examples

Question One: [30 MARKS]

a) Write a program with at least FOUR single tags used in XHTML? [4Marks]

b) Clearly illustrate and explain table attributes and give example program? [4Marks]

c) Outline major functions of colspan and row span in html? [4Marks]

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

1
d) Write a program for unordered list and ordered list? [4Marks]

e) Outline the importance of client side scripting in application? [4Marks]

f) Distinguish between <tr> and <td> in table attributes? [4Marks]

g) Write a program to populated data on the table? [4Marks]

h) Explain the use of comments line in html give example? [2Marks]

Question Two: [20Marks]

a) write a JavaScript program for addition of two numbers [5Marks]

b) List and explain at least five operators used in java script [5Marks]

c) Write a JavaScript program for concatenation of two strings [4marks]

d) Mention the merits of client-side scripting and server-scripting? [6marks]

Question Three: [20marks]

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

b) Write a php program for adding two numbers [5Marks]

c) Clearly elaborate the protocols use in web programming? [5Marks]

d) Illustrate the processes involve in web client and web server in detailed? [5marks]

Question Four: [20Marks]

a) Using a program describe the role of a function in JavaScript [5Marks]

b) Write a simple xml program to display content for and hotel menu [5Marks]

c) Elucidate DOM as used in web development clearly? [5Marks]

d) What a search engine? Differentiate a search engine from a browser [5marks]

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

2
Question Five: [20marks]

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

b) Explain the roles of cookies and sessions in web development [5marks]

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

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 family, we purpose at all times and in all places, to set apart in one’s
heart Jesus as Lord. (1 Peter 3:15)

You might also like