BSC209 WEB TECHNOLOGY June July Exam 2020

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

JUNE/JULY 2020 EXAMINATION SEMESTER I

PROGRAMME NAME: BACHELOR OF COMPUTER SCIENCE (BCS)

COURSE NAME: BCS209: WEB TECHNOLOGY

TIME ALLOWED: 24 hours


TIME :14:00hrs to 14:00hrs
DATE: 29th June, 2020 to 30th June 2020

INSTRUCTIONS TO CANDIDATE:

1. This paper has three (3) sections (sections A, B and C) with a total of SIX questions.

2. Each section has TWO questions, and you are required to attempt ONE question from
EACH section.

3. Number each answer clearly in the left margin;

4. Start each answer on a new page;

5. Total marks: 60

TYPE IN YOUR RESPONSES ON AN OFFICIAL ANSWER SHEET AND SUBMIT


BY UPLOADING ON MOODLE BEFORE THE STATED TIME ELAPSES.
NO SCANNED ANSWER SHEETS WILL BE ACCEPTED.
PLEASE TYPE IN YOUR RESPONSES ON THE ANSWER PROVIDED

0
SECTION A - ATTEMPT ONE QUESTIONS (TOTAL: 20 marks)

QUESTION 1

Using Zend MVC framework, write code that will output the following index page, use an
appropriate helper method to generate an unordered list of validation messages to display all the
error messages for all the fields on the index page.

[20 marks]

1
QUESTION 2

Using Joomla PHP web application framework, design a website to simulate the NIPA website
(www.nipa.ac.zm) index page only using any template and modules/plugins of your choice.

[20 marks]

2
SECTION B - ATTEMPT ONE QUESTIONS (TOTAL: 20 marks)

QUESTION 3

NIPA library is setting up a new website. It will have five main sections, with multiple sub-sections
and pages. Different librarians will write content for different sections, and new content and sub-
sections will be added over time. A graphic designer will be hired to produce a design for the site.
The librarian proposes to have people write each page in HTML using notepad (to save money on
software licensing). Is it a good idea to build such a site in static HTML? Why or why not? What
other technologies could be used? Is the librarian right to be worried about software licensing
costs? Will any special hosting support be required? Discuss.
[20 marks]

QUESTION 4

You are employed as a web administrator at ZESCO under the Information and Communication
Technology department. The Cooperation is migrating from traditional applications (i.e. Desktop
applications) to online-web based applications. Discuss in detail, your recommendations to ICT
Management on how to secure the web servers and online-applications, detailing authentic
potential threats.
[20 marks]

3
SECTION C - ATTEMPT ONE QUESTIONS (TOTAL: 20 marks)

QUESTION 5

Refer to the output below and design a dynamic web page required for an online Visa application
web site. Use java script for form validation and populate the database with at least 5 records.

OUTPUT:

[20 marks]

4
QUESTION 6

Write a PHP/HTML script and design MySQL database to achieve the following;
a) Create a user database with two fields (i.e. studid and pwd) and populate it with four
records.
b) Create HTML form to accept StudentIDs and Passwords.
c) Create a Cookie and add these four records (i.e. Student IDs and passwords) to this Cookie.
d) Read the student IDs and passwords entered in the login page and authenticate with the
values (i.e. Student IDs, Password) available in the cookies. The Student should be
welcomed by Student ID if both Student ID and Password match else the script should
reject the user with an error message.

[20 marks]

…………………………………………………………………………………………………
End of the Examination

You might also like