BIT 4303  BAC 3105  BISF 3104  ADVANCED WEB DESIGN  DEVELOPMENT.

UNIVERSITY EXAMINATIONS: 2020/2021
EXAMINATION FOR THE DEGREE OF BACHELOR OF SCIENCE IN
INFORMATION TECHNOLOGY/APPLIED COMPUTING/ SECURITY &
FORENSICS
BIT 4303 BAC 3105/ BISF 3104: ADVANCED WEB DESIGN &
DEVELOPMENT
FULL TIME/PART TIME/ DISTANCE LEARNING
ORDINARY EXAMINATION
DATE: DECEMBER, 2021 TIME: 2 HOURS
INSTRUCTIONS: Question ONE IS COMPULSORY, Choose TWO OTHER Questions

QUESTION ONE (20 marks) Compulsory
a). Describe the following web based terminologies [5 marks]
i). Layered Architecture
ii). Smart Client
iii). Tiered Architecture
iv). Thick Clients v. Server
b). When building a web application, name any appropriate tool that will assist a web author
do the following [5 marks]
i). Write code
ii). Execute client-Side Logic
iii). Fetch Processed Server-Side logic such as CGI
iv). Execute Server-Side Logic such as php/asp e.t.c
v). Inspect HTTP protocol Message
c). Sketch a Three- tier and Four layer Client server architecture explaining the components
and how they interact with each other [10 Marks]
QUESTION TW0 (15 marks)
a). Consider the HTML form below, Write PHP script to capture and insert the input into a MySQL
Table [10 Marks]

b). Include client side logic(JavaScript) that will sanitize what gets sent to the server for
name and age [5 Marks]
QESTION THREE (15 marks)
a). With the use of an appropriate illustration (diagram preferred) describe the following
[4 marks]
i). Single Layered Architecture
ii). Smart Client
The figure bellow shows the screen output of a guessing game written running on a browser such that the
user makes a guess and it is listed on a web page and a message of too low or you got it right counting the
attempts is given. Given that the code is executed on a browser window,
i). Suggest the technology that can be used to achieve this. [1 mark]
ii). Write the code that will implement this on a browser [10 marks]


QUESTION FOUR (15 marks)
a). Create a Java Script function called StartTime which doesn’t accept any parameters. This function
should have four variables today, H, M, S.
a). This function should make use of the Date Object to create a new instance of and should use the
methods getHours, getMinutes and getSeconds to fetch these strings to the variables created.
[5 marks]
b). Add the Appropriate lines of code (HTML and JavaScript) that will allow our function to write to
HTML page when it loads. The Time should be in the format H:M:S. We would Like this Time to
appear in the Title Bar (*Hint Use getElementByID ) [5 marks]
c). Write a PHP connection string that makes use of a link variable to connect to a database ‘stock’
with the username ‘Admin’ and password ‘scribbler234’ [5 marks]

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