💻
🤖
🖥️
🗼
✨ Class 6 Computer Science Examination ✨
COMPUTISM LAB CLASS 6 HALF YEARLY EXAMINATION
Basic HTML Assessment (Head, Body, Title, Br, B, U, I, Sub, Sup)
ðŸ§
🤖
Class: 6
Max Marks: 100
Time Allowed: 2 Hours
Section A: Fill in the Blanks10 Marks
- The tag contains the title of an HTML document.
- To break a line and move to the next line, the tag is used.
- The tag is used to make text appear in bold letters.
- The tag is used to display an underline beneath text.
- The tag is used to display text in italics.
- The tag creates subscript text, such as the number 2 in H2O.
- The tag creates superscript text, such as the power 2 in X2.
- All the visible content of a webpage must be placed inside the tag.
- The tag is placed inside the head section to define document metadata/title.
- HTML stands for HyperText Language.
Section B: Multiple Choice Questions (MCQs)20 Marks
- Which tag is used to insert a single line break?
- a. <lb>
- b. <br>
- c. <break>
- d. <line>
- Which tag makes text bold?
- a. <bold>
- b. <b>
- c. <bl>
- d. <strong>
- Which tag underlines text?
- a. <line>
- b. <under>
- c. <u>
- d. <ul>
- Which tag is used for italic text?
- a. <italic>
- b. <it>
- c. <i>
- d. <slant>
- Where should the <title> tag be placed?
- a. Inside <body>
- b. Inside <head>
- c. Outside html
- d. Inside <br>
- Which tag displays text below the baseline?
- a. <sub>
- b. <sup>
- c. <down>
- d. <low>
- Which tag displays text above the baseline?
- a. <sub>
- b. <sup>
- c. <top>
- d. <high>
- Where do you place text that appears on the browser window?
- a. <head>
- b. <title>
- c. <body>
- d. <br>
- Which tag is an empty tag (does not need a closing tag)?
- a. <b>
- b. <u>
- c. <br>
- d. <i>
- What does the <title> element define?
- a. The main heading on the page
- b. The title shown on the browser tab
- c. The image caption
- d. The background color
Section C: Assertion-Based MCQs10 Marks
-
Assertion (A): The <br> tag is used to create a line break.
Reason (R): It is an empty element that does not require a closing tag.
a) Both A and R are true, and R is the correct explanation of A.
b) Both A and R are true, but R is not the correct explanation of A.
c) A is true, but R is false.
d) A is false, but R is true. -
Assertion (A): The <b> tag makes text bold.
Reason (R): The letter 'b' stands for bold formatting.
a) Both A and R are true, and R is the correct explanation of A.
b) Both A and R are true, but R is not the correct explanation of A.
c) A is true, but R is false.
d) A is false, but R is true. -
Assertion (A): The <title> tag should be placed inside the <body> section.
Reason (R): The body section contains all visible text on the browser webpage.
a) Both A and R are true.
b) A is true, but R is false.
c) A is false, but R is true.
d) Both A and R are false. -
Assertion (A): Subscript text is positioned slightly below the normal baseline.
Reason (R): The <sub> tag is used to achieve this effect.
a) Both A and R are true, and R is the correct explanation of A.
b) Both A and R are true, but unrelated.
c) A is true, R is false.
d) A is false, R is true. -
Assertion (A): The <i> tag displays text in italic style.
Reason (R): The letter 'i' stands for italic.
a) Both A and R are true, and R is the correct explanation of A.
b) Both A and R are true, but unrelated.
c) A is true, R is false.
d) A is false, R is true. -
Assertion (A): Everything inside the <head> tag is displayed directly in the browser window body.
Reason (R): The head tag holds metadata and title information, not visible body contents.
a) Both A and R are true.
b) A is true, R is false.
c) A is false, but R is true.
d) Both are false. -
Assertion (A): Superscript text appears slightly above the normal text line.
Reason (R): The <sup> tag is used for superscript formatting.
a) Both A and R are true, and R is the correct explanation of A.
b) Both A and R are true, but unrelated.
c) A is true, R is false.
d) A is false, R is true. -
Assertion (A): The <u> tag underlines text.
Reason (R): The letter 'u' stands for underline.
a) Both A and R are true, and R is the correct explanation of A.
b) Both A and R are true, but unrelated.
c) A is true, R is false.
d) A is false, R is true. -
Assertion (A): HTML documents require a closing tag for every element like <br>.
Reason (R): The <br> tag is an empty tag with no separate closing tag required.
a) Both A and R are true.
b) A is true, R is false.
c) A is false, but R is true.
d) Both are false. -
Assertion (A): The <title> tag affects what appears on the browser tab.
Reason (R): Browsers read the title tag inside the head section to name the open window or tab.
a) Both A and R are true, and R is the correct explanation of A.
b) Both A and R are true, but unrelated.
c) A is true, R is false.
d) A is false, but R is true.
Section D: True or False10 Marks
- The <b> tag is used to make text bold. (True / False)
- The <br> tag requires a matching closing tag </br>. (True / False)
- The <title> tag must be placed inside the <head> tag. (True / False)
- The <sub> tag makes text appear above the normal line. (True / False)
- The <i> tag displays text in italic format. (True / False)
- The <body> tag contains all visible content of the webpage. (True / False)
- The <u> tag is used to underline text. (True / False)
- The <sup> tag is used for superscript text like mathematical powers. (True / False)
- The <head> tag is placed after the <body> tag. (True / False)
- HTML tags are written inside angle brackets like <tag>. (True / False)
Section E: HTML Programming Questions (Final Question)20 Marks
-
Program 1: Write an HTML code using
<head>,<title>,<body>,<b>,<u>,<br>, and<sub>to display your name in bold, your school name underlined, and the chemical formula for water ($H_2O$) with a line break between each.
-
Program 2: Write an HTML code using
<head>,<title>,<body>,<i>,<sup>,<br>, and<b>to display a title "Maths Formula" in italics, followed by a line break, and a mathematical expression like $X^2 + Y^2$ with superscript tags.
⭐ Best of Luck for Your Examination! Keep Learning! 🚀
CREATED BY BIJAN KRISHNA PAUL
No comments:
Post a Comment