Computer Question Paper Fa 2
Computer Question Paper Fa 2
Question 1
The ............... contain elements which define how the information on a web page is formatted or
displayed.
1. Editors
2. Tags
3. Attributes
4. None of these
Answer
Tags
Reason — The tags contain elements which define how the information on a web page is formatted
or displayed.
Question 2
The ............... tag contains the content of your document which gets displayed on the web page of
your browser window.
1. <HEAD>
2. <BODY>
3. <HTML>
4. None of these
Answer
<BODY>
Reason — The <BODY> tag contains the content of our document which gets displayed on the web
page of our browser window.
Question 3
1. Tag
2. Element
3. Attribute
4. None of these
Answer
Attribute
Reason — The attribute property provides additional information about an HTML element.
Question 4
1. Right
2. Left
3. Justify
4. None of these
Answer
None of these
Reason — The ALIGN attribute of <P> tag can take right, left and justify as value.
Question 5
Which of the following tags helps in retaining the spacing of text or displaying the preformatted
spaces on a webpage in an HTML document?
1. <SPACE>
2. <PRE>
3. <SPC>
4. None of these
Answer
<PRE>
Reason — The <PRE> tag helps in retaining the spacing of text or displaying the preformatted spaces
on a webpage in an HTML document.
Question 6
1. <HR>
2. <LINE>
3. <LINE Direction="horizontal">
4. <TR>
Answer
<HR>
Reason — The <HR> tag adds a line horizontally on your web page.
Question 7
1. <ii>
2. <Italics>
3. <Italic>
4. <I>
Answer
<I>
Question 8
1. <BR>
2. <LB>
3. <Break>
4. <Newline>
Answer
<BR>
Question 9
1. Element
2. Tag
3. Attribute
4. None of these
Answer
Element
Reason — An HTML element consists of an ON tag, the content, and an OFF tag.
Question 10
1. end
2. /
3. \
4. <
Answer
/
Question 11
1. Red
2. Black
3. Green
4. Blue
Answer
Blue
Question 12
1. &
2. <&>
3. &
4. None of these
Answer
&
Reason — The entity which displays an '&' sign on the browser is &.
Question 13
Which entity displays the ">" (greater than) sign on the browser?
1. <& GT>
2. >
3. & GRT
4. None of these
Answer
>
Reason — The > entity displays the ">" (greater than) sign on the browser.
Question 14
2. <H6>
3. <HEAD>
4. None of these
Answer
<H1>
Question 15
Which tag is used to define the basic font size for the whole document?
1. <BASEFONT>
2. <COLOR>
3. <FONT>
4. <SIZE>
Answer
<BASEFONT>
Reason — The <BASEFONT> tag is used to define the basic font size for the whole document.
Question 16
1. Disc
2. Square
3. Circle
4. None of these
Answer
Disc
Reason — The default value of Type attribute for an unordered list is disc.
Question 17
1. <BL>
2. <OL>
3. <UL>
4. None of these
Answer
<OL>
Question 18
2. X+Y<SUP> 2 </SUP>
Answer
Reason — To display (X+Y)2, the correct HTML code is (X+Y) <SUP> 2 </SUP>.
Question 19
1. Document To Definition
2. Dynamic To Definition
Answer
Question 20
1. <?-->
2. <?- --?>
4. </--->
Answer
Question 21
To start a list with alphabet 'E', which line should be used?
1. <OL type="A">
Answer
Reason — To start a list with alphabet 'E', we write the following code:
Question 22
1. Notepad
2. Wordpad
3. Both 1 and 2
4. None of these
Answer
Both 1 and 2
Question 1
The ............... section contains the content to be displayed on the web page.
Answer
The <BODY> section contains the content to be displayed on the web page.
Question 2
The ............... editor provides various tools and graphical interface where the web pages are
designed.
Answer
The WYSIWYG editor provides various tools and graphical interface where the web pages are
designed.
Question 3
Answer
Size and Width are attributes of the <HR> tag.
Question 4
The colour of the text in the HTML document can be changed using the ............... attribute of the
Font tag.
Answer
The colour of the text in the HTML document can be changed using the Color attribute of the Font
tag.
Question 5
The FACE attribute of the ............... tag is used to change the typeface or the name of the font.
Answer
The FACE attribute of the <FONT> tag is used to change the typeface or the name of the font.
Question 6
The ............... attribute of Body tag defines the colour of the visited links in a document.
Answer
The <VLINK> attribute of Body tag defines the colour of the visited links in a document.
Question 7
The ............... attribute of Body tag changes the colour of the Active link.
Answer
The <ALINK> attribute of Body tag changes the colour of the Active link.
Question 8
The three values that can be defined with ............... tag are disc, square, and circle.
Answer
The three values that can be defined with <UL> tag are disc, square, and circle.
Question 9
To specify the start value of the first item from which an ordered list should start, the ...............
attribute is used.
Answer
To specify the start value of the first item from which an ordered list should start, the Start attribute
is used.
Question 10
Answer
A list created within a list is called nested list.
Question 11
Answer
Question 12
The ............... tag is used to create subscripts and ............... tag is used to create superscripts on a
web page.
Answer
The <SUB> tag is used to create subscripts and <SUP> tag is used to create superscripts on a web
page.
Question 13
Answer
Question 14
Answer
Question 1
Answer
True
Reason — The title should be short and include only upto 64 characters.
Question 2
Answer
False
Question 3
The Vlink tag defines the colour of the link after it has been visited.
Answer
True
Reason — The Vlink attribute defines the colour of the link after it has been visited.
Question 4
Answer
True
Reason — A list can be defined as a ordered list, unordered list or as a definition list.
Question 5
Answer
False
Question 6
Answer
True
Reason — We can start the ordered list with a different number which we can specify using the start
attribute.
Question 7
Answer
False
Reason — The Link, Alink and Vlink attributes of the body tag control the colours of the hyperlinks.
Question 8
Answer
True
Reason — There must be only one <title> tag in an HTML document and it is defined within
the <HEAD> tag.
Question 9
True
Reason — Unordered list type creates a bulleted list with bullets like disc, circle or square.
Question 10
Physical structure refers to different parts of a document, i.e., how a document is built.
Answer
True
Reason — Physical structure refers to the arrangement and organization of different parts of the
document, including elements like headings, paragraphs, lists, tables, images, and more.
Question 1
Answer
Question 2
Answer
Container elements
Question 3
Answer
Question 4
Answer
<HR>
Question 5
Which attribute of HTML tag specifies the language used within the document?
Answer
Lang attribute
Question 6
What is the utility of <P> tag?
Answer
Question 7
Which tag is used to set Font Face, Size, Color, and other attributes for the whole HTML document?
Answer
<BASEFONT>
Question 8
Answer
Question 9
a. Text Editor
b. Web Browser
Answer
a. Notepad
b. Google Chrome