Docsity

Web Technology Exam - Software Development (Honours) - Cork Institute of Technology, Exams of Web Programming and Technologies

Partial preview of the text

Download Web Technology Exam - Software Development (Honours) - Cork Institute of Technology and more Exams Web Programming and Technologies in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science (Honours) in Software Development – Stage 1

(NFQ Level 8)

Summer 2007

Web Technology

(Time: 3 hours)

Answer any 4 Questions. Examiners: Dr. M. O’Cinneide Mr. M. Donnelly Mr. R. Miller

Q.1.

a) In the case of each of the following tags, explain their function and give sample HTML code demonstrating their usage:

  • (8 marks)

b) Write the HTML for the following page that uses lists:

(9 marks)

c) Write the HTML that renders the following table. All cell contents should be centered both vertically and horizontally.

b) Write a detailed description of HTTP. Include in your answer an example HTTP request and reply. (6 marks)

c) Demonstrate (using the form above as an example) how JavaScript can be used to validate form input. (8 marks)

Q.4.

a) Using examples, describe the four methods that you can use to add styles to a web page.

(8 marks)

b) Write the HTML and the style sheet that implements a menu system similar to the one below. When the mouse moves over a link the background will be highlighted. Note that the links are not underlined. The colour of the background is blue.

(7 marks)

c) Write the HTML and CSS rules for the following page:

This is not an image.

Q.5.

a) Creating rollovers is one of the most popular uses of JavaScript. Write the HTML and JavaScript code necessary for a simple rollover. (5 marks)

b) Write the code for the following web page that allows you play a simple memory game. The game works as follows:

  • After clicking the Start Game button, the background colour of the box changes five times. There is an interval of one second between each color change. The colours displayed should be chosen at random from a fixed set of colours.
  • After the sequence of colours has been displayed the user is expected to type the sequence of colours into the text-boxes that are provided: