You are on page 1of 4

Republic of the Philippines

DEPARTMENT OF EDUCATION
Region IV-A CALABARZON
PROVINCE OF BATANGAS
St. Blaise Community Academy, Inc.
San Luis, Batangas/ chs_sbca53@yahoo.com
 043 – 783-369309997646638 / 09178076741

FINAL EXAMINATION IN COMPUTER PROGRAMMING (.NET TECHNOLOGY) 2


11 TVL ICT
2nd SEMESTER
Name: _____________________________________ Date: _________________________________

TEST I. TRUE or FALSE


Direction: Distinguish whether the statement is true or false. Write TRUE if the statement is CORRECT and FALSE if it is
INCORRECT.

_________1. a:hover is a normal, unvisited link


_________2. a:link is a link when the user mouses over it
_________3. a:visited link is a link the user has visited
_________4. a:active is a link the moment it is clicked
_________5. The background-color property can be used to specify a background color for links
_________6. The text-decoration property is mostly used to remove underlines from links
_________7. When setting the style for several link states, a:link MUST come after a:hover and a:visited
_________8. There are three links states in CSS.
_________9. When setting the style for several link states, a:active MUST come after a:hover
_________10. With CSS, links can be styled in different ways.
_________11. In normal flow each block element sits on top of the next block element. Inline elements sits to the left of the next
inline element.
_________12. p {float:left;} takes the element out of normal flow and places it on the far left.
_________13. I can only use float once in my CSS document.
_________14. To position an element I can use
p{

position:relative;

top:10px

left: 50px;

}
_________15. CSS is formatted in the following way

<p lang="en-us"> Paragraph </a>

TEST II. Multiple Choice.


Direction: Identify the word or group of words being referred in the sentence. Choose the letter of the correct answer.

_________16. Which of the following is the proper way to code an inline style attribute?
a. color="blue"
b. color=blue
c. color blue
d. color=(blue)
_________17. What symbols go around the properties for each CSS selector?
a. { }
b. < >
c. [ ]
d. ( )
_________18. Which tag defines the visible content of a web document?
a. <body>
b. <head>
c. <meta>
d. <title>
_________19. If you want to have more than one property for a CSS selector, what character separates them?
a. semi-colon (;)
b. comma (,)
1|FINAL EXAMINATION IN CP2
c. colon (:)
d. dash (-)
_________20. What is the purpose of HTML?
a. To make a webpage
b. To make a formatted document
c. To edit photos
d. To make a creative slide
_________21. What does a class do?
a. adds style to specific elements
b. adds a lot more work
c. adds style to a whole page
d. adds color to words
_________22. Inside a HTML document, where should you put the link tag to connect your HTML & CSS file?
a. In the <head> section
b. In the <body> section
c. At the very end of the document
d. At the very beginning of the document
_________23. Which selector is used to style the whole web page?
a. Body
b. Head
c. P
d. a
_________24. HTML attributes always appear
a. in the opening tag
b. between the tags
c. in the closing tag
d. after the closing tag
_________25. If you want to design an element directly by inputting the style in the tag, which is the CSS way that you have to use?
a. Inline CSS
b. External CSS
c. Internal CSS
d. CSS
_________26. Style will come inside the <head> tag for.
a. Internal CSS
b. Inline CSS
c. External CSS
d. CSS
_________27. In CSS, what is the symbol used to group CSS selectors together?
a. Comma (,)
b. Colon (:)
c. Dash (-)
d. Semicolon (;)
_________28. If you want to have more than one property-value pair for a CSS selector, what character separates them?
a. Semicolon (;)
b. Comma (,)
c. Colon (:)
d. Dash (-)
_________29. An element that is placed inside another element is called the _________ element.
a. Child
b. Ancestor
c. Parent
d. Siblings
_________30. HTML division content is used to achieve the following BUT.
a. Make a web page popular
b. Organize content easily
c. Simplify styling process of elements
d. Make the content more conducive
_________31. How do you select elements with the class name "green"?
a. .green
b. ,green
c. :green
d. {green}
_________32. In CSS, what is the symbol used to separate a property and a value?
a. : [Colon]
b. ; [Semi-Colon]
2|FINAL EXAMINATION IN CP2
c. . [Period]
d. , [Comma]
_________33. In CSS, what is the symbol used to separate a property and a value?
a. Static
b. Top
c. Left
d. Right
_________34. In CSS, when an element value is set to be ________ for the position property, it’s position is still maintained with the
normal document flow.
a. Relative
b. Absolute
c. Complete
d. Irrelevant
_________35. In CSS, when an element value is set to be ________ for the position property, it’s position is removed from the normal
flow.
a. Absolute
b. Relative
c. Complete
d. Irrelevant

TEST III. ANALYSIS


Direction: Label the following items.

_________36. – 42. CSS Syntax

36. 37. 38.

39. 40. 41. 42.

_________43. – 45. HTML Element (1)

43. 44. 45.

_________46. – 50. HTML Element (2)

50.

3|FINAL EXAMINATION IN CP2


47. 49.

48.
46.

Your exam ends here. ❤


“BE STRONG AND COURAGEOUS SAYS THE LORD, DO NOT BE TERRIFIED, DO NOT BE DISCOURAGED FOR THE
LORD YOUR GOD WILL BE WITH YOU WHEREVER YOU GO”
- Joshua 1:9

PREPARED BY:

SIR JOSHUA M. BONSOL


SUBJECT TEACHER

4|FINAL EXAMINATION IN CP2

You might also like