Cam 3
Cam 3
WRITTEN ASSESSMENT
Time: 3 hours
INSTRUCTIONS TO CANDIDATES
Page 1 of 4
SECTION A (40 MARKS)
Page 2 of 4
SECTION B (60 MARKS)
13. a) Using a coded example on each, name and explain any five HTML tags used in web
design. (10 marks)
b) Describe any tow JavaScript data types and JavaScript operators as used in web design.
(10 marks)
14. a. Write an HTML code that represents the following: (10 marks)
o BOILED YAMS
o BEEF
o RICE
o GITHERI
o UGALI
o PILAU
b. Outline three attributes of a <marquee> that may be used to set its movement in a
web page. (10 marks)
15. a. State the function of each of the following tags:
(i) <block quote> (1mark)
(ii) <href> (1mark)
b. Explain the function of each of the following terms as used in web authoring tools;
i) Paste special; (2 marks)
ii) Copy. (2 marks)
c. Differentiate between spoofing and phishing as used in the internet. (4 marks)
d. Explain the function of the <hr> tag as used in HTML. (2 marks)
e. With the aid of an example, outline a statement that would be used to declare a string
of characters in JavaScript programming language. (2 marks)
Page 3 of 4
f. Write an ASP program embedded in HTML that would be used to display all the
multiples of 5 in the range 1 and 50. (6 marks)
16. a. Write a JavaScript and html code to display the following: (10 marks)
MY FIRST JAVASCRIPT
b. Write and html and css code to illustrate the following: (10 marks)
A RED HEADING
A black paragraph A
grey background
Page 4 of 4