PAC INSTITUTE OF TECHNOLOGY AND SOCIAL STUDIES
MAY-AUGUST 2025 ASSESSMENT
FORMATIVE ASSESSMENT
Qualification : Computer Science Level 6
Code : ICT/OS/CS/CR/10/6/A
Unit of Competency : Demonstrate Web Design Skills
WRITTEN ASSESSMENT
TIME: 3 HOURS
INSTRUCTIONS TO THE CANDIDATE:
1. Read all the instructions carefully before attempting the questions.
2. This paper consists of two sections, A & B.
3. You are allowed 3 Hours to Answer the questions.
4. Marks for each question are indicated in brackets.
5. Write your responses in the Separate Answer booklet provided.
6. Do not write anything on this question paper.
Page 1 of 3
SECTION A: (40 MARKS)
Answer ALL questions in this section.
1. Define HTML (2 Marks)
2. Define CSS padding. (2 Marks)
3. Describe the main purpose of JavaScript in web development? (2 Marks)
4. Write the HTML structure for a basic webpage, including <html>, <head>,
<title>, and <body> tags
5. Highlight two HTML terminologies (2 Marks)
6. Describe the purpose of src and alt attributes for an image element. (4 Marks)
7. Outline two common attributes used with HTML elements (2 Marks)
8. Describe how to declare a JavaScript variable (2 Marks)
9. State two layout elements used in web page formatting (2 Marks)
10. Describe the steps of saving an HTML file. (4 Marks)
11. State the purpose of the <p> tag in HTML? (2 Marks)
12. Differentiate between an HTML id and a class attribute. (4 Marks)
13. List two JavaScript data types (2 Marks)
14. Highlight two HTML core elements. (2 Marks)
Page 2 of 3
SECTION B: (60 MARKS)
Answer any THREE questions in this section.
15.
a). Explain the fundamental concepts of HTML, including its definition, common (10 Marks)
terminologies, and the steps involved in creating a basic HTML file.
b). Describe the different basic HTML elements used for structuring content (e.g.,
paragraphs, headings, line breaks) and discuss the importance of attributes like src, alt,
Marks)
and href in enhancing these elements.
16.
a) Discuss web page formatting using layout elements such as <header>, <nav>, (10 Marks)
<section>, and <footer>. Explain how class and id attributes are used to apply
styles to these elements.
b) Explain the application of styles in web design. Differentiate between internal and
(10 Marks)
external CSS, providing a conceptual example of how to create an external CSS
file and link it to an HTML document.
17.
a) Explain the basics of JavaScript, including its purpose, fundamental syntax, and (10 Marks)
how it can be used to access and change HTML element attributes using the
Document Object Model (DOM).
b) Describe various JavaScript data types (Strings, Numbers, Booleans) and discuss
(10 Marks)
basic data type operations, including variable declarations, scope, and expressions
(Arithmetic, Boolean, String concatenation). Provide a simple JavaScript code
example for each.
18.
a) Explain the concept of JavaScript functions. Detail the structure of a JavaScript (10 Marks)
function, how to create and invoke it, and how to return values from functions.
Provide a simple JavaScript function for adding two numbers and demonstrate its
invocation.
b) Discuss the concept of JavaScript Libraries, specifically focusing on the JQuery
framework. Explain its installation, referencing, and syntax. Provide examples of
(10 Marks)
how JQuery can handle mouse and keyboard events.
Page 3 of 3