2017 - KIT502 Web Development
2017 - KIT502 Web Development
2017 - KIT502 Web Development
________________
Pages : 5
____ Questions : 20
UNIVERSITY OF TASMANIA
Semester 1, 2017
Examiner
Soonja Yeom
Instructions:
There are a total of 120 marks available. Answer ALL questions.
All answers must be written in the supplied exam booklet, do NOT write your
answers on the exam paper.
-2- KIT502 Web Development
SECTION A
Attempt ALL SIXTEEN (16) questions from Section A. Each question is worth FIVE (5)
marks. This section is worth 80 marks and 70% of the examination.
Question 1
Compare absolute referencing and relative referencing with an example.
[5 marks]
Question 2
Which security goal can we achieve by using MD5 or SHA? Briefly explain the goal.
[5 marks]
Question 3
Briefly explain symmetric-key encryption and public-key encryption. What are the
different goals that each encryption is aiming at?
[5 marks]
Question 4
What is the DOM? Why is this important for us when working in the web
development environment?
[5 marks]
Question 5
What is the difference between projection and selection operation in SQL? Describe
the difference briefly with examples.
[5 marks]
Question 6
HTTP operates with only ASCII text only. Is this correct or not? Explain your answer.
[5 marks]
Question 7
When creating web sites, separating presentation information from other content is
recommended. Explain three different ways of implementing presentation
information and their pros and cons.
[5 marks]
Question 8
What is the main function of the location header call? Explain it with an example.
[5 marks]
Question 9
The following questions are about the AJAX and JavaScript.
Continued…
KIT502 Web Development -3-
Question 10
Explain how the SSL security protocol works.
[5 marks]
Question11
Briefly describe the POST method used by the web browsers to send the user entered
data in HTML form to the server. Compare with the GET method.
[5 marks]
Question 12
PHP provides a large number of functions that can be used to manipulate a
MySQL database. Give the names of TWO (2) of these functions and explain briefly
what each of them does.
[5 marks]
Question 13
Write pseudo code for password validation in a form. The password requires 6-8
characters, must contain at least one numeric value, and at least one letter.
[5 marks]
Question 14
List four super global variables and provide a brief explanation for each.
[5 marks]
Question 15
Explain two advantages and two disadvantages of client-side scripting.
[5 marks]
Question 16
What does it mean when a website is accessible? Why are file names of images
important in terms of accessibility? Identify two other points you might consider for
building an accessible web site and suggest how to implement them.
[5 marks]
Continued…
-4- KIT502 Web Development
SECTION B
Attempt ALL FOUR (4) questions from Section C. Each worth TEN (10) marks each. This
section is worth 40 marks and 30% of the examination.
Question 17
There are different “dynamic” concepts in the web environment and its applications.
Question 18
Consider the following HTML form.
a. Write the HTML code for the above form. The content of this form should
be transferred to display.php by the GET method.
b. What will the URL be when the submission is made? Write the relative
path based on your form tag codes. Assume that the entered password in
the submission is “test123”.
c. Describe how you would authenticate the data entered by the user/
[10 marks]
Question 19
The following questions are about “State Management”.
[10 marks]
Continued…
KIT502 Web Development -5-
Question 20
A HTML page is created as below.
Write CSS rules to display it to the output below. Background colour for heading
uses one colour (#B0C4DE) and another colour (#000080) is used for the heading
itself and the solid underline. The main paragraph uses the “Arial” font. (See below)
[10 marks]
Continued…