0% found this document useful (0 votes)
34 views2 pages

Develop Computer Prog L5

Develop computer program question paper

Uploaded by

wycliffe.swa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views2 pages

Develop Computer Prog L5

Develop computer program question paper

Uploaded by

wycliffe.swa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

NYAKACH TECHNICAL AND VOCATIONAL COLLEGE

ICT DEPARTMENT
DEVELOP COMPUTER PROGRAM
ICT LEVEL 5
CONTINOUS ASSESSMENT
Time: 2 hours
Section A: (30 Marks)
1. Define the following terms (2 marks each):
a) HTML
b) Element
c) Attribute
d) Tag
e) Nested element
2. Write the HTML code to create a paragraph that contains the following sentence (4 marks):
_"HTML is the standard markup language for creating web pages."_
- The text "HTML" should be bold, and the text "web pages" should be italicized.
3. Explain the difference between an ordered list and an unordered list in HTML. Provide an
example for each. (6 marks)
4. Write the HTML code to create a table with 3 rows and 3 columns. The first row should
contain headers: "Name", "Age", and "City". The next two rows should display data for two
people of your choice. (6 marks)
5. Differentiate between internal and external CSS, and explain why it is often better to use
external CSS for formatting in HTML. (4 marks)
Section B: (40 Marks)
6. Write a short essay explaining the basic structure of an HTML document. Discuss the roles
of the `<head>` and `<body>` sections, and provide an example of a complete HTML
document structure. (10 marks)
7. Explain the importance of form elements in HTML for data collection. Write a sample
HTML code that creates a form with the following fields: Name (text input), Email (email
input), Age (number input), Gender (radio buttons), and a Submit button. (10 marks)
8. Frames have been largely deprecated in modern web design, but they were once used to
divide a webpage into multiple sections. Discuss the use of frames in HTML and provide an
example code for creating a webpage with two frames: one for navigation and one for
content. (8 marks)

Page 1 of 2
9. HTML tables are often used to display structured data on web pages. In your own words,
explain how you can merge cells in a table using the attributes `rowspan` and `colspan`.
Provide an HTML code example to merge two cells horizontally and two cells vertically in a
3x3 table. (6 marks)
10. Lists are an essential part of organizing content in HTML. Discuss the uses of ordered,
unordered, and definition lists. Write an example code that creates all three types of lists on a
webpage. (6 marks)

Page 2 of 2

You might also like