SAMPLE TEST PAPER
Section A – Fill in the Blanks (10 marks)
1. The <li> tag is used to create a ________ in a list.
2. The attribute used to change number style in an ordered list is ________.
3. The <img> tag uses the ________ attribute to show text if the image fails to load.
4. A hyperlink is created using the ________ tag.
5. The CSS property used to change bullet style is ________.
6. A table cell is created using the ________ tag.
7. AI that understands human language is called ________.
8. Fake emails used to steal information are called ________.
9. The CSS property used to round image corners is ________.
10. The <dl> tag is used to create a ________ list.
Section B –Find the error and correct it:
• <ol type=”A”> b) <img src=”[Link]” width=”200px” alt=”Flower”/>
• <table border=”2”>
• <dt>Computer Vision<dt>
• <a href=”[Link]”>Google</a>
Section C – Write the purpose of the following tags:
1. <ul>
2. <dl>
3. <dd>
4. <th>
5. <a>
6. <img>
7. list-style-type
8. border-radius
9. padding
10. font-size
Section D – Write HTML/CSS Code (15 marks)
1. Write HTML code to display an unordered list of 4 AI applications.
2. Write HTML code to insert an image with border: 3px solid red and width: 250px.
3. Write HTML code to create a table with 3 rows and 3 columns showing AI domains.
Section E – Short Answers (10 marks)
1. What is an ordered list?
2. What is the purpose of the alt attribute?
3. What is a digital footprint?
4. Define Machine Learning.
5. What is cyberbullying?
Section F – Code Output (10 marks)
Write the output of the following:
1.
html
<ul style="list-style-type:square;">
<li>Face Unlock</li>
<li>Google Lens</li>
</ul>
2.
html
<ol type="i">
<li>Data</li>
<li>Images</li>
<li>Text</li>
</ol>
3.
html
<img src="[Link]" alt="Rose" />
4.
html
<table border="1">
<tr><th>A</th><th>B</th></tr>
<tr><td>1</td><td>2</td></tr>
</table>