UNIVERSITY EXAMINATIONS 2021/2022 ACADEMIC YEAR
2ND YEAR EXAMINATION FOR THE DEGREE OF BACHELOR OF
SCIENCE IN COMPUTER SCIENCE
COURSE CODE/TITLE:STTB 302: INTERNET TECHNOLOGIES AND
INFORMATION SERVICES
END OF SEMESTER: II DURATION:2 HRS
DAY/TIME: WEDNESDAY 3.00PM-5.00PM DATE:30/3/2022-H1
Instructions to Candidates
1. You should have the following for this examination
Answer Booklet, examination card, and student ID
2. This paper consists of FOUR questions. Attempt question ONE (Compulsory) and any other TWO
questions.
3. Do not write on the question paper.
QUESTION ONE (30 MARKS)
a) Briefly explain the Client-Server Architecture. (5 marks)
b) Describe the functions of the following protocols. (6 marks)
i. TCP/IP
ii. HTTP
iii. FTP
c) State FOUR functions that you can do with JavaScript. (4 marks)
d) State FOUR functions that you can do with Cascading Style Sheets (CSS). (4 marks)
e) Explain the Three-Tier Architecture and highlight THREE benefits. (9 marks)
f) Differentiate between Server-side and Client-side scripting. (2 marks)
QUESTION TWO (20 MARKS)
a) What is the HTML DOM? (2 marks)
b) Write the HTML code for displaying the following table. (6 marks)
PWANI UNIVERSITY
CLASS FEES
BCOM 95000
BA 54900
BED 58000
Page 1 of 3
c) Given the code snippet below, write a JavaScript Inline Style add the styles blue,18 pixels, and bold to the
paragraph. (4 marks)
<body>
<p id="intro">This is a paragraph. </p>
</body>
d) Describe the design process for web applications. (8 marks)
QUESTION THREE (20 MARKS)
a) Illustrate the format of a standard Uniform Resource Identifier. (2 marks)
b) Explain THREE basic types of web documents. (6 marks)
c) Describe FOUR major factors to consider when choosing an Internet Service Provider. (4 marks)
d) Describe FOUR common Website security threats and suggest suitable security measures. (8 marks)
QUESTION FOUR (20 MARKS)
a) Write the HTML code for displaying the following. (3 marks)
b) Write a PHP program that connect to MySQL and close the connection using object-oriented paradigm.
(6 marks)
c) Outline the features of web design tools. (3 marks)
d) Write the suitable HTML tag for displaying the following image in a web page. (2 marks)
200
150
e) Write CSS to display the grid layout below. (6 marks)
Computer scue
Computer System
Page 2 of 3
Page 3 of 3