Sample Test 1
Sample Test 1
AUG - 2024
TOTAL TIME: 2 HOURS TOTAL MARKS: 80
(PART ONE – 40; PART TWO – 40)
PART ONE
(Answer all the questions)
1. Each question below gives a MULTIPLE CHOICE of answers. Choose the most appropriate one.
(1x10)
1.1 Title tag is nested within the __________ tag.
a) Body c) List
b) Head d) Table
1.2 CSS is an acronym for
a) Cascading Style Sheet c) Costume Style Sheet
b) Cascading System Style d) None of the above
1.3 When we write <img src=”img.png”>, what does “img.png” imply?
a) Win World Web c) World Wide Web
b) Wide Web World d) Web Wide World
1.4 What is the abbreviation of WWW?
a) <p> c) <break>
b) <line> d) <br>
1.5 Which of the following tags are related to a table in HTML?
a) <table> <row> <column> c) <table> <tr> <td>
b) <table> <head> <body> d) <table> <header> <footer>
1.6 What is the correct syntax in HTML for creating a link on a webpage?
a) <link src=”file.html”> c) <body link=”file.html”>
b) <link href=”file.html”> d) <a href=”file.html”>
1.7 Which company developed JavaScript?
a) Netscape c) Bell Labs
b) IBM d) Sun Microsystems
1.8 The following html tag is used to display the content as a moving text.
a) <marquee> c) <a href>
b) </img> d) None of the above
1.9 The default value of “position” attribute is ____________.
a) fixed c) static
b) inherit d) relative
1.10 Which tag creates a checkbox for a form in HTML?
a) <checkbox> c) <input checkbox>
b) <input type=”checkbox”> d) <input = checkbox>
2. Each statement below is either TRUE or FALSE. Choose the most appropriate one.
(1x10)
2 Match words and phrases in column X with the closest related meaning word(s)/ phrase(s) in
column Y. Enter your selections in the “tear-off” answer sheet attached to the question paper,
following instructions therein.
(1x10)
X Y
3.1 <SUB></SUB> A Arranges data into rows and columns
3.2 The default position of HTML B Margin
elements
3.3 The spacing between the content C Color
of an element and its border
3.4 Function D To make the text appear slightly below the normal
3.5 table E Most important heading
3.6 In CSS text color can be defined F Reduces the repetition of code within a program
using
3.7 Can hold a group of values G Absolute
3.8 href H Array
3.9 If…else I Padding
3.10 <h1>…</h1> J Text-color
K Is an attribute of the anchor tag
L A conditional statement
M static
4. Each Statement below has a blank space to fit one of the words(s) or phrase(s) in the list below.
Enter your choice in the “tear-off” answer sheet attached to the question paper, following
instructions therein (1x10)
4.1. __________ tag defines the title for the web page.
4.2. _______ used to apply CSS style to the individual element.
4.3. ________ indicates the HTML element you want to style.
4.4 The ______ property is used to set the color of the text in HTML.
4.5 ______ tag defines the documents body.
4.6 HTML was developed by________.
4.7 In HTML, <TR> represents__________.
4.8 ________ is used to apply CSS on a Single document or page.
4.9. To create a numbered list, use__________ tag.
4.10. The ___________ selector is used to select all element inside a web page.
PART TWO
5.
6.
7.
8.
C. Explain how image, audio and video can be added to a web page.
D. What are the different background properties in CSS. (5 + 5)