You are on page 1of 4

FINAL

______________

EXAMINATION PAPER:

ACADEMIC SESSION 2009/2010

School Department Level TITLE OF PAPER COURSE CODE Date Duration BAHRAIN GREECE KENYA MALAYSIA MALIWI MYANMAR SAUDI ARABIA SRI LANKA SYRIA TRINIDAD ZAMBIA

Computing and Mathematical Sciences Computer Science Three Web Engineering COMP1309 Thursday 10th June 2 Hours 15:00 15:00 16:00 18:30 14:00 15:30 16:00 18:30 14:00 09:30 15:00 BOTSWANA HONG KONG LONDON MALTA MAURITIUS RWANDA SINGAPORE SOUTH AFRICA TANZANIA UAE 15:00 18:30 13:00 15:00 18:00 14:00 17:30 15:00 16:00 17:00

You MUST answer question 1 which is worth 40 marks. Answer TWO questions from the remaining THREE questions, questions 2 to 4 which are worth 30 marks each. If you answer all THREE questions from questions 2 to 4, marks will ONLY be awarded for your TWO best answers. CALCULATORS AND OTHER ELECTRONIC DEVICES ARE NOT PERMITTED

->View a Free Guide to WebEng Exam Answers


FINAL______________________________________________________________ SECTION A - COMPULSORY 1. (a) Study the XHTML web page source code given below. Line numbers have been added that you may refer to in your answer. If we were to validate this code using the W3C markup validation service, say which of the following the code would validate as and give the reason for your answer. XHTML 1.1 XHTML basic 1.1 XHTML 1.1 plus MathML 2.0 XHTML 1.1 DTD with XML 1.0 / UTF-8 None of the above
01 02 03 04 05 06 07 08 09 10 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > <head> <title>Welcome to the HTML 4.0 guide</title> </head> <body> <p>Please use the back button to see the contents!</p> </body> </html>

[3 marks] (b) Change the web page source code above so that using the W3C markup validation service, it validates as XHTML 1.0 Strict. [3 marks] Study the following web page source code. Line numbers have been added that you may refer to in your answer. Due to the presence of errors, the code will NOT validate as XHTML 1.0 Transitional. Identify four of these errors.
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Circular events - motoracing</title> <SCRIPT LANGUAGE="javascript"> function highlightButton(s) { if ("INPUT"==event.srcElement.tagName) event.srcElement.className=s } </SCRIPT> </head> <body> <p>Here you can see all the latest CMR news </p> <FORM NAME=highlight onMouseover="highlightButton('start')" onMouseout="highlightButton('end')"> <INPUT TYPE="button" VALUE="Hover over me" onClick="location.href='http://www.silverstone.co.uk"> </FORM> </body> </html>

(c)

[4 marks] Web Engineering COMP1309 Page 2 of 4

->View a Free Guide to WebEng Exam Answers


FINAL______________________________________________________________ (d) Using appropriate examples critically discuss the two types of XHTML elements. [10 marks] (e) Critically discuss the advantages of XML over HTML for your website [10 marks] (f) Explain what is meant by Cascading Style Sheets (CSS) and discuss their use in designing web pages. [10 marks] SECTION B Answer any TWO questions 2. You are working on a large project, involving the design and development of a global Shareware distribution network called Share.net. You have been asked to examine the Web accessibility issues concerning this project according to the Web Accessibility Initiative (WAI) guidelines. (a) The Share.net website will be offering an account signup facility so that registered users can have secure access to additional material located in key places on the web site. Give FIVE features of the secure sign-up process that you would test to make sure that this facility is working properly. [5 marks] (b) A conformance evaluation determines if a Web site meets accessibility standards such as the Web Content Accessibility Guidelines (WCAG). (i) Give three conformance evaluation methods and suggest the knowledge and skills needed by someone if they were to be able to carry out a conformance evaluation. [5 marks] Discuss what should be included in the conformance evaluation stage of the Share.net in accordance with WAI guidelines. [10 marks]

(ii)

(c)

Explain how dynamically generated Web pages may be created and discuss the issue of ensuring full conformance with WAI guidelines. [10 marks]

Web Engineering COMP1309 Page 3 of 4

->View a Free Guide to WebEng Exam Answers


FINAL______________________________________________________________ 3. (a) While content is still the key to an effective and successful Web site, the presentation of that content is a major factor in holding the attention of visitors. Identify and critically discuss ten common web design errors that are often found in commercial web sites. [20 marks] Discuss the use of XSLT documents in developing web pages
[10 marks]

(b)

4. Compare and contrast the use of Open Source Software with typical commercial proprietary products for web projects undertaken by large organisations. Your answer should cover the following: Reliability Stability Auditability Cost Flexibility and freedom Support and accountability [30 marks]

Web Engineering COMP1309 Page 4 of 4