NATIONAL UNIVERSITY OF SCIENCE AND TECHNOLOGY
FACULTY OF APPLIED SCIENCES
DEPARTMENT OF COMPUTER SCIENCE
WEB DEVELOPMENT SCS2114
Final Examination Paper October 2023
This examination paper consists of five pages
Time Allowed: 3 hours
Total Marks: 100
No Special Requirements
Examiner's Name: Mr. T.Taapatsa
INSTRUCTIONS
1. Answer any four questions
MARK ALLOCATION
QUESTION MARKS
1 25
25
25
25
25
5
100
TOTAL
Page 1
Question 1
a
"When it comes to designing or re-designing a website, it can be easy to get hung up on the
aesthetics. Every field has its own set of guidelines that anyone new to that field can follow
to do something similar to what others are doing, as said web design has its own set of
guidelines that are the basis of designing that any new designer can follow to create some
awesome web designs".
Outline any 5 web design guidelines that can be used to develop websites that have
Cxceptional web design, usability, and user experience. [15]
b. With the aid of a diagram, compare and contrast the OSI Model and the TCP/IP model
[10]
Question 2
page with
a. Write a JavaScript program that displays a popup message box on a HTML web
following
the student's grade for a given mark. The grade of a student is classified using the
Merit" and 80 - 100
criteria: 0 - 49 Fail", 50 59 Pass", 60 - 69 Credit, 70 79
[12]
<Distinction":
[13]
b. Write a JavaScript program to produce the following HTML web page.
9 Loops.htmi
File J/nternet%20and%20Web%20Design/...
Loops using JavaScript
Starting Loop
Current Count: 2
Current Count: 4
Current Count : 8
Current Count: 16
Current Count: 32
Curent Count:64
Curent Count : 128
Current Count : 256
Current Count: 512
Current Count: 1024
Loop stopped!
Page 2
Question 3
[2]
a. Define the term Cascading Style Sheets
advantages and disadvantages ofimplementing webpages using Cascading Syle
ue tne [8]
Sheets
HTML
Sheets can be addedto
Style
C With the aid of code snippets, explain how Cascading [15]
documents
Question 4
values for the Title list
box are
generates the form below. The
a. Write the HTML code that [13]
Prof.
Mr., Ms., Miss, Mrs., Dr., and
S Student Information Form
J:/Internet%20and%20Web%20Design/in.. 1
O File
-Personal Details
Title M.
First name:
Last name:
Female
Gender : O Male O
Email:
Date of Birth: mm/dd/yyyy
Address :
Submit Cancel
Page 3
b. Write the HTML code that
generates the web page below [12]
Precise Hotel and
Conference C
O File |
H:/Precise%20Hotel%20and%20Conference%20Centre.html
Precise Hotel and Conference Centre (PHCC)
Prec1se Hotel and Conference Centre is
strategically located in Bulawayo CBD
Facilities
|It offers the following
facilities:
Beauty Salon and nail bar
Executive Internet & business center services
Secure parking
|Services
It provides for the
following
services:
1.
18-hour service
2. Laundry housekeeping service
3.
Complimentary datly newspaper
PHCC has the largest indoor
capacity for hosting
Conference RoomUShape|Cocktail | Banquetconferencing bangqueting events in Bulawayo.
and
President Room |450 600
Board Room 320
50 40 |20
Vista Lounge 100 |80 |50
Question 5
protocolsin relation to the Internet:
a. Define and outline thefunctions of the following
Internet Protocol(IP)
TransmissionControl Protocol (TCP)
HTTPS
SMTP [10]
IMAP
[6]
JavaScript and PHP
b. Outline the key differences between
classifications:
group
C. The following are age
Infants (1 year)
years)
Children (2 years to 12
years.
Teenagers (13 years to 17
Adults (18 years to 65)
Older adults (65
years and above)*,
group. [9]
accepts a person's age and determines the age
Write a PHPscript that
ENDOF EXAMINATION PAPER