NCERT Solutions for Class 10 Foundation of Information Technology – Introduction to XML

NCERT Solutions for Class 10 Foundation of Information Technology – Introduction to XML

Very Short Answer Type Questions [1 Mark each]

Question 1. What do you mean by XML file?
Answer: XML file or XML document is a component of XML document system which contains the real data and its semantics.

Question 2. List the components of prolog.
Answer:

  1. An XML Declaration
  2. Processing Instructions (PI)
  3. Document Type Definition (DTD)
  4. Comments
  5. White Spaces and New line

More Resources for CBSE Class 10

Question 3. By which we can describe the properties of elements?
Answer: The properties of elements can be described through attributes.

Question 4. Write the components of an XML file in terms of logical structure.
Answer: An XML file contains:

  1. an optional prolog
  2. a data instance

Question 5. How will you define an element in DTD contain plain text?
Answer: If an element should contain plain text, you define the element using #PCDATA. PCDATA stands for Parsed Character Data and is the way you specify non-markup text in your DTDs.

Question 6. What does XML parser do?
Answer: An XML parser basically checks whether a document is following XML standard or not.

Question 7. Which document is used to define the style of an XML document?
Answer: CSS is a text document (or stylesheet) that is commonly used to define the style and layout of an XML document.

Question 8. Can same CSS document be used in multiple XML documents?
Answer: Yes, the same CSS document can be used in multiple XML documents.

Question 9. Explain the usage of an XML parser. CBSE 2011
Answer: XML parser is a software used to read, write and update to an XML document. An XML parser converts an XML document into an XML DOM object.

Short Answer Type Questions [2 & 3 Marks each]

Question 1. What does it mean when we say that XML tags are case sensitive?
Answer: The case sensitivity of XML tags means, the opening and closing tags must be in the same case. The following codes is an example of a well-formed document, where the opening and closing tags are in the same case, i.e.
<Name>Amit </Name>

Question 2. List the important points to create an XML document.
Answer: The points while creating an XML documents are as follows:

  1. XML documents must have starting and closing tags.
  2. XML tags are case sensitive.
  3. XML elements must be properly nested.
  4. XML documents must have one root element.
  5. The values of XML attributes must be enclosed in double quotes.

Question 3. Explain the utility of comments in XML.
Answer: A comment is a note or information that appears in the code of an XML document to help you understand the code better.
Comments are not displayed in the output. They are not part of the program and therefore, are not parsed by the XML parser.

Question 4. State whether the following XML document is well-formed or not
<Student> Mapoj </Student>
<Student> Ankur</Student>
Answer: The preceding XML document is not well-formed because it contains two root elements. An XML document contains only one root element.

Question 5. Name some languages, which are derived from XML.
Answer: Some languages are as follows:

  1. Ink Markup Language (InkML)
  2. Business Narrative Markup Language (BNML)
  3. Financial Product Markup Language (FPML)
  4. Virtual Human Markup Language (VHML) .
  5. Architecture Description Markup Language (ADML)
  6. Artificial Intelligence Markup Language (AIML)
  7. Chess Markup Language (ChessML) etc.

Question 6. Define prolog and data instance.
Answer: The prolog is a preface or introduction to XML document. It can contain upto five optional components. The grammar structure of the XML document is defined under prolog. The data instance consists of real data and its description through elements. It is also known as body of XML document.

Question 7. Create XML markup to represent a message sent on 7 June, 2014 to Amit and Saurabh by Mohit. The message is “Submitted Successfully”.
Answer:

<?xml version = "1.0"?>
<message date="7/6/2014">
<sender> Mohit </sender>
<receiversXreceiver> Amit </receiver>
<receiver> Saurabh </receiver> </receivers>
<text> Submitted Successfully </text>
</message>

Question 8. Write the procedure to link a stylesheet with an XML document.
Answer: Using CSS with an XML Document
To link an XML document with a stylesheet perform the following steps:

  1. Create an XML document and save it as a file with the .xml extension.
  2. Create a stylesheet and save it as a file with the .css , extension.
  3. Link both the files in the XML document by using the PI.
    <?xml-stylesheet href = “test.css” type = “text/css”?>
e.g. The following is the CSS document: 
People
{
background-color : light green; 
display : block; 
padding : 5px; 
font-family : arial;
}
Person
{
background-color : pink; 
border : 2px solid black; 
display : block; 
margin-bottom : 5px;
Name
{
font-family : bold; 
display : block;
}
Birthdate 
{
display : block;
}
Eyes
{
display : block;
}
Now, save it as test.css
The following is the XML document:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type = "text/css" href = "test.css"?>
<People>
<Person>
<Name>A</Name>
<Birthdate>Jan 24, 1987</Birthdate>
<Eyes>Blue</Eiyes>
</Person>
<Person>
<Name>B</Name>
<Birthdate>Dec 15, 2009</Birthdate>
< Eyes >Brown</Eyes >
</Person>
</People>
Now, save it as test1.xml

Question 9. What do you mean by Processing Instructions (PI)?
Answer: PI can be used to pass information to applications in such a way that escapes most XML rules. Its main use is of linking to an XML stylesheet in the prolog of an XML document. Processing instructions do not have to follow much internal syntax, it can include markup characters without escaping them and can appear anywhere in the document.
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 1

Question 10. Explain child elements with an example.
Answer: The elements nested inside other elements are called child elements.
Consider the following code:

NCERT Solutions for Class 10 Foundation of Information Technology

Question 11. Write the full form of          CBSE 2014

  1. XML
  2. DTD
  3. SGML
  4. CSS

Answer: Full form of given terms are as follows:

  1. XML extensible Markup Language
  2. DTD Document Type Declaration
  3. SGML Standardised Generalised Markup Language
  4. CSS Cascading Style Sheet

Long Answer Type I Questions  [5 Marks each]

Question 1. Explain two softwares which are used to validate XML documents.
Answer: Two important software that validate or process XML documents are as follows:

  1. XML Validator are the software packages that check the XML document as per the specified DTD and give you feedback about the document.
    Some XML validators are as follows:
    (a) W3C XML Validator
    (b) Tidy
    (c) XML. com’s
    (d) Brown University
  2. XML Parsers are the software packages, which are part of bigger applications that provide XML support.
    The role of an XML parser is to dissect a valid XML document to obtain actual data from the XML document. Some XML parsers are as follows:
    (a) SAXfSimple API for XML)
    (b) Expat
    (c) LT-XML etc.

Question 2. Write an XML document that marks up the following data:
All these must be rendered. Use attribute to make the data more informative.
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 3
Answer:

<?xml version = "1.0" encoding="UTF-8" standalone = "yes"?>
<employees>
<employee EmpID = "e001">
<Name> Raj Kumar </Name>
<City> Delhi </City></employee>
<employee EmpID="e002">
<Name> Pankaj </Name>
<Ci ty> Mumbai </City></employee>
<employee EmpID="e003">
<Name> Rahul Sharma </Name>
<City> Delhi </City> </employee>
<employee EmpID="e004">
<Name> Praveen </Name>
<City> Noida </City></employee>
</employees>

Question 3. Compare XML with similar type of other languages.
Answer:

1. Comparing XML and SGML

XML SGML
XML is a markup language. SGML is a meta language used to define and describe generic markup language.
It does not include complex and optional features of SGML. It is complex and requires overheads to use it.
XML allows creation of new  tags to describe and present  your data. It is an ISO standard for specifying a set of tags,
XML allows data validation. SGML does not allow data validation.
It describes the data and transfers data between applications. It allows you to define and create platform-independent files.

2. Comparing HTML and XML

HTML XML
HTML tags are predefined. XML tags are not predefined.
HTML is case insensitive. XML is case sensitive.
HTML is markup language that creates the form and appearance of the Web page. XML is neither a programming nor a presentation language.

3. Comparing EDI and XML

EDI XML
EDI (Electronic Data Interchange) is a collection of standards, formats and file layout. XML is an emerging standard designed to simplify Web-based E-Commerce transactions between computer application.
EDI enables highly secure document exchanges. XML document typically needs to be encrypted to maintain security level.
EDI documents are sent via private and relatively expensive Value Added Networks (VANs). XML documents are generally sent via the Internet.
EDI does not processes low transaction values. XML processes relatively low transaction values.
EDI allows companies to exchange electronic documents quickly between their trading partners. XML allows you to create custom tags to present your document in a structured format.

Question 4. Consider the following XML document.
Check this for well- formedness.

<Employees><FirstName> Ambrish
<MiddleName> Kumar</FirstName>
</MiddleName>
<lastname> Garg </LastName>
</Employees>

Answer:

The above XML document is not well-formed.
The document suffers from two errors which are as follows:

  1. Improper nesting The MiddleName element is opened inside the FirstName element, yet MiddleName is not closed before the FirstName element is closed.
  2. Mismatched cases of start and end tags The tag <lastname> is closed with </LastName>, which is incorrect. XML is case sensitive, thus the end tag of <lastname> should be </lastname>.

Question 5. Explain the structure of XML document.
Answer: Structure of XML- File/Document
Every XML document includes both physical and logical structure which are as follows:

1. Physical Structure
It contains the actual data used in a document. The basic storage unit called entity, each of which may refer to other entities. An entity has a name and content. It contains references to other entities. There is a special entity called document entity or root, that serves as a main storage unit. XML processor always start document processing from that unit.
We have three classifications of entities, these are as follows:

  1. Internal and External Entities
    For internal entity, there is no separate physical storage object and the content of the entity is given in the declaration. It contained inside the document. If the entity is not internal, then it is an external entity.
  2. General and Parameter Entities
    General entities are entities which are used within the document content. In this specification, general entities are sometimes referred to with the unqualified entity, when this leads to no ambiguity. Generally, entities are declared and used differently. Parameter entities are parsed and used only in the DTD part of the XML document.
  3. Parsed and Unparsed Entities
    Parsed entities contain text that is referred as replacement text intended to be processed by the parser and is considered as an integral part of the document. Unparsed entities are resources that can be of any type including text objects. This type of entity is never process by parser.

2. Logical Structure
It is a template that enables the elements to be included in a document and in the order in which they have to be included.
The logical structure includes the basic components of the XML document. It indicates how a document is built, irrespective of what a document contains. The first structural element is prolog which is the base for the logical structure.
The structure of the document of example code:
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 4

Question 6. A well-formed document must have a root element. Explain with an example.
Answer: To create a well-formed XML document, it is necessary for it to have a root element. A root element is a unique element that contains all other elements in the XML document.
The XML document cannot contain more than one root element.
The following code is an example of a well-formed document:

<address>
<city> Delhi </city>
<state> Delhi </state>
<country> India </country>
</address>
Consider the same code written in the following way: 
<city> Delhi </city>
<state> Delhi </state>
<country> India </country>
The preceding code is not a well-formed document, since it does not contain a root element.

Question 7. Explain the difference between a well-formed and a valid XML documents. CBSE 2011
Answer:

1. Well-Formed XML Documents
A “Well-Formed” XML document means that document has the correct XML syntax.
The XML document that follows XML grammar rules is called well-formed document. A document that includes sequence of markup characters that cannot be parsed or are invalid cannot be well-formed. The following points are to be kept in mind for a valid XML document:

  1. The document must contain atleast one element
    NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 5
  2. The document must have a root element A root element is a unique element in the XML document, which contains the complete document.
    NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 6
  3. The element must have the opening and the closing tags To close a tag, you need to prefix the forward slash with the normal tag.
    NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 7
  4. XML tags must be closed properly There must be a proper closing tag. In XML, empty tags must end with a following slash.
    NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 8
  5. XML elements must be properly nested The parent element has to be opened before the child element and closed after the child element.
    NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 9
    This code is not well-formed because the root element (College) is closed before the parent element (Student).
  6. XML tags are case sensitive XML tags are case sensitive means the opening and ending tags must be in the same case.
    NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 10
  7. XML attribute values should be in double quotation marks The attribute value in an XML document should be enclosed in proper quotes.
    NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 11

2. Valid XML Document
A valid XML document is .not only a well-formed document but as well as they also checked error against a DTD or schema. DTD is a set of rules that defines what tags appear, what value those tags may contain and how the tags are related to each other in an XML document. Validation can be done only if the XML document has valid DTD. When an XML document is checked or parsed according to a particular structure or guidelines, the process is known as validation of the document.

Question 8. Define CSS. How to create a CSS file?
Answer: CSS is a simple design language intended to simplify the process of making Web pages presentable.
CSS is a type of stylesheet and this stylesheet consists of a list of rules. You can include a CSS in multiple XML documents that have the same data structure.

Syntax
selector
{
property: value; } Declaration Block
}

Creating a CSS File
To create a CSS file, you need to have all the style rules composed in it and save it with extension .css.
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 12
You can define the color in CSS by name as well as by code like green color may be written as #008000 or rgb(0,128,0).
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 13

Long Answer Type II Questions  [10 Marks each]

Question 1. Write two points of difference in HTML and XML. Write three points of well-formed XML document. Write the code to create an XML document to present following data: CBSE 2016
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 14
Answer: Two points of difference between HTML and XML follows:

HTML XML
HTML is a markup language that creates the form and appearance of the Web page. XML is a text-based markup language for processing and displaying data in a structured format.
HTML documents are viewable in a browser. XML documents can be viewed only if proper stylesheet file is also available alongwith XML file.

Three points of well-formed XML document are as follows:

  1. The document must have a root element.
  2. The element must have the opening and closing tags.
  3. XML attributes values, should be in double quotation marks.
<?xml version ="1.0" encoding="UTF-8" standalone="yes"?>
<Data><Datal>
<Furniture>Table</Furniture>
<Material >Wood</Material >
<Quantity>75</Quantity>
<Floor>1st</Floor>
</Datal>
<Datal>
<Furniture>Chair</Furniture>
<Materi al >Plastic</Materi al >
<Quantity>85</Quantity>
<Floor>IInd</Floor>
</Datal>
</Data>

Question 2. XML document structure can be divided in which two parts? What is meant by valid XML document (write three points)? Write the code to create an XML document to present following data: CBSE 2014
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 15
Answer: XML document structure can be divided into two parts as follows:

  1. Well-formed XML document
  2. Valid XML document

A valid XML document means to follow several terms, such as follows:

  1. It is not only a well-formed document but as well as check error against a DTD.
  2. It signifies that a document is well-formed.
  3. It uses XML parser, XML validator for validation.
The XML code is
<?xml version = "1.0" encoding = "UTF-8"?>
<Employees>
<Employee>
<Name> Srishti </Name>
<Job> Programmer </Job>
<Department> Engineering </Department>
<Cubicle> 5E </Cubicle>
</Employee>
<Employee>
<Name> Aditi </Name>
<Job> Designer </Job>
<Department> Marketing </Department>
<Cubicle> 19T </Cubicle>
</Employee>
</Employees>

Question 3. Write two points of differences between XML and HTML. What is meant by a well-formed XML document (write two points)? Write the code to create an XML document with following data: CBSE 2013
NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 16
Answer: The differences between XML and HTML are as follows:

  1. HTML has predefined tags while XML has user-defined tags.
  2. HTML document can be viewed directly by the Web browser while XML document cannot be viewed directly and need some proper stylesheet files.

A well-formed document means to follow several generic rules, such as follows:

  1. XML document must contain atleast one element.
  2. All tags must have the opening and closing tags as these XML tags are case sensitive.
The XML code is
<?xml version = "1.0" encoding = "UTF-8"?>
<Travels> <Travel>
<Designation> Singapore </Designation>
<Cost> 200000 </Cost>
<No_of_days> 8 </No_of_days>
<Mode_of_trans> Aeroplane </Mode_of_trans>
</Travel>
</Travel>
<Designation>Shimla</Designation>
<Cost> 10000 </Cost>
<No_of_days> 4</No_of_days>
<Mode_of_trans> Bus </Mode_of_trans>
</Travel></Travels>

Question 4. Explain with a help of an example, how root elements are placed in a XML document?
Answer: XML documents must contain one element that is the parent of all other elements. This element is called the root element. The root element encloses all other elements in XML. All other elements inside the root elements are the form of child element. The structure of the XML file should look like

<root>
<child>
<subchild>....</subchild>
</child>
</root>
e.g.
<company>
<employee>
<ecode> 101 </ecode>
<name> Rahul </name>
</employee>
<employee>
<ecode> 102 </ecode>
<name> Sahil </name>
</employee>
<employee>
<ecode> 103 </ecode>
<name> Muskan </name>
</employee>
</company>

You can see in the above example that the root element declared out here is <company> then comes the child element <employee> which in turn stores the <ecode> and <name> of the employee in the tags.

Application Oriented Questions

Question 1. Draw the XML tree for code given below: CBSE 2016

<Library>
<Books category="Thriller">
<Author>ABC</Author)
<Price>150</Price>
</Books>
<Books category="Fiction">
<Author>EFG</Author)
<Price>250</Price>
</Books>
</Library>

Answer: The XML tree is

NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 17

Question 2. Draw the XML tree for the code given below: CBSE 2011

<MOVIES>
<ENGLISH>
<NAME> PLAYERS </NAME>
<DIRECTOR) ABC </DIRECTOR>
<PRODCOST> 50 Lakhs</PRODCOST>
</ENGLISH>
<HINDI>
<NAME> KHILADI </NAME>
<DIRECTOR> XYZ </DIRECTOR)
<PRODCOST> 70 Lakhs</PRODCOST>
</HINDI>
</MOVIES>

Answer: The XML tree is

NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 18

Question 3. Write the DTD for the following XML document:

<Examples>
 <example>
 <name> CSS example </name>
 <url> http://www.google.com </url>
 </example>
 <example>
 <name> DTD example </name>
 <url> http://www.google.com </url>
 </example>
 </Examples>

Answer: 

<?xml version = "1.0" standalone = "yes"?>
<!DOCTYPE Examples![
<!ELEMENT Examples (example)>
<! ELEMENT example (name, url )>
<!ELEMENT name (#PCDATA)>
<! ELEMENT url (#PCDATA)>
]>

Question 4. Vallesoft Pvt. Ltd has designed and developed a Website that will be displayed differently in each of the continents. It has decided to use XML instead of HTML to develop the Website.
(i) A developer has written some XML code. Which of the following XML code fragments is well-formed?

<channel> <time> STAR TV 9.00 PM </channel> </time>
<Description> Family Drama </description>

(ii) Correct all the mistakes in the XML code fragments that are not well-formed given in part (i).
(iii) Design an XML tree for the following XML code:

<program>
<channel> STAR TV </channel>
<time> 9.00 PM </time>
<day> Monday, Tuesday, Wednesday </day> 
<description> Family Drama </description>
</program>

Answer: 

(i) None of the given code fragments are well-formed.
(ii) The correct code is:

<channel> <time> STAR TV 9.00PM </time> </channel>
<Description> Family Drama </Description>

(iii) The XML tree is

NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 19

Question 5. Draw the XML tree for the code given below:    CBSE 2011

< DIET>
<MORNING>
<CEREAL> OATS </CEREAL>
<FRUIT> PAPAYA </FRUIT>
<LIQUID> TEA </LIQUID> </MORNING>
<AFTERNOON>
<CEREAL> BRAN </CEREAL>
<FRUIT> APPLE </FRUIT>
<LIQUID> JUICE </LIQUID>
</AFTERNOON>
</DIET>

Answer: The XML tree is

NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 20

Question 6. Draw the XML tree for the code given below:    CBSE 2014

<employees>
<employee sex = "male">
<name>
<first> Harry </first>
<last> Potter </last>
</name>
</employee>
<employee sex = "female">
<name>
<first> Linda </first>
<1ast> Ray </last>
</name>
</employee>
</employees>

Answer: The XML tree is

ncert-solutions-for-class-10-foundation-of-information-technology-introduction-to-xml-20

Question 7. Draw the XML tree for the code given below:    CBSE 2013

<bookstore> 
<book>
<title> ABC of Computers </title>
<author> A. Gandhi </author>
<year> 2005 </year>
<pri ce> 29.99 </pri ce></book>
<book>
<title> Learning XML </title>
<author> Erik T. Ray </author>
<year> 2003 </year>
<price> 39.95 </price>
</book>
</bookstore>

Answer: The XML tree is

NCERT Solutions for Class 10 Foundation of Information Technology - Introduction to XML 21

Question 8. Create a DTD for storing book information for a library. The DTD should contain details about each book in terms of title, author (name), number of copies, all of which can store character data. The number of copies should contain two attributes named ‘inhand’ and issued which are both mandatory.
Answer:

<?xml version = "1.0">
<!DOCTYPE LIBRARY [
<!ELEMENT LIBRARY (BOOK +)>
<!ELEMENT BOOK (TITLE, AUTHOR, NOC)>
<!ELEMENT AUTHOR (NAME)>
<!ELEMENT TITLE (# PCDATA)>
<!ELEMENT NAME (# PCDATA)>
<!ELEMENT NOC (# PCDATA)>
<! ATTLIST NOC INHAND ISSUED CDATA # REQUIRED>
]>

Multiple Choice Questions [1 Mark each]

Q1. XML uses CBSE 2016
(a) Only 5 tags
(b) Predefined tags
(c) Custom tags
(d) HTML tags
Answer: (c) XML uses user defined or custom tags.

Q2. XML was not designed to      CBSE 2013
(a) display Web pages
(b) store data
(c) carry data
(d) Both (b) and (c)
Answer: (a) XML was designed to store and carry data, not to display Web pages.

Q3. A root element is
(a) a bridge between HTML and XML
(b) the parent of all other elements
(c) child element of the parent
(d) None of the above
Answer: (b) A root element is the parent of all other elements.

Q4. An XML document can be viewed in a CBSE 2014
(a) Word processor
(b) Web browser
(c) Notepad
(d) None of these
Answer: (b) An XML document can be viewed in a Web browser.

Q5. Name the root element in the following XML document:   CBSE 2011

<father>
<child1>
<name> Megha </name>
<age> 12 </age>
</child1>
<child2><name > Mana </name>
<age> 15 </age>
</child2>
</father>

(a) child 1
(b) child2
(c) father
(d) name
Answer: (c) father is the root element.

Q6. Which of them is the correct statement?
(a) An XML elements must have a closing tag.
(b) An XML elements must be lowercase.
(c) An XML documents must have a DTD.
(d) All of the above
Answer: (a) An XML elements must have a closing tag.

Q7. Which is not a correct name for an XML element?

(a) <xmldocument>
(b) <7eleven>
(c) <phone_number>
(d) <root>

Answer: (b) <7eleven> is not a correct name for an XML element.

8. XML allows you to CBSE 2012
(a) create new tags
(b) arrange your tags in any order
(c) closing tags are not required
(d) All of the above
Answer: (b) XML allows you to arrange your tags in any order.

9. Which one of these is correct syntax of the declaration, that defines the XML version?

(a) <?xml version = "1.0"?>
(b) <?xml version = "1.0">
(c) </xml version = ”1.0">
(d) <xml version = "1.0"?>

Answer: (a) <?xml version = “1.0”?> is a correct syntax of the declaration.

10. The way of describing XML data is
(a) XML uses XSL to describe data
(b) XML uses a description node to describe data
(c) XML uses a DTD to describe the data
(d) None of the above
Answer: (c) XML uses a DTD to describe XML data.

11. Which of the following is a prolog component? CBSE 2011
(a) Element
(b) Tab
(c) White space
(d) All of these
Answer: (a) Element is a prolog component.

12. PI is a component of
(a) prolog
(b) data instance
(c) element
(d) root element
Answer: (a) PI is a component of prolog.

13. To link an XML document with a stylesheet, you need to
(a) use the PI component in the XML document
(b) use the document declaration component in the XML document
(c) add the tag in the XML document
(d) None of the above
Answer: (a) To link an XML document with a stylesheet, you have to use the PI component in the XML document.

14. The XML document is like a
(a) tree structure
(b) inverted tree structure
(c) flat structure
(d) None of the above
Answer: (a) The xml document is like a tree structure.

15. What does XML stand for? CBSE 2016
(a) Extra Markup Language
(b) extensible Markup Language
(c) Example Markup Language
(d) None of the above
Answer: (b) extensible Markup Language

16. What does DTD stand for? CBSE 2016
(a) Dynamic Type Definition
(b) Dynamic Type Declaration
(c) Document Type Declaration
(d) Document Type Definition
Answer: (c) Document Type Declaration

17. In XML, value of attribute must appear CBSE 2016
(a) in uppercase
(b) in brackets
(c) in quotes
(d) in lowercase
Answer: (c) in quotes

18. DTD definition is used alongwith XML to specify     CBSE 2014
(a) the presentation of XML document
(b) the links with other documents
(c) the structure of XML document
(d) None of the above
Answer: (c) DTD definition is used alongwith XML to specify the structure of XML document.

Q19. Valid XML document means CBSE 2016
(a) the documents has one root element
(b) the document contains atleast one or more root elements
(c) the XML document has a DTD associated with it and it compiles with that DTD
(d) each element must nest inside any enclosing element properly
Answer: (c) Valid XML document check errors and has DTD or schema and compiles to it.

20. Comments in XML are
(a) having the same syntax as that of comments in HTML
(b) used to add additional notes
(c) not displayed on the final Web page
(d) All of the above
Answer: (d) All of the above

21. Comment in XML can be given by:   CBSE 2016

(a) <?-->
(b) <!-- >
(c) <?!-->
(d) <!?-->

Answer: (b) <!–>

22. Which of the following XML fragments are well-formed? CBSE 2014

(a) < element attribute = value >
(b) < element attribute = "value" >
(c) < element attribute = !value >
(d) < element attribute ='value'>

Answer: (b) < element attribute = “value” > all well-formed.

23. How is an empty element defined in XML?

(a) <name> </name>
(b) <name/>
(c) name/
(d) All of these

Answer: (b) The empty tag name is followed by <name/>

24. Is this, a “well-formed” XML document? CBSE 2011

<?xml version = "1.0"?> 
<note>
<to age="29"> Tove </tO>
<from> Jani </from>

(a) Yes
(b) No
(c) Cannot be determined without the DTD
(d) None of the above
Answer: (b) No, because </tO> is not a correct element and element is not closed.

25. Well-formed XML document means
(a) it contains a root element
(b) it contains an element
(c) it contains one or more elements
(d) must contain one or more elements and root elements
Answer: (d) Well-formed XML document must contain one or more elements and root element must contain all other elements.

26. An XML parser is used to
(a) extract data from the XML file and build tree like structure.
(b) check whether or not an XML document is well-formed.
(c) Both (a) and (b)
(d) None of the above
Answer: (b) Check whether or not an XML document is well-formed.

27. An XML document that follows the XML syntax is called a   CBSE 2010
(a) valid XML document
(b) well-formed XML document
(c) correct XML document
(d) All of the above
Answer: (b) well-formed XML document

28. Which of the following is not an online XML validator?
(a) W3C validation service
(b) Tidy
(c) XML.com’s
(d) expat
Answer: (d) expat is an online XML parser not an online XML validator.

29. What makes XML more powerful than HTML?
(a) The fact that it’s supported by all of the major software vendors.
(b) Not as much coding is needed.
(c) Its ability to adopt to new uses.
(d) None of the above
Answer: (c) XML is more powerful than HTML because we can define our own tags for different uses in XML.

30. HTML and XML are
(a) markup languages
(b) programming languages
(c) system softwares
(d) utilities
Answer: (a) Both HTML and XML are markup languages.

Fill in the Blanks [1 Mark each]

Q1. ……… is used to define the structure of an XML document.
Answer: DTD

Q2. XML is subset of ……….. . CBSE 2016
Answer: SGML

Q3. An XML attribute is a ………. of an element.
Answer: property >

Q4. XML attribute values should always be enclosed in ………… . CBSE 2014
Answer: double quotes

Q5. ……….. are the building blocks of an XML document and are represented by using tags.
Answer: Elements

Q6. The combination of XML document, DTD and stylesheet is known as ………. .
Answer: XML document system

Q7. An element can be written without the end tag.
Answer: empty

Q8. An attribute is a ……….. pair contained in the start tag of the element.
Answer: name-value

Q9. In all XML documents, the ………….. element is the parent of all other elements. CBSE 2011
Answer: root

Q10. All XML documents must have one element. CBSE 2011, 2014
Answer: root

Q11. ………. refers to the preface to an XML document.
Answer: Prolog

Q12. In XML, ……….. cannot contain multiple values. CBSE 2016
Answer: attributes

Q13. You can validate an XML document by using the XML validator and …………… .
Answer: XML parser

Q14. A ………… confirms to all the XML guidelines.
Answer: well-formed document

Q15. An XML document has both a ……….. structure and a ………….. structure.
Answer: physical, logical

Q16. We need a/an ………….. to create and edit an XML document. CBSE 2013
Answer: XML parser

Q17. ……… is a text document that is commonly used to define the style and layout of an XML document.
Answer: CSS

Q18. The ……….. is an XML element to which the CSS style is applied.
Answer: selector

Q19. ……….. is used to describe data and ……….. is used to display data. CBSE 2012
Answer: XML, HTML

True or False [1 Mark each]

Q1. XML is used to define other languages.
Answer: True XML is a meta language, which is used to define other languages.

Q2. XML is case sensitive. CBSE 2014
Answer: True XML is case sensitive, while HTML is not case sensitive.

Q3. XML is widely used for storing data.
Answer: True XML is used to describe data and storing data.

Q4. XML is extensible Meta Language. CBSE 2012
Answer: False XML is not an extensible Meta Language. It is extensible Markup Language.

Q5. A tag only consists of opening angular bracket.
Answer: False A tag consists of opening as well as closing angular brackets (<>).

Q6. XML is a platform-independent language.
Answer: True XML can run on all platforms, so it is platform-independent language.

Q7. The root element is a parent element of all other elements in data instance.
Answer: True The root element is an element that contains all other elements in XML document.

Q8. The values of the attributes are enclosed in double question marks.
Answer: False The values of the attributes are enclosed in double quotation marks.

Q9. A special character can be defined as a short name given to a set of information.
Answer: True When a special character is used in an XML document, it expands to its full definition.

Q10. XML is design to describe data.
Answer: True The focus of XML is on the description of data, not its presentation.

Q11. DTD is a set of rules that defines what tags appear in an HTML document. CBSE 2014
Answer: False DTD is used in XML documents.

Q12. An XML document can have only limited number of child elements.
Answer: False XML document can have unlimited number of child elements.

Q13. Pseudo attributes are the settings that appear in prologs.
Answer: True Pseudo attributes describe the overall document.

Q14. Names in XML document must start either with a letter, number or underscore.
Answer: False Names in XML must start either with a letter or underscore character.

Q15. XML uses a DTD to describe its data to users.
Answer: True The DTD are used in XML to specify its information and data to users.

Q16. In XML, tag names cannot contain spaces but can uses underscores.
Answer: True Tag name must start either with a letter or underscore (_) character.

Q17. In XML, every opening tag may not have a closing tag. CBSE 2013
Answer: False Every tag must contain the opening and closing tag.

Q18. Extension of an XML files is .html.
Answer: False html is the extension of HTML file. An XML file extension is .xml.

Q19. One of the attributes of XML tag is Type.
Answer: True type is a attribute of XML tag.

Q20. Comments are displayed in the output.
Answer: False Comments are not displayed in the output.

Q21. XML document must have one root element. CBSE 2016
Answer: True XML document must have one root element.

Q22. Physical structure includes the actual data of an XML file.
Answer: True Physical structure stores actual data in the form of entity.

Q23. A valid XML document that follows all grammar rules is well-formed document.
Answer: True A well-formed XML document means that the document has the correct XML syntax and follows proper grammar rules.

Q24. Both HTML and XML are markup language used to format data. CBSE 2011
Answer: False XML is used to describe data, while HTML is used to format data.

Q25. HTML is about displaying information while XML is about describing information.
Answer: True HTML was designed to describe data with focus on how data look while XML was designed to describe data with focus on what data is.

NCERT Solutions for Class 10 Foundation of Information Technology – Societal Impacts of IT

NCERT Solutions for Class 10 Foundation of Information Technology – Societal Impacts of IT

Very Short Answer Type Questions [1 Mark each]

Question 1. Define virus.
Answer: A virus is a harmful program, which on entering a computer, starts creating copies of itself. It then attacks by corrupting the executable files and folders saved on the computer.

Question 2. List the different types of computer viruses.
Answer:

  1. File system viruses
  2. Boot sector viruses
  3. Macro viruses

More Resources for CBSE Class 10

Question 3. Name some forms of virus attacks.
Answer: Worms, Trojan horse, Computer Virus etc.

Question 4. Give some examples of computer worms.
Answer: MS-Blaster, Mellisa worm, SQL Slammer worm are the common examples of worms.

Question 5. Explain denial of service attack.
Answer: A denial of service attack is a type of attack that consumes all the resources of a computer.

Question 6. What is used to identify, prevent and take action against malicious programs, such as viruses and worms, by deactivating or deleting them?
Answer: Antivirus is used to identify, prevent and take action against malicious programs such as viruses and worms, by deactivating or deleting them.

Question 7. Describe hacking.
Answer: Hacking is the practice of modifying the features of a system, in order to accomplish a goal outside of the creator’s original purpose.

Question 8. What is the meaning of backup? CBSE 2013
Answer: Backup is a process of making an extra copy of the data on a computer and storing it in a different location on the computer or in an external device.

Question 9. What are the types of data backup?
Answer: There are two types of data backup:

  1. Full backup
  2. Differential backup

Question 10. Can you backup the files while your computer is running?
Answer: Yes, we can safely backup open files and programs while they are running.

Question 11. What is encryption of data? CBSE 2014
Answer: Encryption refers to scrambling of data in some encoded format so that it may be transmitted over networks.

Question 12. A digital signature is issued by which organisation?
Answer: A digital signature is«an electronic file that is issued by a Certification Authority. (CA).

Question 13. Name two other means of online security measures.
Answer: Digital signature and Digital certificate

Question 14. Which security provision is used to ensure data integrity and authentication?
Answer: A digital signature helps the user to ensure data integrity and authentication.

Question 15. Give any two shortcomings of online purchase. CBSE 2014
Answer:

  1. Cannot see the product in reality before a purchase.
  2. You do not receive the product immediately, there is always some delay.

Short Answer Type Questions [2 & 3 Marks each]

Question 1. How does a virus affect your computer?
Answer: Virus is a software used to infect a computer. After virus code is written, it is buried within an essential programmed. Once the programmed is executed, the virus code is activated and attack copies itself to other programs.

Question 2. Give three guidelines to prevent the virus attack.
Answer: Three guidelines to prevent the virus attack are as follows:

  1. Avoid the temptation to open unexpected E-mail attachments and downloads from unreliable sources. Resist the urge to double click everything in your mailbox. If you get an unexpected file attachment, send an enquiry E-mail to its sender. Ask him about the nature and function of the file attachment.
  2. In stable reliable antivirus, scanning software and download its updates regularly.
  3. Scan files downloaded from the Internet or other external sources.

Question 3. If your computer attacked by a trojan horse virus, what damage it may cause?
Answer: If your computer attacked by a trojan horse virus, it can:

  1. Steal passwords
  2. Copy sensitive data
  3. Carry out any other harmful operations etc.

Question 4. Write minimum three ways by which a virus can spread to other systems.
Answer: Three ways by which a virus can spread to other systems are as follows:

  1. When an infected file is copied through network.
  2. When virus file is downloaded from Internet.
  3. When infected file is copied from floppy disk, USB, DVD etc.

Question 5. Write any two tips to avoid spams. CBSE 2016
Answer: You can use the following guidelines to avoid spam, they are as follows:

  1. Keep your E-mail address private.
  2. Using appropriate filters to find and alter you about spam.

Question 6. What are the primary interest of online attackers in spyware?
Answer: Primary interest of online attackers in spyware is using it to steal personal information for financial crimes such as carding and identity theft or to sell that information to someone else who then executes more traditional financial crimes.

Question 7. What does an antivirus software do? CBSE 2014
or
What does an antivirus software do? Explain in brief with any two points. CBSE 2013
Answer:

  1. Antivirus software is a computer program that detects, prevents and takes action to disarm or remove malicious software programs, such as viruses and worms.
  2. Displays health of your computer system.

Question 8. What precaution you should take before copying file from an external storage media?
Answer: Precaution should be taken to run an antivirus program before copying any file from floppy disk, USB, DVD etc. Also, we have to run antivirus program weekly to scan all the drives in the system.

Question 9. List some commonly available antivirus programs.
Answer: Some of the commonly available antivirus programs in the market are as follows:

  1. Symantec Norton antivirus
  2. AVG antivirus
  3. McAfee scan
  4. Quick Heal

Question 10. Define information security.
Answer: Information security is all about protecting and preserving information. It’s all about protecting and preserving the confidentiality, integrity, authenticity, availability and reliability of information.

Question 11. Differentiate between full backup and differential backup.
Answer: Differences between full backup and differential backup are as follows:

Full backup Differential backup
A complete backup of everything that you want to backup. The backup software looks at which files have changed, since you last did a full backup.
Restoration is fast, since you only need one set of backup data. Faster to create than a full backup.

Question 12. Write differences between online backup and offline backup. CBSE 2014
Answer: Differences between online backup and offline backup are as follows:

Online backup Offline backup
You don’t have direct control over your data. The data is totally in your control.
If you have a fire, flood, or theft, your backup is offsite so you don’t have to worry about it. If you have a fire or flood, your backup might be damaged alongwith your computer.

Question 13. List two advantages of online backup. CBSE 2012, 2013
Answer: Two advantages of online backup are as follows:

  1. By having your data stored on a remote hard drive, you run little as there is no risk of losing your data as a result of fire, theft or any other disaster.
  2. No hardware is needed to maintain or repair the backup.

Question 14. Can firewalls detect virus?
Answer: Firewalls do not screen computer viruses.
As the location of firewalls is a good place for scanning, some firewalls has plug-in virus scanning module.
And some programs scan virus at a point either before or after a firewall.

Question 15. Mention three societal impacts of IT.
Answer: The societal impacts of IT are as follows:

  1. Opportunities for people with disabilities through artificial intelligence.
  2. Quality of life improvements due to E-Commerce over Internet.
  3. Crime fighting and other benefits.

Question 16. Why should we frequently take backup of our data?
Answer: We frequently take backup of our data because

  1. The hard drive of our computer may fail.
  2. The data on our computer may get corrupted for a variety of reasons.
  3. Data loss due to fire, natural disasters etc.

Question 17. Differentiate between digital certificate and digital signature. CBSE 2013
Answer: Differentiate between digital certificate and digital signature are as follows:

Digital certificate Digital signature
Digital certificates are typically used in Websites to increase their trustworthiness to its users. A digital signature is a mechanism that is used to verify that a particular digital document or a message is authentic.
Digital certificates are used, the assurance is mainly dependent on the assurance provided by the CA. With digital signatures, the receiver can verify that the information is not modified.

Question 18. Name one specific software/tool for each of the following categories: CBSE 2011

  1. Antivirus software
  2. Data recovery tool
  3. Online backup tool

Answer:

  1. Antivirus software – Quick Heal
  2. Data recovery tool – NTFS Reader
  3. Online backup tool – Dropbox

Question 19. Give the three terms related to the following:

  1. Attacks
  2. Backup
  3. Security software

Answer:

  1. Attacks Trojan horse, Worm, Denial of Service.
  2. Backup Online backup, Full backup, Differential backup.
  3. Security software Digital signature, Firewall, Antivirus.

Question 20. Name four data backup devices/medium. CBSE 2016
Answer: Four storage media on which data backup may be taken are as follows:

  1. DVD (Digital Versatile Disk)
  2. External hard disk
  3. USB flash drive
  4. Memory stick

Long Answer Type Questions  [5 Marks each]

Question 1. What are the common symptoms of a virus attack?
Answer: Symptoms of Computer Viruses Attack
The list of symptoms of computer viruses attack, which indicate that your system is infected with a computer viruses are as follows:

  1. Odd messages are displaying on the screen.
  2. Some files are missing.
  3. System runs slower.
  4. PC (Personal Computer) crash or restart again and again.
  5. Drives are not accessible.
  6. Antivirus software will not run or installed.
  7. Unexpected sound or music plays.
  8. The mouse pointer changes its graphic.
  9. Receive strange E-mails containing odd attachments or viruses.
  10. PC starts performing functions like opening or closing windows, running programs on its own.

Question 2. What are the various measures that should be taken to prevent spyware from overtaking your system?
Answer: Preventions of Spyware
Due to the seriousness of spyware and the harm, it can affect your system and personal information, it is highly recommended you to take the given measures to prevent spyware from overtaking your system:

  • Download and install anti-spyware software: Most antivirus applications are effective in identifying different types of malware, including spyware, but may not detect all spyware variants. Once you install the anti-spyware software on your computer, you must keep your anti-spyware application updated to keep up with the latest forms of spyware.
  • Be cautious when Web surfing: The best defense against spyware is not to download it in the first place. Spyware is often installed on your computer when you visit an infected or malicious Website.

Therefore, you should exercise caution with links to Websites from unknown sources. In addition, you should only download programs from trustful Websites. When downloading a specific program, ensure that you are not downloading pirated software. Spyware can be distributed by exploits, that promote software piracy.

  • Lookout for pop-ups: Malware can lure you into installing spyware on your computer by prompting you with a pop-up window. If you see an unwanted or random pop-up alert, do not click “Agree” or “OK” button to close the pop-up window. This will actually install the malware on your computer. Instead, press Alt + F4 or click on the red “X” on the corner on the pop-up alert to close the window.
  • Keep current with operating system updates: Important system updates provide significant benefits such as improved security. Just as with any antivirus and anti-spyware software, not keeping up with operating system updates will make your PC vulnerable to the latest malware threats.
  • Harden your browser settings: Updated Web browsers may help to prevent exploitation by taking several defensive steps against spyware. Most Web browsers will warn you of executable programs and will suggest a safe course of action. In addition to having an updated Web browser, ensure that you have properly configured your browser and that all of your plug-ins and add-ons are updated, including Java, Flash and Adobe products.
  • Enable your firewall: Firewalls monitor the network and are capable of blocking suspicious traffic, which can prevent spyware from infecting your system.

Question 3. Differentiate between hackers and crackers.
Answer: Differences between hackers and crackers are as follows:

Hackers Crackers
A hacker is a person intensely interested in the arcane and recondite working of any computer operating system. A cracker is one who breaks into or otherwise violates the system integrity of remote machines with malicious intent.
Hackers obtain advanced knowledge of operating systems and programming languages. Having gained unauthorised access, crackers destroy vital data, deny legitimate users service, or cause problems for their targets.
Hackers constantly seek further knowledge, freely share what they have discovered and never intentionally damage data. Crackers can easily be identified because their actions are malicious.

Question 4. Explain SET, PCI and Kerberos.
Answer:

  • PCI (Peripheral Component Interconnect) is a computer bus for attaching hardware devices in a computer. These devices can take either the form of an integrated circuit fitted onto the motherboard itself, called a planer device in the PCI specification or an expansion card that fits into a slot.
  • SET (Secure Electronic Transaction) protocol, which is developed by Visa and Mastercard uses encryption for privacy and digital certificates to verify the three parties -the bank, the customer and the merchant. It ensures secure transactions online.
  • Kerberos is a third-party authentication that validates the clients over the network and provides secure communication or access to network resources.

Question 5. Write a short note on social networking.
Answer: It is a grouping of individuals into specific groups, like small rural communities or a neighbourhood subdivision, if you will. A social networking service is an online service, platform or site that focuses on facilitating the building of social networks or social relations among people.
e.g. people who share interests, activities, backgrounds or real life connections. When it comes to online social networking, Websites are commonly used. These Websites are known as Social Sites. The most popular social sites are currently Facebook, MySpace, Orkut etc.
These Websites provide users with simple tool to create a custom profile with text and pictures. Typical profile includes basic information about user, atleast one photo and possibly a blog or other comments published by the user. It may include videos, photos albums, online applications as in Facebook or custom layout (in MySpace). After creating a profile, user can send message to other users and leave comments directly on friends’ profiles.

Question 6. Write the benefits of ICT in education and healthcare.
Answer: Benefits of ICT
ICT has become an integral part of our daily life. And, it has benefited the common man in various ways in every field of life. Some of them are as follows:

In Education
The main purpose of the strategy for ICT implementation in education is to provide the prospects and trends of integrating ICT into the general educational activities.

Some benefits of ICT in education are as follows:

  1. There is no time boundation on an individual for getting educated by a teacher. A person can attend a class anytime and anywhere.
  2. Teachers can create interactive classes and make the lessons more interesting.
  3. Generally, students find images and graphical representation of concepts, more interesting as compared, to the theoretical knowledge. And, using ICT, teachers can explain even the most complex concept in a very simplified manner using graphics, videos and animations.
  4. An individual can learn on pace he/she is comfortable.
  5. Learning resoures can be accessed remotely.

In Healthcare
Some benefits of ICT in healthcare are as follows:

  1. Automated hospital information systems can help to improve quality of care.
  2. Decreased costs of treatment.
  3. ICT has significantly enhanced the services being provided and brought behavioural changes.
  4. This technology helps doctors, hospitals, the general public and all other medical care providers.
  5. Pharmaceutical industry is the industry that enjoys the biggest benefits of ICT.
  6. ICT has made E-Health possible.

Question 7. “Virtual schools are better than traditional schools.” Write reasons to support this statement.
Answer: A virtual school is a learning environment offered entirely on the Internet. All student services and courses are conducted through Internet technology. The virtual school differs from the traditional school through the physical medium that links administrators, teachers and students. It refers to an institution that is not “brick and mortar” bound.

Advantages
The advantages of virtual schools are as follows:

  1. Individualised instruction for all students.
  2. Lessons can be taught in a way that benefits students with various learning abilities.
  3. More time can be spent on lessons that are more difficult for students.
  4. Flexibility for the students to learn whenever and wherever they want.
  5. Students are self-directed and mature quicker as they manage their studies.
  6. Students can access learning 24 hours a day and learn at their own pace.

Disadvantages
The disadvantages of virtual schools are as follows:

  1. Undisciplined students will not succeed in the online environment.
  2. Puts more stress on the parents to provide guidance and tutoring.
  3. Parents need to monitor the student all day long as opposed to dropping the student at school where the student is monitored by teachers and staff.
  4. Students are more isolated and might not developed properly socially.
  5. Students would not receive personal one-on-one time with teachers.

Question 8. Give one word answer CBSE 2012

  1. Another name for junk mails.
  2. It is doing business online.
  3. It is the crime committed using computers and Internet.
  4. The programmer that breaks into secure systems with non-malicious intentions.
  5. Type of malware that is installed on user’s computer and collects information about user without his consent.

Answer:

  1. Spam
  2. E-Business/E-Commerce
  3. Cyber crime
  4. Hacker
  5. Spyware

Application Oriented Questions

Question 1. Amit installed an antivirus software to remove all the viruses from his computer.

  1. What is antivirus software?
  2. Name two actions performed by an antivirus software.

Answer:

  1. Antivirus software is used to identify, prevent and take action against malicious programs, such as viruses and worms, by deactivating or deleting them.
  2. Two actions performed by an antivirus software are as follows:
    (a) Scanning E-mail messages and their attachments.
    (b) Scanning and monitoring files and folders on your computer to ensure that they are not infected.

Question 2. It is an electronic messaging system used by various commercial organisations to send bulk messages to a large number of E-mail addresses. What is it?

  1. E-mail
  2. Spam
  3. SMS
  4. Adware

Answer: 2. Spam

Question 3. Shreenivasan is working for an IT firm where he needs to backup of his data of around 200 MB to 400 MB at the end of each day. Each day backup needs to archived separately for future reference. Suggest any two economic data backup devices, which he can use for this purpose.
Answer: DVD and Pen drive

Question 4. Mohan has downloaded few attachments in his mail to his system from Internet. When he opened those attachments there were multiple copies of the same file opened. After sometime his system got rebooted automatically. He is unable to find out why his system is not responding properly. Can you tell what happened to his system and give him some solutions? CBSE 2016
Answer: There is a virus (most likely worm) in Mohan’s computer, that has caused damage to data and files on his system. He should install antivirus software, such as Kaspersky, Quick Heal, McAfee etc., as the main defence against online problems. He should take backup of his files regularly.

Question 5. In a small office network, to protect every computer from hackers, virus or worm. Which statement do you think is True or False from the given options?

  1. Set Firewall Turned ON
  2. Install antivirus software.
  3. Allow users to use external disk drives.
  4. Download attachments from reliable source even without scanning. CBSE 2016

Answer:

  1. True
  2. True
  3. False
  4. False

Multiple Choice Questions [1 Mark each]

Q1. …………… stands for Malicious Software, is software designed to infiltrate a computer system without the owner’s informed consent. CBSE2011
(a) Blog
(b) Attachments
(c) Spam
(d) Malware
Answer: (d) Malware designed to interrupt ongoing computer operations, collect private information and gain unauthorised access to your system resources.

Q2. Which one of the following is not a malware? CBSE 2016
(a) Computer virus
(b) Spam
(c) Worm
(d) Application software
Answer: (d) Application software refers to the condition in which your computer stops working.
(a) Hang
(b) Virus attack
(c) Hacking
(d) None of these
Answer: (a) Hang refers to the condition in which your computer or a software stops working.

Q3. Which of the following is not a symptom of a virus attack?
(a) The computer begins to run slowly
(b) Unusual messages and graphics appear on the screen for inexplicable reasons
(c) Some programs or data files on the computer either become corrupt or are difficult to locate
(d) Your data is copied to another location
Answer: (d) Your data is copied to another location is not a symptom of a virus attack.

Q4. A good way to safeguard access to your computer is to protect it.
(a) Deadbolt
(b) Copyright
(c) Safemode
(d) Password
Answer: (d) Password is a good way to safeguard access to your computer to protect it.

Q5. Which of the following is the first computer virus?
(a) Brain
(b) Melissa
(c) Elk Cloner
(d) I Love You
Answer: (c) Elk Cloner is the first computer virus created by Richard Skrenta.

Q7. Out of the following, which one will be altered or modified by a computer virus? CBSE 2011
(a) Operating system
(b) Speed of network connectivity
(c) Application software
(d) All of the above
Answer: (d) All of the above

Q8. Which one of the following is not a way to get a computer virus? CBSE 2016
(a) Through E-mail attachments
(b) Through pen drive
(c) By typing on keyboard
(d) By downloading files
Answer: (c) By typing on keyboard is not a way to get a computer virus.

Q9. The at first glance will appear to be useful software but will actually do damage once installed or run on your computer.
(a) worm
(b) virus
(c) trojan
(d) spam
Answer: (c) The trojans are unauthorised programs placed inside a legitimate application.

Q10. A …….. is a virus that is often disguised as a useful computer program. CBSE 2012
(a) trojan horse
(b) hacker
(c) worm
(d) spam
Answer: (a) Trojan horse is a virus, i.e. often disguised as a useful computer program.

Q11. A ……. is a software program that is designed to copy itself from one computer to another, without human intervention. CBSE 2011
(a) trojan
(b) vims
(c) worm
(d) spam
Answer: (c) A worm is a self-replicating software program. It does not require another program to host it.

Q12. Which of the following is not an example of worm?
(a) MS-Blaster
(b) Sobig
(c) De bumper
(d) Melissa
Answer: (c) De bumper is a type of trojan horse.

Q13. Which of the following statements is incorrect in the context of a worm?
(a) It represents a category of malware
(b) It creates infections in a computer
(c) It is self replicating
(d) It cannot travel on its own
Answer: (d) Worm is self replicating software and thus, it can travel on its own.

Q14. A category of software that spies of your computer activities is
(a) De-ware
(b) Spyware
(c) Utilities
(d) Freeware
Answer: (b) Spyware is a category of software that spies computer activities.

Q15. The electronic equivalent of junk mail is known as CBSE 2014
(a) adware
(b) cyber fraud
(c) spam
(d) packets
Answer: (c) Spam is an electronic equivalent of junk mail.

Q16. Which of the following is not antivirus software?
(a) Norton Antivirus
(b) Melissa
(c) McAfee
(d) SmartCop
Answer: (b) Melissa is a macro virus, not an antivirus.

Q17. To avoid problems while working on the Internet, you should follow these precautions.
(a) Install antivirus on your computer
(b) Take the backup of your files regularly
(c) Do not click on unknown links
(d) All of the above
Answer: (d) All of the above

Q18. One limitation of antivirus programs is that they: CBSE 2016
(a) Sometimes start behaving like virus
(b) Are very expensive
(c) Harm the computer
(d) Can detect only those viruses for which they are programmed
Answer: (d) Antivirus can detect only those viruses for which they are programmed.

Q19. The programmers who break into secure systems for malicious purpose are CBSE 2014
(a) crackers
(b) hackers
(c) breakers
(d) burglars
Answer: (a) Crackers are the programmers that break into secure systems for malicious purpose.

Q20. A is someone who breaks into someone else’s computer system, often on a network; bypasses passwords or licenses in computer programs without malicious intent with a wish to learn and improve security.
(a) hacker
(b) cracker
(c) worm
(d) malware
Answer: (a) A hacker is a person who enjoys learning programming languages and about computer systems and their working.

Q21. A digital document issued to a Website by a certification authority on the Internet is called
(a) digital signature
(b) encryption
(c) digital certificate
(d) firewall
Answer: (c) A digital certificate is an electronic file that is issued by a certification authority to Websites.

Q22. You can transmit sensitive information, such as that relating to your credit card, by using
(a) PCI
(b) SET
(c) SSL
(d) Firewall
Answer: (c) SSL allows sensitive information such as credit card numbers to be transmitted securely.

23. Firewall:
(a) Amplifies weak outgoing signals to stronger ones
(b) Is the name of an open source browser
(c) Is the name of computer virus
(d) Prevents intruders from accessing your system
Answer: (d) A firewall can either be software based or hardware based and is used to prevent intruders from accessing your system.

Fill in the Blanks [1 Mark each]

Q1. ………… is the general term to refer to infectious software such as virus, worm, spyware etc.
Answer: Malware

Q2. A malicious program that is used to remove all information from your computer is known as ………
Answer: sweeper

Q3. A ……….. infects the files of the operating system.
Answer: boot sector virus

Q4. ……. and ………. are the two types of malware. CBSE 2011
Answer: Viruses, Worms

Q5. ……….. can decrease the space on hard disks by duplicating files.
Answer: Viruses

Q6. ……… is a program that appears harmless but actually performs malicious functions. CBSE 2014
Answer: Trojan horse

Q7. ……….. is a software program that is designed to copy itself from one computer to another. CBSE 2016
Answer: Worm

Q8. Unlike a computer virus, a ……….. can replicate itself automatically. CBSE 2011
Answer: worm

Q9. …………. is a type of malware that is installed on a user’s computer and collects information about user without their consent and knowledge. CBSE 2013
Answer: Spyware

Q10. Any crime committed using computers and Internet is termed as ………… CBSE 2013
Answer: cyber crime

Q11. ………. attack eats up all the resources of a system and halts it.
Answer: Denial of service

Q12. ……… is a computer program that detects, prevents and takes action to remove malicious software programs. CBSE 2016
Answer: Antivirus

Q13. Copy of data created for safe storage is …………
Answer: backup

Q14. ………… backup saves your data from natural disasters. CBSE 2012
Answer: Online

Q15. ……. is a type of backup in which only the data that changed, since last backup is saved.
Answer: Differential backup

Q16. A digital code attached to an electronic message to provide it unique identity is called ………… CBSE 2014
Answer: digital signature

Q17. ………. security technology establishes an encrypted link between a Web server and browser.
Answer: SSL

Q18. …… refers to the disparity of classification of person according to their knowledge of ICT and without it.
Answer: Digital divide

True or False [1 Mark each]

Q1. A virus may corrupt or delete data on your computer. CBSE 2011
Answer: True A virus may corrupt or delete data on your computer.

Q2. A virus is a harmful program, which one entering a computer, starts creating copies of itself.
Answer: True Virus is a malicious program that is designed to make a system sick, just like a real virus.

Q3. A worm is a self-replicating program which eats up the entire disk space. CBSE 2012
Answer: False Virus eats up the entire disk space.

Q4. Spyware is a type of malware but is not capable of collecting personal information. CBSE 2011
Answer: False Spyware is a type of malware used to collect personal information without his or her knowledge.

Q5. Adware is a ‘Software that posts unwanted advertisements on your computer.
Answer: True Adware is a software that is given to the user with unwanted advertisements embedded in the application.

Q6. Always scan the storage media before connecting it to your computer.
Answer: True You should always scan your storage media before connecting it to your computer.

Q7. SmartCop is an antivirus developed in India.
Answer: True SmartCop antivirus is developed in India.

Q8. Junk E-mails are also called spam. CBSE 2016
Answer: True E-mail spam, junk mail or junk newsgroup posting is a widely recognised form of spam.

Q9. Cracker is a person who breaks security to see what we have stored on our computers with mat intentions. CBSE 2016
Answer: True Cracker breaks security with mal intentions.

Q10. It is not necessary to regularly take back-up of important files. CBSE 2011
Answer: False A backup ensures that your computer data is protected or can be recovered.

Q11. CD is a storage device that is used to take the backup of your data.
Answer: True You can use different types of storage devices like CD, DVD to take the backup of your data.

Q12. You cannot keep the backup of your data online.
Answer: False In online backup, you send the data to a remote server through the Internet.

Q13. Backup is duplication of data for restoring purpose at a later time. CBSE 2014
Answer: True Backup is a process to copy the data and restore it, whenever required.

Q14. SET is a protocol developed by Visa and Mastercard.
Answer: True SET is a protocol developed by Visa and Mastercard. It ensures secure transactions over the Internet.

NCERT Solutions for Class 10 Foundation of Information Technology – Internet Services

NCERT Solutions for Class 10 Foundation of Information Technology – Internet Services

Very Short Answer Type Questions [1 Mark each]

Question 1. Write the purpose of search engine. CBSE 2005
Answer: The main purpose of search engine is to help people to find more information in any topic, which user wants.

Question 2. Give the name of any two Websites, which are used as a search engines.
Answer: www.google.com and www.altavista.com

More Resources for CBSE Class 10

Question 3. What do you understand by uploading a file on Internet? Name software used for it.
Answer: To transfer a file from your computer to a server is called uploading a file on Internet. FTP is the software which is used for it.

Question 4. Distinguish between FTP and Telnet.
Answer: FTP (File Transfer Protocol) facilitates the transfer of files from one point to another while Telnet is a connection protocol that allows a user to connect to a remote server.

Question 5. What do you understand by telnet?
Answer: Telnet is a protocol that facilitates remote login on a computer.

Question 6. What do you understand by downloading files from Internet?
Answer: Downloading is transferring files from a server to a client’s computer.

Question 7. What do you understand by remote login?
Answer: Remote login or remote access is the ability to get access to a computer or a network from a different computer.

Question 8. Give the name of any two Websites which are used to send E-mail.
Answer: www.gmail.com and www.rediffmail.com

Question 9. How can a Word document be sent alongwith an E-mail?
Answer: By attaching the Word file with an E-mail.

Question 10. Write one advantage and one limitation of E-mail over traditional mail.
or
Why is E-mail so popular over conventional mail?
or
Mention any two advantages of E-mail over conventional mail. CBSE 2010, 08, 04,03
Answer:
Advantages

  1. E-mail is extremely cost effective.
  2. E-mail takes lesser time for transmitting data than conventional mail.

Disadvantage

  1. Need of Internet connection to send/receive mail.

Question 11. How can video conferencing be helpful to teachers?
Answer: Using video conferencing, teachers can communicate with different school teachers and students to discuss different topics or attend seminars online.

Question 12. State one advantage of video conferencing over personal face-to-face business meetings.
Answer: Video conferencing allows you to interact with many people face-to-face without being at same place.

Question 13. How multiple E-mail addresses are defined in To, Cc, Bcc field?
Answer: By using comma between E-mail addresses.

Question 14. How many forms can E-learning occur?
Answer: E-learning can be CD-ROM based, network based, Intranet or Internet based.

Question 15. Give the name of five Websites for locating someone online.
Answer: Facebook, WhitePages, SuperPages, Bing and Yahoo search.

Question 16. How is newsgroup different from E-mail messages?
Answer: Unlike E-mail messages, which are visible only to the sender and specified recipients, newsgroup messages can be read by anyone, who view the group that they are posted in.

Short Answer Type Questions [2 & 3 Marks each]

Question 1. What is search engine? What is its usage? Give example.
or
What is a search engine? Give example of any one search engine. CBSE 2006, 02
Answer: A search engine is a Website that lets you search the Internet for Websites on specific topics. Search engines turn the Web into a powerful tool for finding information on any topic. There are several benefits of using search engine like,

  • Who is constantly on the computer everyday writing something.
  • Search engine provides a wealth of information for professional and personal use. e.g. Google

Question 2. When using a search engine, what does a minus sign used with keywords in the search box mean?
Answer: Search engine is a Website that provides the required data on specific content. It also allows users to enter keywords related to particular topics and retrieve information. The minus sign-in front of a word or phrase means that it includes first term but not the second term.

Question 3. How does FTP work?
Answer: FTP works on the principle of a client/server model. A FTP client program enables the user to interact with a FTP server program in order to access information and services on the server computer. To access FTP server program, users must be able to connect to the Internet or interact with FTP client program.

Question 4. Why uploading and downloading a file is required? Explain with example.
or
What is the need of uploading and downloading files?
Answer: When we need a file which is located at the server end, we have to download the file that means transmission of file from server to user’s computer. Similarly, if we want to share something like file, picture etc., we have to upload that file or picture on the Internet that means transmission of file from user computer to server.

Question 5. What is chatting? Is it necessary to be online while chatting?
Answer: Chatting is the textual or multimedia conversation oyer the Internet. It is a real-time communicatiofl between two users via computer. It is widely interactive text based communication process that takes places over the Internet. Yes, it is necessary to be online, while chatting.

Question 6. What is an E-mail? Write two advantages of an E-mail. CBSE 2012, 10
Answer: E-mail (Electronic mail) is a popular Internet service, which is used for sending or receiving messages electronically over a computer network.
The advantages are as follows:

  1. E-mail is a cost effective medium of communication.
  2. Ease of use.

Question 7. Mention some disadvantages of an E-mail.
Answer:

  • E-mail attachments can carry viruses.
  • Limited size of data file can be sent.
  • Hasty medium to convey emotions.
  • No guarantee that the mail will be read until the user logs on and check E-mail.

Question 8. Differentiate between E-mail and video conferencing.
Answer: Differences between E-mail and video conferencing are as follows:

E-mail Video Conferencing
E-mail refers to sending and receiving messages electronically. Video conferencing is similar to face-to-face communication between two or more people.
It is not necessary for sender and recipient to be online at the same time. It is necessary for sender and receiver to be online at the same time.

Question 9. Mention the services which are provided by transactional category of an E-banking.
Answer:

  • There are no geographical barriers and the services that can be offered at a minimum cost.
  • Through Internet banking, you can check your transactions at any time and as many times as you want to.
  • If the fund transfer has to be made outstation, where the bank does not have a branch, the bank would demand outstation charges, whereas with the help of online banking, it will be absolutely free for you.
  • Internet banking deploys the Internet as a medium for financial transaction.
    e.g. a customer login to his or her bank account by accessing the bank Website.

Question 10. Mention some benefits of video conferencing.
Answer: Some benefits of video conferencing are as follows:

  • It increases productivity
  • It saves money.
  • It saves time.
  • Many people can share videos at the same time.

Question 11. List some benefits of E-learning.
Answer: Some benefits of E-learning are as follows:

  • It is self paced.
  • It can work on any location and anytime.
  • Online computer based courses are available.
  • Reduces travel time and travel cost.

Question 12. What do you mean by E-shopping? Give three advantages of it. CBSE 2015
Answer: E-shopping or Online Shopping is the process of buying goods and services from merchants who sell their products on Internet.
Advantages of E-Shopping

  1. Finding a product online is much more easier than looking for it in the local store.
  2. Now-a-days online shopping is very reliable.
  3. Most of the stores provide money back guarantee.
  4. You have infinite options to choose a product.

Question 13. How multiple E-mail addresses are defined in To, Cc, Bcc field?
Answer: By using comma between E-mail addresses.

Question 14. How many forms can E-learning occur?
Answer: E-learning can be CD-ROM based, network based, Intranet or Internet based.

Question 15. Give the name of five Websites for locating someone online.
Answer: Facebook, WhitePages, SuperPages, Bing and Yahoo search.

Question 16. How is newsgroup different from E-mail messages?
Answer: Unlike E-mail messages, which are visible only to the sender and specified recipients, newsgroup messages can be read by anyone, who view the group that they are posted in.

Long Answer Type Questions  [5 Marks each]

Question 1. When using a search engine to search, then would you use quotation marks around search terms? CBSE 2007
Answer:

  • Quotation marks should be used around a phrase or search terms. Surrounding terms with quotation marks limit the search results to only those Web pages that contain the exact phrase, we have specified.
  • Doing this ensures that, the concept will be searched for as a whole and not picked apart by the search engine or we can say, without the quotation marks, the results will include any page that contains the words we have used regardless of what order those words are in.
  • e.g. typing death penalty without quotation marks could potentially retrieve all items that mention death, all items that mention penalty as well as the items about death penalty. This could lead to results that seem to have nothing to do with your topic. For best results, you should write “death penalty”.

Question 2. Transferring files through E-mail is restricted due to fill size. Justify.
Answer:

  • Over the Internet, a message will often pass through several mail transfer agents to reach the recipients. Each of these has to store the message before forwarding it on and many therefore, need to impose size limits.
  • The result is that while large attachments may internally send within an organisation, they are unreliable when sending across Internet.
  • e.g. In general, 10 MB is considered safe for the maximum size of an E-mail but, Google’s gmail service increased its limit to 25 MB.

Question 3. List some advantages and disadvantages of an E-mail.
Answer: Advantages of E-mail are as follows:

  1. Low cost We can send the E-mail to other person at a very low cost. It requires only Internet connection cost to send the E-mail.
  2. Speed E-mail can be sent at a very high speed.
  3. Waste reduction E-mail goes a long way towards reducing the cluster of papers in the modern office, not to mention saving many trees.
  4. Ease of use It is easy to send an E-mail as compared to traditional letter.

Disadvantages of E-mail are as follows:

  1. Hardware requirement You need a computer to read or print E-mail.
  2. Impermanent Your sent mail messages can be altered in all the ways.
  3. A hasty medium It is a limitation because E-mail is so easy to use, it is also easy to send a message that you later regret.
  4. Hard to convey emotions Without the extra clues of voice, posture and expression, it is easy to understand what someone really means in a message.

Question 4. Discuss the structure of an E-mail message.
Answer: In an E-mail message, you will see the following fields which are as follows:

  • To Mail-id of recipient.
  • Cc (Carbon copy) It allows you to send the same mail message to multiple recipients at the same time.
  • Bcc (Blind carbon copy) It allows the sender to send same mail message to multiple recipients without letting them know that some other person has also received the same message.
  • Subject It is the title of the mail message.
  • Body It contains the text of a message.
  • Attachments It allows you to attach one or more files or documents like Word document, image, video, Web page etc.
  • Other options Other options like emoticons, bold, italics hyperlink etc., are used to make message more interactive.
  • Formatting Using the formatting tap, you can edit the message.
  • Send button Once you complete the E-mail message, click at Send button to send the E-mail message.

Question 5. Write short notes on the following terms: CBSE 2014

  1. Information retrieval
  2. E-banking
  3. Online shopping
  4. E-reservation
  5. E-groups

Answer:

  1. Information retrieval It refers to the process of accessing the information that is stored on the Internet.
  2. E-banking It refers to the automated delivery of new and traditional banking products and services directly to customers over the Internet.
  3. Online shopping It refers to the activity of purchasing items from different Websites on Internet.
  4. E-reservation It refers to the process that helps users to reserve movie, train and airline tickets as well as hotel rooms through Internet.
  5. E-groups It refers to an online environment where users sharing common views and ideas that come together to meet and discuss topics of their interest.

Question 6. Give the benefits of social networking.
Answer: Benefits of social networking are as follows:

  • People sharing views can connect and form a group.
  • Individuals from all around the world can connect and thereby know about new cultures and languages etc.
  • It is an easy and cost effective way to reach your consumers and people in your network.
  • It helps in building credibility amongst the customer.
  • For business purposes, connecting with your customers on a personal and professional level will make them loyal to your company and brand.
  • Connecting with people in your friend’s networks or your work networks will benefit you in the long run. It will help you to gain connections which may be useful in the future.

Question 7. What are the dangers associated with social networking? CBSE 2013
Answer: Dangers associated with social networking are as follows:

  1. Lack of anonymity Social networking usually requires you to input your name, location, age, gender and many other types of personal information.
  2. Scams and harassment Being online you are at risk of facing cases of harassment, cyber stalking, online scams and theft identity.
  3. Time consuming If you are new to social networking, learning the process can be very time consuming.
  4. The illusion of security The Internet is definitely not secured as social or human hackers can hack one’s personal account.
  5. Isolation Social networking sites do not provide isolation. As, once information is posted to a social networking site, it is no longer private.

Application Oriented Questions

Question 1. Now-a-days people can communicate to each other with the help of E-mail facility. It is gradually replacing other communication means such as telephone, post.

  1. What is meant by the term E-mail?
  2. Which one of the following is an advantage of using E-mail compared to using post?
    (a) Same delivery time anywhere in the world.
    (b) The E-mail can contain pictures.
    (c) You can send it anywhere.

Answer:

  1. E-mail means Electronic Mail. It is a basic Internet service for sending or receiving messages electronically over the Internet.
  2. (a) Same delivery time anywhere in the world.

Question 2. Somya wants to collect some information regarding the history of India.

  1. What is the fastest and easiest way of doing this that saves her efforts as well?
  2. Write down the following steps in the correct order to show, how Somya could find information.
    (a) Type keywords.
    (b) Look at the list of Websites starting at the top.
    (c) Load a search engine.
    (d) Click the search button.
    (e) Open the Web browser.

Answer:

  1. Online search using search engine.
  2. (e) Open the Web browser
    (c) Load a search engine
    (a) Type keywords
    (d) Click the search button
    (b) Look at the list of Websites starting at the top.

Question 3. Sharvan Joshi is a student of Political Science and is a keen researcher of political issues related to various countries and states. He wants to share his research and his own opinions on these issues on day-to-day basis with everyone on World Wide Web (WWW).
He is also interested in collecting views of others to enhance his research and knowledge related to his area of interest. He belongs to a middle class family and can not afford his own Website. Also being a non-technical person he can not create a dynamic Website to deal with day-to-day inputs.

  1. Suggest an easy way for Sharvan to achieve the same.
  2. Also, name two popularly used free services that can help Sharvan in this regard.

Answer:

  1. Sharvan should develop a blog.
  2. Twitter and Facebook.

Question 4. As life gets busy, it becomes difficult for everyone to keep track with school and college friends, old colleagues, old neighbours and favourite teachers. It is important to keep in touch with all your near and dear ones.
At times, people sitting miles away doing similar kind of activity or solving similar kind of problems can help you to achieve goals faster by sharing their experience.
Similarly, people belonging to different socio-economic background can change your perspective and can enhance your understanding of various cultures. CBSE 2011

  1. Suggest any two real-time tools that are suitable for the above mentioned activities.
  2. What is the generic name used for such tools?

Answer:

  1. Twitter and Facebook.
  2. Social networking.

Question 5. Mary has a prepaid Internet plan. She has a data limit of 14 GB. The average size of an E-mail with an attachment that Mary downloads is 1.4 MB. Approximately, how many E-mails can Mary download without exceeding her data limit?
(a) 1.4
(b) 14
(c) 1000
(d) 10000
Answer: (d) 10000

Question 6. Anila works in a Multinational Company (MNC) and needs to work online from home also. She requires fast Internet connection. Which type of Internet connection in your view would be best suited for her? Apart from browsing on the Internet she will require uploading/ downloading of files to/from remote sites.
Which protocol will help her to perform this activity?
Answer: She should prefer broadband connection. FTP protocol will help her in uploading and downloading of files.

Question 7. Video conferencing is a face-to-face communication between two or more people which are not at the same place.
Suggest which equipments that will be needed for this purpose.
Answer: Computer, video camera, microphone and network such as Internet.

Question 8. Sam is researching Australian river system for his geography lesson. He typed ‘rivers’ into a search engine. The screenshot shows some results of his search.
Rivers Australia-www.rivers.com.au
www.rivers.com.au
Rivers Australia-Clothing and Footwear Merchants. Rivers is a national retailer, which has a wide range of footwear and clothing for men and women.
This site has….
Home Page-Northern Rivers Catchment Management Authority
www.northern.cma.nsw.gov.au
Welcome to the Northern Rivers
Catchment Management Authority…
The Northern Rivers
CMA was established in 2005 by the New South Wales government to …
Rivers Receptions
www.rivers.net.au
Gold Coast River Cruise, surfers paradise, dinner cruise, sightseeing whale tours, whale watching tours, functions, weddings, corporate events, boat charters,…
Longest Rivers – Geo Science Australia
www.ga.gov.au
Scientific Topics….Geographic Information…
The lengths of the 10 longest rivers in Australia were re-calculated in September 2008 …….. .
Which Website would most likely provide accurate scientific information about rivers?
(a) www.rivers.com.au
(b) www.northern.cma.nsw.gov.au
(c) www.rivers.net.au
(d) www.ga.gov . au
Answer: (d) www.ga.gov.au

Question 9. Ram wants to attach a CD-ROM to an E-mail. Can it be possible? Also, give some items that can be attached to an E-mail.
Answer: No, it is not possible.
You can attach following items to an E-mail:

  • A Word document
  • A digital photograph
  • A program
  • A slide show
  • Audio file
  • Video file
  • Web page

Question 10. Mr. Ravindra wants to send some money to her wife who is in some other city. Tell him the easiest way to transfer money through bank.
Answer: E-banking is the easiest way to transfer money through bank.

Question 11. Gargi set-up the following Auto Delete options on her Web-based E-mail account.

What is the most likely reason, she has set the Trash folder to delete ‘Older than 1 month’?
Gargi wants
(a) all E-mails to have a delete date.
(b) all sent E-mails to be deleted after 1 month.
(c) all deleted E-mails to only remain in the Trash folder for 1 month.
(d) all E-mails in her inbox to be moved to the Trash folder after 1 month.
Answer: (c) all deleted E-mails to only remain in the Trash folder for 1 month.

Multiple Choice Questions [1 Mark each]

Q1. A search engine is a program to search
(a) for information
(b) Web pages
(c) Web pages for specified index terms
(d) Web pages for information using specified search terms.
Answer: (d) A search engine is a software system that is designed to search for information on the Web pages.

Q2. Which of the following statements about search engine is true?    CBSE 2011
(a) Search engines discriminate between good and bad sites.
(b) Search engines have fixed hours, when we can use them.
(c) Search engines are waste of time as they do not provide relevant information.
(d) Search engine is a program designed to search for information on the Web using keywords.
Answer: (d) Search engine is a program designed to search for information on the Web using keywords.

Q3. A software that searches through a database of Web pages for particular information is known as
(a) domain
(b) E-mail client
(c) modem
(d) search engine
Answer: (d) Search engine searches a software through a database of Web pages for particular information.

Q4. Which software browse the Internet in a systematic manner? CBSE 2013
(a) Web crawler
(b) Web browser
(c) Indexing software
(d) Search algorithm
Answer: (a) Web search engine works by storing information about many Web pages, retrieved by a Web crawler.

Q5. Shri wants to search about computer vendor in Meerut excluding Dell category. Which of the following search query best suits his requirements?
(a) Computer vendor Meerut Dell
(b) Computer vendor Meerut not Dell
(c) Computer vendor + Meerut – Dell
(d) Computer vendor + Meerut + Dell
Answer: (c) Computer vendor + Meerut – Dell

Q6. Which of the following would you use to transfer files over the Internet?
(a) FTP
(b) E-mail
(c) HTTP
(d) Browser
Answer: (a) FTP is used to transfer files between computer on a network.

Q7. FTP is referred to as
(a) Force Transfer Protocol
(b) File Transport Protocol
(c) File Transfer Partition
(d) File Transfer Protocol
Answer: (d) FTP is a protocol through which Internet users can upload files from their computer to a Website. In which, FTP stands for File Transfer Protocol.

Q8. When you copy a Web page or a file from a server to your local computer, this process is called
(a) conferencing
(b) downloading
(c) uploading
(d) None of these
Answer: (b) Because we store information from a server computer to a user computer.

Q9. Image files uploaded and downloaded over the Internet can be processed with a compression application. Why are image files compressed before transmitted over Internet?
(a) to increase security
(b) to make them easier to open
(c) to reduce transmission time
(d) to improve the quality of images.
Answer: (c) Image files are compressed before transmitted over Internet to reduce transmission time.

Q10. Identify the software that helps you in sending and receiving an E-mail:
(a) MS-Office
(b) Internet Explorer
(c) MS-Outlook
(d) None of these
Answer: (c) MS-Outlook is preferred E-mail client which is used for sending or receiving an E-mail.

Q11. Bcc field contains the list of recipients. Bcc stands for     CBSE 2014
(a) Basic carbon copy
(b) Blind carbon copy
(c) Blind client copy
(d) Basic client copy
Answer: (b) Bcc denotes the Blind carbon copy.

Q12. A two way video conversation among multiple participants is called
(a) video chatting
(b) video talking
(c) video conferencing
(d) video watching
Answer: (c) Two or more people hear and see each other, share whiteboard and other applications through video conferencing.

Q13. ……. services typically include reviewing account activity and balance, sending electronic payments and transferring funds between accounts electronically.
(a) E-banking
(b) E-reservation
(c) E-posting
(d) E-mail
Answer: (a) E-banking provides all transactional and non-transactional activities.

Q14. Which of the following sites, would you prefer to buy books? CBSE 2011
(a) www.yahoomail.com
(b) www.sun.com
(c) www.msn.com
(d) www.amazon.com
Answer: (d) www.amazon.com is the world’s largest online retailer and a best site for buying books.

Q15. E-reservation is a process of making reservations of
(a) tickets
(b) hotel rooms
(c) tourists packages
(d) All of these
Answer: (d) E-reservation is a process of making reservation of tickets, hotel rooms, tourists package etc.

Fill in the Blanks [1 Mark each]

Q1. Information is retrieved through Internet using ………….. .
Answer: search engine

Q2. Linkedln is an example of ………….. Website.
Answer: social networking

Q3. FTP is responsible for downloading …………. from computer network.
Answer: files

Q4. ……….. is a real-time communication between two or more users via computer. CBSE 2013
Answer: Chat

Q5. E-mail is the process of sending and receiving messages ………… .
Answer: electronically

Q6. ………… elements help to express emotions or feelings in E-mail or text messages.
Answer: Emoticon

Q7. ……….. helps us to learn anywhere using Internet.
Answer: E-learning

Q8. Computer Based Training (CBT) is a type of ……….. .
Answer: E-learning

Q9. ………… can be used to ease the development of building E-learning platforms. CBSE 2014
Answer: Supporting tools (like HTML)

Q10. ……….. allows customers to conduct financial transactions on a secure Website. CBSE 2011
Answer: E-banking

Q11. Internet can bemused to get reservation of trains and air planes through ……….. service.
Answer: E-reservation

Q12. ……….. helps to create and maintain social relationship.
Answer: Social networking

Q13. …………is the online directory to find the information about people.
Answer: SuperPages

True or False [1 Mark each]

Q1. AltaVista is used for searching of available Internet connection.
Answer: False AltaVista is a search engine, which is used for searching information on a particular topic.

Q2. FTP utilises TCP/IP protocol suite.
Answer: True FTP is the easiest way to transfer files between computers via an Internet and utilises TCP (Transmission Control Protocol)/IP (Internet Protocol) systems to perform uploading and downloading tasks.

Q3. Downloading of files means transferring files from host computer to the Internet. CBSE 2011
Answer: False Downloading of files means transferring of files from an Internet to your computer.

Q4. Chat rooms are actual rooms, where chat session can take place. CBSE 2011
Answer: False Chat often occurs in a virtual chat room, which can include different peoples who may or may not know each other.

Q5. Plain text (txt) E-mail messages can be read by any type of E-mail application.
Answer: True Plain text E-mail contains plain text without any formatting options such as bold, italic, colored fonts etc., so these can be read by any type of E-mail application.

Q6. Video conferencing enables two or more people to only see one another.
Answer: False People can also communicate with the help of video conferencing. It often includes multiple people at each location.

Q7. E-learning only supports text materials.
Answer: False E-learning includes numerous types of media that deliver text, audio, images, animation and streaming videos.

Q8. We can make groups of our friends and family members on a social networking site. CBSE 2011
Answer: True Social networking provides various sites like Facebook and Orkut for making groups.

NCERT Solutions for Class 10 Foundation of Information Technology – Microsoft Access

NCERT Solutions for Class 10 Foundation of Information Technology – Microsoft Access

Very Short Answer Type Questions [1 Mark each]

Question 1. What is the default extension of a MS-Access database?
Answer: The default extension of a MS-Access database is .accdb.

Question 2. How NUMBER and DATE/TIME type fields are different in Access? Give any one difference.
Answer: NUMBER data type contains numeric values, while DATE/TIME type field contains date and time values.

More Resources for CBSE Class 10

Question 3. Give five names of database templates used in MS-Access 2007.
Answer: Assets, Contacts, Events, Faculty and Issues.

Question 4. What happens when you enter numbers in a Text data type field? CBSE 2008
Answer: Numbers are accepted as a text values.

Question 5. Name the data type that should be used to store Student’s Admission numbers.
[Examples of Admission number; S100, S101, S102] CBSE 2008
Answer: Data type should be Text.

Question 6. Give the names of five data types used in MS-Access.
Answer: Text, Memo, Date/Time, Yes/No and Currency.

Question 7. What happens when text is entered in a Number type field? CBSE 2005
Answer: When we enter text in a Number field and press Enter or press Tab key, MS-Access displays a message that “The value you entered does not match the Number data type in this column.”

Question 8. Is it necessary to define a field type for a field in MS-Access?
Answer: Yes, it is necessary to define a type of a field while entering data into a field.

Question 9. Write one example of data for which Memo data type is used. CBSE 2008
Answer: To store resume of an employee in Employee table is an example of Memo data type.

Question 10. Which property should be set, if it is required that ‘Delhi’ is automatically entered in the city field when a new record is created? CBSE 2008
Answer: Default Value property should be set.

Question 11. Which field property sets limits on the data that is entered? CBSE 2006
Answer: Fixed Field Length or Field Size property sets the limits on the data entered.

Question 12. For which type of field, “Default Value” property is not applicable? CBSE 2007
Answer: Attachment, AutoNumber, OLE Object.

Question 13. What is the use of AutoNumber type field used in MS-Access?
or
Define the AutoNumber data type in MS- Access. CBSE 2006
Answer: AutoNumber data type starts with a number for the first record and it automatically increases the number by a set of amount for each record.

Question 14. Which field property specifies whether the field can be left empty when entering data into a record? CBSE 2005
Answer: Required property

Question 15. What are two areas of the Design View of the table? CBSE 2006
Answer: Field description and Field properties.

Question 16. What happens, if you do not enter a caption for a field?
Answer: In this case, Field Name is used as a label.

Question 17. If the data type of a field is set to Text, what will be its number range?
Answer: Its range will be 0 to 255.

Question 18. What are the views in which fields can be deleted in MS-Access? CBSE 2006
Answer: Datasheet View and Design View.

Question 19. What is Fixed Field Length?
Answer: It refers to a type of field length in which the number of characters you enter will be fixed.

Question 20. What are the commands contained by Create tab?
Answer: The Create tab has various commands such as Table Design, Table Templates, Pivotchart, Form, Report, Macro and Query Wizard.

Short Answer Type Questions [2 & 3 Marks each]

Question 1. How will you create a blank database in MS-Access 2007?
Answer: Creating a Blank Database
To create a new blank database, you need to perform the steps which are as follows:

  • Step 1 Start Microsoft Access 2007, then Getting Started with Microsoft Office Access page will appear.
    NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 1
  • Step 2 Click on Blank Database icon, the Blank Database pane will appear at the right hand side as shown in the below figure:
    NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 2
  • Step 3 Type a name for the database in the File Name: box. If you do not give a file name extension, Access automatically adds the default extension .accdb.
    To change the location of the file from the default, click on Browse (Sir ) icon for changing the location.
  • Step 4 Click Create button.
    Access creates the database with an empty table named Table 1, which will open in Datasheet View.
    The cursor is placed in the first empty cell in the Add New Field column as shown in following figure:
    NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 3

Question 2. Explain field length with its types.
Answer: It refers to the maximum number of characters that a field can contain. Each character requires one byte for its storage.
Field length is of two types which are as follows:

  1. Fixed length field It is a type of field length in which the number of characters you enter in a field is fixed. These are present in Format option in Data Type Formatting group (in Datasheet tab) such as Currency, Euro, Percent etc.
  2. Variable length field In this type of field length, the number of characters is not fixed. Actually, the number of characters of the data entered in the field decide the field length.
    The field length or field size of each data type are as follows:
    NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 4

Question 3. What are Datasheet View and Design View?
Answer: In MS-Access 2007, two types of views are available to create a table as follows:

  1. Datasheet View It provides a visual way to create a table. It is a simple view which arranges the data in rows and columns and allows to edit the data, but not allows to change the format of the database, other than minor changes (such as insert or delete columns).
  2. Design View It allows you to create or change the table. You can set or change every available properties for each field and can open existing tables in Design View, add, remove or change fields.

Question 4. Write down the steps to insert a new row into the table. CBSE 2003
or
How can you add a record in the table in Datasheet View?
Answer: Insert a Record
Steps to insert a record in a Datasheet View are as follows:

  • Step 1 When you create a table, a new blank record automatically appears in the second row of the table
    or
    If you enter data in the last record, a new blank record will automatically appear at the end of the table.
  • Step 2 Type data into the fields.
  • Step 3 When you have finished adding records in the datasheet, save it and close it.

Question 5. How can you delete an Access table from a database?
Answer: Steps to delete a table are as follows:

  • Step 1 Find a table in the All Access Objects list.
  • Step 2 Right click on a table and select Delete.
  • Step 3 Now, MS-Access will display the prompt message to confirm that you want to delete the table or not.
  • Step 4 Click on Yes button to delete a table with its contents.

Question 6. When Memo data type is preferred over Text type for a field? CBSE 2008
Answer: When the length of the field is more than 255 characters. Text data type is not capable to store the project description because its length can not be more than 255 characters so, Memo data type is preferred over Text data type.

Question 7. Distinguish between Text and Memo data types. CBSE 2006
or
How are field types Text and Memo different from each other? Explain with the help of an example. CBSE 2007
Answer: Distinguishing between Text and Memo are as follows:

Text Memo
It is used for relatively short entries. It is used for long text paragraphs.
It can store upto 255 characters only. It can store upto 65536 characters.
It uses field size property to control the number of characters. It does not use field size property.
e.g. Emp_name e.g. Emp_description

Question 8. When is AutoNumber data type preferred over Number data type? CBSE 2008
Answer: When you want to increment the number automatically as you add or delete the records. AutoNumber data type is preferred. Also, if the table does not have a primary key, then AutoNumber uniquely identifies the record.

Question 9. A text field is initially 40 characters long and one record has an entry in this field in MS-Access database. The field value contains 28 characters, including spaces. Now, you have reduced the length of the field to 20 characters. What will happen to the field value?
Answer: Since, the new field length is 20 characters long. So, this field will contain only left 20 characters including spaces and the remaining data will be discarded. Thus, the data from the right side of the field will be lost.

Question 10. Write one example of data field for which you would set the Required property to Yes? CBSE 2008
Answer: In a table, when we declare a field as a primary key, then the field’s Required property must be set to Yes because in a primary key field, we need to enter data always.

Question 11. What is the purpose of Default Value field property? CBSE 2007, 05
Answer: If there is a situation when you want to enter same value for all records. Then, to avoid typing the same thing many times, you can set as a Default Value property.

Question 12. What do you mean by the Entry Required field information?
Answer: Entry Required field decides whether entering data in the field is necessary or not. So, if Entry Required is set to Yes, then that field must have some value in it. By default, Entry Required is set to Yes.

Question 13. What is a primary key? How do we set a primary key? CBSE 2007, 06, 05, 04, 03, 02
or
Define primary key. How do you set it in MS-Access? CBSE 2006
Answer: Primary key is the key which is used to uniquely identify the records into the table. To set the primary key you have to follow steps given below:
Step 1 Select the field that you want to set as a primary key.
Step 2 Click Primary Key button from the Design tab.
or
Right click on the selected field and select Primary Key.

Question 14. Give any one difference between freezing a field and hiding a field. CBSE 2003, 02
Answer: When you freeze a field, then no matter how far you scroll down in a datasheet, you will always see the frozen field. But, when you hide a field, then it means that field is not displayed on the screen.

Long Answer Type Questions  [5 Marks each]

Question 1. What is database template? Give the description of five templates, used in Microsoft Access 2007.
Answer: Template is a complete tracking application with predefined tables, forms, reports, queries, macros and relationships. Each template creates a complete end-to-end solution that you can use either with no modification or customise to suit your business needs.

MS-Access 2007 includes a collection of database templates, which are as follows:

  1. Assets It is used to create an assets database to keep track of assets, including asset details and owners.
  2. Contacts It is used to create a contacts database to manage information about people such as customers, partners etc.
  3. Issues It is used to create an issues database to manage a set of issues or problems. You can assign priority and follow the progress of issues from start to finish.
  4. Events It is used to create an events database for tracking, upcoming meetings, deadlines and other important events.
  5. Marketing projects It is used to create a marketing projects database to track time-sensitive deliverable and vendor status for projects.
  6. Projects It is used to create a projects tracking database to track multiple projects and assign tasks to different people.

Question 2. Explain MS-Access Ribbon.
Answer: The Ribbon contains a series of command tabs. In MS-Access 2007, the main command tabs are as follows:

  • Home
  • Create
  • External Data
  • Database Tools
  • Datasheet

Command Tab Common Things You Can Do
Home
  • Select a different view from the Views group. Copy, cut and paste from the Clipboard group.
  • Set the current font characteristics and alignment from the Font group.
  • From Rich Text group apply formatting to a memo field.
  • Work with Records (New, Save, Delete, Totals, Spelling, More).
  • Sort & Filter the records.
  • Find the records.
Create
  • Create a new blank table.
  • Create a new table using a Table Templates. Create a list on a SharePoint Lists.
  • Create a new form based on the active table or query.
  • Create a new PivotChart.
  • Create a new report based on the active table or query.
  • Create a new query, macro, module or class module.
External Data
  • Import and Export data.
  • Collect data via E-mail.
  • Work with online SharePoint Lists. Saved imports and exports.
Database Tools
  • Launch the Visual Basic editor and run a macro. Create and view table relationships.
  • Show/Hide object dependencies or the property sheet.
  • Run the Database Documenter or analyse performance and table.
  • Move data to Microsoft SQL Server or an Access (Tables only) database.
  • Run the Linked Table Manager.
  • Encrypt database with Password.
  • Manage Access Add-ins.
Datasheet
  • Provides a datasheet, pivottable, pivotchart and design view.
  • Manages fields and columns of the table.
  • Set the data type and formatting.
  • Create table relationships and object dependencies.

Question 3. Write one example of each field, for which you would use CBSE 2007, 06, 05

  1. Text data type
  2. Memo data type

Answer:

  1. Text data type It allows to store text or combination of text and numbers as well as numbers that don’t require calculations such as phone number. This data type allows maximum 255 characters to store.
    e.g. if Employee is a table and Emp_No, Name and Description are fields, then name will be a Text field. Because, name is a character entry field.
  2. Memo data type It allows long blocks of text that uses text formatting, e.g. in the Employee table, the field Description will be of Memo data type, because the length of description of employee may be large.

Question 4. Distinguish between Number and AutoNumber data type field. Give example of each. CBSE 2007, 05
Answer: Distinguishing between Number and AutoNumber data

Number AutoNumber
It holds numeric values which are used for calculations. It allows to store numbers that are automatically generated for each record.
The field length of this data type is 1,2, 4, 8 or 16 bytes. The field length of this data type is 4 bytes.
It does not support field property New values. It supports the field property New values.
e.g. in a table Employee, Salary is a Number type field. e.g. in a table Bank, the AccountNo is a AutoNumber field as, for every new customer, this field will automatically increase and will provide a new number.

Question 5. Which field properties are used in Office Access 2007? Give the purpose of each field property.
Answer: Field Properties
After you create a field and set its data types, you can also set additional field properties. Setting field properties can give the database extra flexibility and functionality.
Some important properties of field are as follows:

Field Property Description Supported by
Field Size It limits the number of characters that can be typed into a field. AutoNumber, Text, Number.
Format It customises the way that text or numbers are displayed and printed. Text, Memo, Number, DateTime, Currency, Auto Number, Yes/No, Hyperlink.
Input Mask It sets up the field to receive data in a particular format. Text, Number, DateTime, Currency.
Caption It adds a label to the field to assist the user. All data types.
Default Value Sets a value to appear in the field before you enter any data. It is used to avoid the type. Text, Memo, Number, Date/Time, Currency, Yes/No, Hyperlink.

Validation Rule

A condition that must be meet before the data is accepted into the database. Text, Memo, Number, DateTime, Currency, Yes/No, Hyperlink.
 

Validation Text

This appears if a validation rule is not satisfied. Same as validation rule.
Required Makes data entry compulsory, so that field can not be left blank. Text, Memo, Number, Date/Time, Currency, OLE Object, Hyperlink, Attachment.
Indexed To speed up queries, sorting and grouping operations or to prevent users from entering duplicate values. Text, Memo, Numbers, Date/Time, Currency, Auto Number, Yes/No, Hyperlink.
Smart Tags Attaches smart tag to the field. Text, Memo, Number, Date/Time, Currency, AutoNumber, Hyperlink.
Text Align Specifies the alignment (i.e. general, left, center etc.) of text within a control. Text, Memo, Number, Date/Time, Currency AutoNumber, Yes/No, OLE Object, Hyperlink.

Application Oriented Questions

Question 1. Pronita is a programmer in an institution and is asked to handle the records containing personal information of the teachers teaching in the institution.
Use the information to give the answer of the following questions (1) to (3).

  1. Suggest five held names, which you think must be present in the table Teacherlnfo and why?
  2. Give the data type of the suggested fields.
  3. Which held is most likely to be the key field and why?

Answer: Suggested five fields are as follows:

  1. TCode —> To store the code of the teachers.
    TName —> To store the name of the teachers.
    TSubject —> To store the name of subjects for which the teacher is placed in the institution.
    Address —> To store the address of the teachers.
    Salary —> To store the monthly income of the teachers.
  2. TCode —> Text
    TName —> Text
    TSubject —> Text
    Address —> Text
    Salary —> Number
  3. TCode is most likely to be the key field because it has a unique value for each of the records.

Question 2. The following table named SummerCamp shows part of the information kept on children attending the summer camp in Shimla.

NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 6
Answer the following questions:

  1. State the number of fields in’the above table.
  2. State the number of records in the above table.
  3. Give one reason why SummerCamp would add a record.
  4. Give one reason why SummerCamp would edit a record.
  5. Give one reason why SummerCamp would delete a record.
  6. Give any two data types used in the table.

Answer:

  1. Number of fields-6
  2. Number of records-7
  3. If a new child joins the SummerCamp, then SummerCamp would add a record in the table.
  4. If a child is shifted from one group to another, then SummerCamp would edit a record in the table.
  5. If any child leaves the SummerCamp, then SummerCamp would delete a record of that child from the table.
  6. Text and Date/Time.

Question 3. Consider the following database:

NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 7
Answer the following questions:

  1. Write the name of the field that contains numeric data.
  2. Identify the primary key field in the database.
  3. Identify the field type of the DateofSale field.
  4. Identify the names of the fields that contain textual data.
  5. The given table contains how many fields and records?
  6. Which property should you use, if you want to make sure that the QtySold entered is less than 10?

Answer:

  1. Qty Sold and Amount fields
  2. ProductCode field
  3. Date/Time data type
  4. ProductCode, ProductName and CustomerName fields
  5. 6 fields and 5 records
  6. Validation Rule

Question 4. Look at the given table called ‘Item’ and answer the questions. CCE 2011
NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 8

  1. Suggest the data types of all the fields.
  2. Which two fields can act as the primary key from the above table?

Answer:

  1. ItemID —> Text
    ItemName —> Text
    ItemStock —> Number
    ItemDOP —> Date
    QuantityPurchased —> Number
  2. ItemID and ItemName can act as primary key.

Question 5. Damini is a programmer in an institute and is asked to handle the records containing information of students. Suggest any 5 fields name and their data type of students database. CBSE 2013
Answer:
NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 9

Question 6. Answer the following questions based on the database given below: CBSE 2013
NCERT Solutions for Class 10 Foundation of Information Technology - Microsoft Access 10

  1. Identify the primary key and justify your answer.
  2. Suggest suitable data type for Unit_Cost and justify your answer.
  3. If the database is sorted in ascending order of UnitCost. What is the product name of last record?
  4. How will you ensure that Supplier_No must not be empty?
  5. To add the details of new product, what should the user add: record or field? Write the steps for the same.
  6. How will you ensure that ‘1’ must appear in Supplier_No, if no value is entered?
  7. How many records and fields are there in the above table?
  8. It is needed to add photograph of the product in the database. Which is suitable data type for the same?

Answer:

  1. The primary key of the given table Product will be Prod _Id because no two products have same Product_Id. So, it will be uniquely identify for each record into the table.
  2. The suitable data type for the field Unit_Cost is Number because this field in the table contains value in numbers only.
  3. Crayons
  4. By setting the Required property to Yes.
  5. To add the details of new product the user should add a record. The steps are as follows:
    • Step 1 Open the database.
    • Step 2 Open the table in which you want to add a record in a Datasheet View.
    • Step 3 If you open the table, a new blank record will automatically appear at the end of the table.
    • Step 4 Type the data into the fields.
    • Step 5 Save the table.
  6. By setting the property Default Value which is to be set as 1.
  7. Records = 8, Fields = 8
  8. The data type OLE Object is suitable for adding the photograph of the product into the table.

Multiple Choice Questions [1 Mark each]

Q1. Microsoft Access is an example of
(a) Computer
(b) DBMS
(c) CPU
(d) Device
Answer: (b) MS-Access is the DataBase Management System (DBMS) found in the Microsoft Office suite.

Q2. Which of the following is not a part of a table structure in MS-Access?
(a) Field Name
(b) Field Type
(c) Primary Key
(d) Number of Records
Answer: (d) From the given options Field Name, Field Type Primary Key are the part of a table.

Q3. In a MS-Access database, which component is not present?
(a) Formula Bar
(b) Tables
(c) Queries
(d) Forms
Answer: (a) MS-Access contains various components, i.e. Tables, Queries, Forms, Reports, Macros and Modules.

Q4. Which of the following is not a data type?
(a) Picture/Graphic
(b) Date/Time
(c) Text
(d) Number
Answer: (a) From the given options Date/Time, Text and Number are the data types.

Q5. What data type should you choose for a zipcode field in a table? CBSE 2011
(a) Text (b) Number (c) Memo (d) All of these
Answer: (b) Number data type should be chosen for a zipcode field in a table.

Q6. For what, Memo data type is used?
(a) To add table
(b) To store objects created in other programs
(c) For long text entries
(d) For short text entries
Answer: (c) As we know, Memo provides character upto 65536 so, it is used for long text entries.

Q7. The default data type for a field is
(a) Number
(b) AutoNumber
(c) Currency
(d) Text
Answer: (d) The default data type for a field is Text.

Q8. Single and double are the types of
(a) Integer data type
(b) Decimal numbers
(c) Text data
(d) None of these
Answer: (a) Integer data type provides single and double data types.

Q9. You create a table in MS-Access. You decided to create two fields RollNo and DateofBirth, what will be the data type for DateofBirth column?
(a) Number
(b) Text
(c) Yes/No
(d) Date/Time
Answer: (d) Date/Time will be the data type because it allows to store date and time format.

Q10. Which data type helps you to handle input that is in boolean format?
(a) OLE Object
(b) Attachment
(c) Yes/No
(d) None of these
Answer: (c) Yes/No will allow boolean value.

Q11. Which property is used to add a label to the field to assist the user?
(a) Default value
(b) Caption
(c) Format
(d) Indexed
Answer: (b) Caption is used to add a label to the field for assisting to the user.

Q12. Which field property helps in setting data validation in a table?
(a) Caption
(b) Default Value
(c) Decimal Places
(d) Validation Rule
Answer: (d) Validation Rule property specifies a condition that must be met before the data is accepted into the database.

Q13. What is the purpose of the description column in table Design View? CBSE 2011
(a) To describe the data that should be entered in each field
(b) To define the data type applied to each field within the table
(c) To enter lookup data, the field should be refer to the table
(d) None of the above
Answer: (a) A Design View of table provides three columns as Field Name, Data Type and Description. The description column provides the facility to write description about Field Name.

Q14. An integer takes a storage size of
(a) 2 bytes
(b) 1 byte
(c) 4 bytes
(d) 8 bytes
Answer: (a) An integer takes a storage size of 2 bytes.

Q15. When you define a field for a table, which of the following parameters do Access always consider optional? CBSE 2013
(a) Field Name
(b) Data Type
(c) Field Size
(d) Description
Answer: (d) Description field of table is optional, as it depends on database designer that he/she wants to describe field or not.

Q16. A command tab which allows to create the table in an interactive manner is called
(a) Home
(b) Table
(c) Form
(d) Create
Answer: (d) MS-Access provides a command tab named Create which allows to create the table in an interactive manner.

Fill in the Blanks [1 Mark each]

Q1. Microsoft Office Access 2007 includes a set of database ………… which are designed for specific business needs.
Answer: templates

Q2. In a table, columns are called ………. and rows are called ………… .
Answer: fields, records

Q3. The different objects supported by MS-Access are tables, queries, ………… and reports.
Answer: forms

Q4. The ………….. field property makes data entry compulsory, so that the field cannot be left blank.
Answer: Required

Q5. To store object like image, you need to create a field in a table, having field type as …………. .
Answer: OLE Object

Q6. …………. is a field which is used as a primary key and numbers each record sequentially. CBSE 2001
Answer: AutoNumber

Q7. For storing lengthy information in a field ………….. data type is used.
Answer: Memo

Q8. In a Text type data field, we can enter a maximum of ………….. characters. CBSE 2011
Answer: 255

True or False [1 Mark each]

Q1. When you open a database, the Ribbon appears on the left side of the MS-Access 2007 window.
Answer: False Because ribbon appears on the top of the window.

Q2. A Text data type cannot allow number entry.
Answer: False As, it can include both text as well as numbers.

Q3. Memo data type allows you to store character type values in a table. CBSE 2011
Answer: True Memo data type allows upto 65536 characters.

Q4. Memo data type allows you to store only 255 characters in the table.
Answer: False Memo data type is used when character size is more than 255.

Q5. The Datasheet View displays the data in a table in tabular format. CBSE 2011
Answer: True A datasheet is a simple view of data arranged in rows and columns.

Q6. Design View allows users to enter data in the table.
Answer: False Because Design View is used to edit the table design only.

Q7. A query is used to retrieve data from the database based on one or more criteria. This database object is not supported by MS-Access 2007.
Answer: False Because MS-Access 2007 supports the database object query.

NCERT Solutions for Class 10 Foundation of Information Technology – HTML

NCERT Solutions for Class 10 Foundation of Information Technology – HTML (HyperText Markup Language)

Very Short Answer Type Questions [1 Mark each]

Question 1. HTML is a markup language. Expand the term HTML. CBSE 2002
Answer: HyperText Markup Language.

Question 2. Give examples of a container element in HTML. CBSE 2009
Answer: <HEAD>, <TITLE>, <BODY>.

More Resources for CBSE Class 10

Question 3. Give the examples of an empty element in HTML. CBSE 2010, 09
Answer: <BR>, <HR>

Question 4. Write the extension of HTML code file. CBSE 2005
Answer: .html or .htm

Question 5. What is the method of viewing the source code of the current page in the Web browser?
Answer: Right click on the Web page and then select View Source from the context menu.

Question 6. While writing HTML code, how do you find out how your Web page would look like? CBSE 2007
Answer: For this, open the HTML code file in a Web browser.

Question 7. Write HTML code to set the image ‘Pen. jpg’ stored in ‘My Pictures’ folder in C: as the background of your Web page. CBSE 2007
Answer: The HTML code is <BODY background=“C:\My Pictures \Pen.jpg”>.

Question 8. Identify the error(s) in the following HTML code. Also, write the correct code. CBSE 2008
<BODY color=“red” background =“school.j pg”>
Answer: The error in the code is that in place of color attribute there should be bgcolor.
The correct code is
<BODY bgcolor =“red” background =“school.jpg”>

Question 9. Write one basic difference between bgcolor and background attributes.
Answer: The bgcolor attribute is used for coloring the background of the document while background attribute specifies a background image for a document.

Question 10. Name two common graphic files formats that most browser recognise. CBSE 2007
Answer:  The two common graphic file formats are: .gif and .jpg.

Question 11. What is the use of width attribute in HTML? CBSE 2002
Answer: Width attribute specifies the width of a horizontal line in pixels or percent. Its default value is 100%.

Question 12. What do you understand by option alink used with <BODY> tag? CBSE 2010, 04
Answer: alink attribute defines the color of the link as it is being clicked on the Web page. The default color of alink is red.

Question 13. What do you understand by option vlink used with <BODY> tag? CBSE 2005, 04
Answer: vlink attribute defines the color of a link after it has been visited. The default color of vlink attribute is purple.

Question 14. Explain the following statement:
<BODY bgcolor=“yellow” text =“red” vlink=“blue”> AI2010
Answer: The code will set the Web page background color as yellow, text color as red and visited link color as blue.

Question 15. How the font size of a single line on a Web page be changed? CBSE 2005
Answer: The font size of a single line can be changed by using the following HTML code:

<FONT size =+1> This is a HTML text </FONT>.

Question 16. What is the use of <FONT> tag in HTML code? Write any two options used with this tag. CBSE 2002
Answer: The <FONT> tag is used to change the size, color and type face of the text on HTML page. It uses attributes such as size, face etc.

Question 17. Identify the errors and write the correct HTML code      CBSE 2011

  1. <BODY background = ‘‘red”>
  2. <FONT type =‘‘arial ”>

Answer:

  1. <BODY bgcolor=“red”>
  2. <FONT face=“arial”>

Question 18. Why do we insert comments in an HTML document, even though they are not displayed on a Web page? CBSE 2005
Answer: So, that user will be able to understand coding effects and meaning.

Question 19. What is the method of using comment line in the HTML code? CBSE 2005, 03
Answer: In HTML code, the comment line is declared as <!–Any text –>

Question 20. Which heading element gives the most prominent headings? CBSE 2007
Answer: <H1>

Question 21. Which tag is used to insert heading of third level on a Web page? CBSE 2007
Answer: <H3>

Question 22. What is the purpose of using the tags <H1>…<H6>? CBSE 2004
or
What is the method of using headings in HTML? CBSE 2004
or
Write the difference between <H1> and <H6> heading tags. CBSE2008
Answer: <HTML> provides six levels of headings. <H1> is the largest heading level while <H6> is the smallest heading level. These headings help us in obtaining a uniform look and feel for the document.

Question 23. How can anyone insert horizontal line in a Webpage? CBSE 2005
Answer: Using <HR> tag, anyone can insert horizontal line in a Web page.

Question 24. How would you display text in the title bar of a browser? CBSE 2005
Answer: To display text in a title bar of a browser, use the <TITLE> tag inside the <HEAD> tag in the HTML document.

 e.g.
 <HTML>
 <HEAD>
 <TITLE> HTML document </TITLE>
 </HEAD>
 </HTML>

Question 25. Explain the following statement:
<HR size=“5” align=”right” width=“60”> CBSE 2004
Answer: The given HTML code produces a horizontal rule with size 5, aligning right on page and of width 60.

Question 26. Write the HTML code to display horizontal line of red color. CBSE 2015
Answer: <HR color = “red”>

Question 27. Write the expansions of the following tags used in HTML. CBSE 2004

  1. <BR>
  2. <I>
  3. <HR>
  4. <U>

Answer:

  1. <BR> — Break line
  2. <I> — Italic
  3. <HR> – Horizontal Rule
  4. <U> — Underline

Question 28. Write the expansions of the following tags used in HTML. CBSE 2003

  1. <A>
  2. <!>

Answer:

  1. <A> – Anchor tag
  2. <!> – Comment tag

Question 29. Which HTML tag is used to insert an image in a page? Write an option used with this tag. CBSE 2002
Answer: The <IMG> tag is used to insert an image in a page. This tag uses the options like src, alt etc.

Question 30. What do you mean by src? CBSE 2007
Answer: The src is an attribute of <IMG> tag. It gives the URL of the image document.

Question 31. Write the full form of the following tags: CBSE 2008

  1. <LI>
  2. <IMG>

Answer:

  1. <LI>-List item
  2. <IMG>-Image

Question 32. What are the different forms of list used in HTML? Name any two. CBSE 2004
Answer: The different forms of list are ordered list and unordered list.

Question 33. What are two basic tags in HTML lists?
Answer: <OL> and <UL>

Question 34. What does a <LI> create when used in an unordered list?
Answer: <LI> creates bulleted points for each list item.

Question 35. Can you change the style of numbers in an ordered list?
Answer: Yes, we can change the style of numbers in an ordered list.

Question 36. Write the expansions of the following tags. CBSE 2002

  1. <P>
  2. <UL>
  3. <OL>
  4. <B>

Answer:

  1. <P>-Paragraph
  2. <UL>-Unordered list
  3. <0>-Ordered list
  4. <B >-Bold

Question 37. Find error(s) in the following HTML code segment. Rewrite the correct code. CBSE 2007
<UL style = square>
<LI> Water Bottles
<LI> Lunch Box
<LI> Handkerchief
</UL>
Answer: There should be type instead of style. So, correct line is <UL type =“square”>

Short Answer Type Questions [2 & 3 Marks each]

Question 1. What is the purpose of HTML? CBSE 2008
Answer: HTML (HyperText Markup Language) is used to create Web pages and tells the browser how to display them. It designs the basic layout and formatting of Web pages.
HTML is made up of elements or tags and attributes, which work together to identify document parts and tell browser how to display them.

Question 2. What is an attribute in HTML? CBSE 2007
Answer: HTML attribute is a modifier of HTML element. Attributes provide additional information about HTML elements. Attributes are always specified in rhe start tag of an element, after the element’s name. These come in name/value pairs like name=”value”.

Syntax

<TAG name = “val-ue”> (content to be modified by the tag) </TAG>

Where, TAG is the HTML element, name is the name of an attribute, set to the provided value.

Question 3. What is the purpose of using HTML tags and attributes for Web designing? CBSE 2013
Answer: HTML (HyperText Markup Language) is used to create Web pages. It designs the basic layout and formatting of Web pages by using tags and attributes.
The tag’s name tells the tag’s purpose and the attributes that follow the tag name give the additional information of the Web browser.

Question 4. Differentiate between container and empty elements used in HTML. CBSE 2011, 10, 02
or
Distinguish between container and empty tags. CBSE 2007
or
Sriram software solution has used different tags in its Website some are empty while majority are container. Give the detailed difference between container and empty elements. CBSE 2013
Answer:

Container elements HTML container elements require a starting as well as an ending tags.

e-g <HTML>, <HEAD>, <BODY>.

They affect the text appearing between their starting and ending tags.

Empty elements HTML empty elements require just a starting tag and not an ending tag.

e.g.
<IMG> , <BR> , <HR>.

They just carry out the job assigned to them.

Question 5. What is the <TITLE> tag? CBSE 2006
Answer: This tag defines the title of the document. Title must be a simple text and should not be same as the file name. It is placed between <HEAD> and </HEAD> tags.
NCERT Solutions for Class 10 Foundation of Information Technology - HTML 1

Question 6. Find the error(s) in the following code and underline those errors.

<HTML>
<HEAD>
<TITLE> Example </HEAD>
</TITLE>
<BODY> ........... </BODY>
</HTML>

Answer:

</TITLE> should be placed before </HEAD>
The correct code is

<HTML>
<HEAD>
<TITLE> Example </TITLE>
</HEAD>
<BODY> </BODY>
</HTML>

Question 7. What is the use of <BODY> tag in HTML code? Write any two attributes used with this tag. CBSE 2010, 03
or
What does <BODY> tag in HTML contain? Write any two attributes used with this tag. CBSE 2008, 03
Answer: The <BODY> tag encloses the main part of the document. It contains all the contents of a document. Various markup elements are allowed within the body to indicate heading, paragraphs, lists, hypertext links, images and so on. The <BODY> tag uses various attributes such as background, bgcolor etc.

Question 8. Which tag do we use to change the size and style (face) of the text of an HTML file viewed on a Web browser? Also, explain any two attributes used with this tag. CBSE 2004
Answer: <FONT> tag is used to change the size and style (face) of the text of an HTML file displayed on a Web browser. Two attributes of <FONT> tag are as follows:

size: It specifies the size of the text inside a <FONT> tag.

Syntax

<F0NT size=“number”>

face: It specifies the font name of the text inside a <FONT> tag.

Syntax

<FONT face=“Font_family”>

Question 9. Write the HTML code to set the bgcolor as pink, heading level 2, text This is pink background’ as black and topmargin 60.
Answer:

<HTML>
<BODY bgcolor = "pink” topmargin=“60” text= “black”>
<H2>This is pink background</H2>
</BODY >
</HTML>

Question 10. List any two types of alignment that can be applied to a paragraph in HTML. CBSE 2008
Answer: Any two types of alignment that can be applied to a paragraph are as follows:

Left alignment: This type of alignment aligns text in left. This is the default alignment.

Syntax

<P align=“left”> </P>

Right alignment: This type of alignment aligns text in right within the paragraph.

Syntax

<P align=“right"> </P>

Question 11. Write the HTML code to create a paragraph whose text color is blue. CBSE 2015
Answer:

<P>
<FONT color=“blue”>
</FONT>
</P> or
</P style = “color : blue”>

Question 12. What is the function of <HR> tag in HTML? Give any two attributes used with it.
or
List any two attributes of <HR> tag. CBSE 2008, 09
Answer: <HR> tag is used to draw horizontal lines in the Web page. This horizontal line divides the screen horizontally. <HR> tag creates a shaded horizontal line between text. Attributes of <HR> tag are size, align and width.

Question 13. Difference between <BR> and <HR> tags.
Answer: <BR> tag is used to insert a line break which means the text/image following the tag will be moved to the next line while <HR> tag is used to insert horizontal line that can divide the information into sections.

Question 14. Explain the following with the help of an example: CBSE 2010

  1. <U>……..</U>
  2. <I>……..</I>

Answer:

  1. <U>……..</U>. This element is used to underline the text.
    e.g. <U> School </U>
    Output
    School
  2. <I>…….</I>. This element marks up text in italic form.
    e.g. <I> Hello </I>
    Output
    Hello

Question 15. How is <OL> tag different from <UL> tag? CBSE 2004
Answer: <OL> tag is used to indicate a list item as contained in an ordered or numbered form. <UL> tag is used to indicate a list item as contained in an unordered or bulleted form.

Question 16. What is the purpose of using type attribute used in lists? CBSE 2003
Answer: type attribute specifies the type of numbers or bullets depending on whether the list item is inside an ordered list or unordered list.

Question 17. What is the purpose of using start attribute used in lists? CBSE 2003
Answer: This attribute is used to change the beginning value of an ordered list. Normally, the ordered list begins with 1. It lets you further customise an HTML ordered list by setting a new starting digit for the ordered list element.

Syntax

<OL start=“value” type = “value”>

e.g.
<HTML> 
<HEAD>
<TITLE>
Ordered List with type attribute
</TITLE>
</HEAD>
<BODY>
<0L start=‘1" type=“1” >
<LI> Rose </LI>
<LI> Lotus </LI>
<LI> Lily </LI>
</OL>
</B0DY>
</HTML>

Output

  1. Rose
  2. Lotus
  3. Lily

Question 18. What is the output of the following segment of the HTML code? CBSE 2010

<BODY>
<HR width=‘‘50%”>
<UL>
<LI> MANGO </LI>
<LI> APPLE </LI>
<LI> GRAPES </LI>
</UL> </BODY>

Answer: 

Output


  • MANGO
  • APPLE
  • GRAPES

Question 19. Explain the following with the help of an example.
(a) <B>……..</B>
(b) <OL type =“1”>
Answer:
(a) <B> tag makes the text bold.
e.g. <B> This is a bold text </B>
Output
This is a bold text

(b) <OL> tag with attribute type of value “1” displays the lists of items with arabic numerals,

e.g.<OL type=“1”>
<LI> Mango </LI>
<LI> Apple </LI>
<LI> Banana </LI>
</OL>

Output
1. Mango 2. Apple 3. Banana

Question 20. What is the <OL>……..</OL> tag? Name any two attributes used with this tag. CBSE 2009
Answer:

<OL>………</OL> tag is used for the ordered list, i.e. a list of items to be displayed in a particular order. An ordered list is also a list of items. An ordered list starts with the <OL> tag. Each list item starts with the <LI> tag.

e.g.
<OL>
<LI> A </LI>
<LI> B </LI>
</OL>

Two attributes of <OL> tag are: start and type.

Question 21. What is definition list?
Answer: Definition List
This is a list of items, with a description of each item. HTML definition lists (<DL>) are indented list without any bullet symbol or any number in front of each item. This list elements have a unique array of tags and elements; the resulting lists are similar to those you would see in a dictionary.

Tags used in definition lists are as follows:

  • <DL> Opening tag that detines the start of the list.
  • <DT> List item that defines the definition term.
  • <DD> Definition of the list item.
  • </DL> Closing tag that defines the end of the list.

Question 22. Identify error(s) in the following HTML code. Also, write the correct code. CBSE 2008

<OL> type=“a” start=“d”>

Answer:

<OL> tag’s attributes should be placed in between <and>. In <OL> list, the start attribute must be set to a numeric value and type attribute specifies ‘A’, ‘a’, T ‘i’ or ‘1’. So, the correct code is

<OL type=“a” start="4”>

Question 23. Write a code to produce the following output.
NCERT Solutions for Class 10 Foundation of Information Technology - HTML 2
Answer:

<HTML><BODY>
<DL><DT><B>Computer</B>
<DD>An electronic machine
<DT><B>CPU</B>
<DD> Brain of computer </DL> 
</BODY></HTML>

Long Answer Type Questions  [5 Marks each]

Question 1. What are the role of <HTML>……….</HTML> tags in HTML? CBSE 2009
The <HTML> and </HTML> tags are used to mark the beginning and end of the HTML document. The basic purpose of this tag is to make the browser and text editor identify that the document is an HTML document.This is a container element and does not affect the appearance of the document. The <HTML> element contains only the <HEAD> and <BODY> elements, which in turn contains a number of other elements.
The most basic structure of all possible Web documents is
<HTML>
……………
…………..
…………..
</HTML>
Answer:

Question 2. Explain the tag < HEAD >         CBSE 2006
Answer: <HEAD> Tag
This element is a container for all the header elements. The <HEAD> tag must include a title for the document that can include scripts, styles, meta information and many more. The second line of your HTML document should be <HEAD>.

The content contained in the head section of your document provides information to the browsers and search engines but, it is not displayed directly on the Web page. The end of the head tag is indicated by </HEAD>.

e.g.
<HTML>
<HEAD>
Header information comes here
</HEAD>
</HTML>

Question 3. Distinguish between <BASEFONT> tag and <FONT> tag with the help of an example of each. CBSE 2009, 08
Answer:

<BASEFONT> tag is used to specify the default setting of the text. It takes the same attributes as <FONT> tag. The only difference is that the <BASEFONT> tag affects all the text that follows until a new tag affect that is encountered. <FONT> tag affects the text that comes upto its closing </FONT> tag.

e.g.
<HTML>
<BODY>
<BASEFONT size=“2” color=“Red">
Hi Everyone
<FONT size=“4”>
HTML is a Web language </FONT>
It is used for creating Web pages.
</BODY>
</HTML>

Here, in the above example only the text enclosed in <FONT> </FONT> is affected by font setting, rest of the text gets affected by basefont setting.

Question 4. What is a <BASEFONT> tag? Name any two attributes used with this tag. CBSE 2009
Answer: <BASEFONT> tag specifies a default font size, color and face for the font, the browser will use to render normal document text, i.e. the text, for which no other font setting has been provided. It occurs only for one time in the document. The attributes of this tag are size and face.

Question 5. Where can a comment be placed in an HTML document? How is it useful? CBSE 2008
or
How do you give a comment in HTML?
or
Why are comment included in HTML document? With the help of an example, explain how they are included in HTML code?
or
How are comments inserted in HTML code? Explain with an example. CBSE 2007, 06, 05
Answer: Comments are inserted in HTML code with the help of <!—….—> tag. To insert the text as comment, type the text between <!– and —> tag, then that text will be ignored by the browser and invisible for the user.

e.g.
<HTML><BODY>
<!--This is a comment.-->
This is a book
</BODY><HTML>

Question 6. Identify which one is an attribute or a tag?

  1. Body
  2. Type
  3. Br
  4. Link
  5. Face

Answer:

  1. Body – Tag
  2. Type – Attribute
  3. Br – Tag
  4. Link – Attribute
  5. Face – Attribute

Question 7. Carefully study the Web page given here. Identify 10 tags (Structural as well as formatting tags) that have been utilised in creating this Web page and write usage of each of them. CBSE 2013
NCERT Solutions for Class 10 Foundation of Information Technology - HTML 3
Answer:

  1. <HTML>……….</HTML> It encloses the entire HTML document and tells the browser that it is reading an HTML document and to display as such.
  2. <HEAD>………</HEAD> It encloses the head of the HTML document and it is used to contain face information about the document.
  3. <TITLE>…..</TITLE> It indicates the title of the document and appears in a browser’s bookmark file.
  4. <BODY>……</BODY> It is used to enclose the body (text, images, tags, links) of the HTML document.
  5. <H1>………</H1> It is used to define the heading level 1.
  6. <UL>…….</UL> It is used to create an unordered list.
  7. <LI>…..</LI> It is used to define each list item in the list.
  8. <U>…..</U> It is used to underline the text.
  9. <HR> It is used to insert a horizontal line.
  10. <CENTER>….. </CENTER> This tag is used to align the text centrally.

Question 8. Explain the topmargin and leftmargin attributes of <BODY> tag. CBSE 2006
Answer:

topmargin
Sets a topmargin (distance between the top of the document and the top of the browser window) of your body element.
Syntax
<B0DY topmargin=“value”>

e.g.
<HTML>
<HEAD>
<TITLE> Topmargin </TITLE>
</HEAD>
<BODY topmargin=“65”>
LearCBSE is the best website for CBSE students.
</BODY>
</HTML>

Output

leftmargin
Sets a left hand margin (distance between the left side of the document and the left edge of the browser window) of your body element.
Syntax
<BODY 1eftmargin=“value”>

e.g. 
<HTML>
<HEAD>
<TITLE> Leftmargin </TITLE>
</HEAD>
<BODY 1eftmargin=“65”>
LearCBSE is the best website for CBSE students.
</BODY>
</HTML>

Question 9. Write HTML code to display various bullet types.
Answer:

<LI>Lotus</LI>
<LI>Rose</LI>
</UL>
<UL type = “square”>
<LI>Sun</LI>
<LI>Hoon</LI>
</UL>
</BODY>
</HTML>

Output
NCERT Solutions for Class 10 Foundation of Information Technology - HTML 5

Question 10. Distinguish between <P> tag and <BR> tag with the help of an example. CBSE 2005
Answer: Distinguishing between <P> tag and <BR> tag are as follows:

<P> tag <BR> tag
It is a container element. It is an empty element.
It is used to define a paragraph of the text on the Web page. It is used to insert line break.
It inserts line break with extra space in the beginning. It does not insert any extra space.
This tag has an attribute align. This tag has no attribute.
e.g.
<HTML>
<BODY>
<P> This ts a paragraph.</P>
</BODY>
</HTML>
e.g.
<HTML>
<BODY>
This is a 1 ine break <BR> into the Web document.
</BODY>
</HTML>

Question 11. Give HTML code for the following output
NCERT Solutions for Class 10 Foundation of Information Technology - HTML 6
Answer:

<HTML>
<BODY>
<UL type="disc”><B>Mazedar Restaurant
</B><LI><B>Appetizers</B>
<OL type =“i”>
<LI> Veg spring rol1s
<LI> Honey chilly
</OL>
<LI><B>Soups</B>
<UL type = “square”>
<LI> Veg hot and Sour soup </UL> <OL type = “a”>
<LI> North India <LI> South India <OL type = “1”>
< LI > I d 1 i e s <LI> Dosa
</OL> 
</OL>
</UL></BODY>
</HTHL>

Question 12. Write HTML code to display ordered lists.
Answer:

<HTML>
<HEAD>
<TITLE>Many Ordered List</TITLE>
</HEAD>
<BODY>
<I>Numbered list</I>
<OL>
<LI>Sun</LI>
<LI>Moon</LI>
</OL>
<I>Letters 1is t </1 >
<OL type = “A”>
<LI>Sun</LI>
<LI>Moon</LI>
</OL>
<I>Lowercase letters starting from 3rd 1etter</I>
<OL type = “1” start = "1”>
<LI>Sun</LI>
<LI>Moon</LI>
</OL>
<I>Roman numbers</I>
<01 type=“l”>
<LI>Sun</LI>
<LI>Moon</LI>
</OL>
<I>Lowercase roman number list starting from 5th number</I>
<OL type = “1”>
<LI>Sun</LI>
<LI>Moon</LI>
</OL>
</BODY>
</HTML>

Output
NCERT Solutions for Class 10 Foundation of Information Technology - HTML 7

Multiple Choice Questions [1 Mark each]

Q1. HTML is a CBSE2011
(a) package
(b) software
(c) markup language
(d) None of these
Answer: (c) HTML is a markup language which is used to define the layout and attributes of WWW document.

Q2. HTML tags are enclosed in
(a) curly brackets
(b) square brackets
(c) double quotes
(d) angular brackets
Answer: (d) HTML tags are enclosed within angular brackets (< and >).

Q3. Which of the following tag identifies the document as an HTML document?
(a) <HTML>
(b) <HEAD>
(c) <BODY>
(d) <P>
Answer: (a) tag identifies the document as an HTML document.

Q4. Container elements in HTML require     CBSE 2015
(a) starting tag
(b) ending tag
(c) starting and ending tags
(d) None of the above
Answer: (c) In HTML, container elements are required as both starting and ending tags.

Q5. HTML tags are
(a) in uppercase
(b) case sensitive
(c) in lowercase
(d) not case sensitive
Answer: (d) HTML tags are not case sensitive means we can write tags either in uppercase or lowercase.

Q6. Which type of tags used by HTML?
(a) tags only for image
(b) user defined tags
(c) tags only for linking
(d) fixed tags defined by the language
Answer: (d) HTML provides predefined and fixed tags.

Q7. Which program do you need to write HTML code?
(a) Spreadsheet
(b) Access
(c) Notepad
(d) None of these
Answer: (c) From the given options, Notepad is useful program to write HTML code.

Q8. An example of HTML editor is
(a) Notepad
(b) Dreamweaver
(c) Microsoft Frontpage
(d) All of these
Answer: (d) HTML provides various text editors like Notepad, Dreamweaver etc.

Q9. To create an HTML page, you need
(a) text editor
(b) Web browser
(c) Both (a) and (b)
(d) None of these
Answer: (c) Because text editor is required to write HTML code and Web browser is needed to display the page.

Q10. Which of the following is the correct code of HTML page?

(a) <HTML>
<TITLE> Hello
</TITLE>
</HTML>

(b) <HTML>
<HEAD>
<TITLE> Hello
</TITLE>
</HEAD>
</HTML>

(c) <HTML>
<BODY> Hello
</HTML>

(d) <HTML><HEAD> Hello
<BODY>
</HTML>

Answer: (b) Because <TITLE> tag must close inside the <HEAD> tag.

Q11. Tags and text that do not display directly on the page afe placed in
(a) body
(b) table
(c) head
(d) title
Answer: (c) Information in <HEAD> tag is not displayed directly in Web page. It is used to identify the matter (tags) used in a Web page.

Q12. A Web page normally consists of
(a) head and body
(b) top and bottom
(c) body and font
(d) body and title
Answer: (a) From the given options, a Web page normally consists of head and body.

Q13. Which section is used for text and tags that are shown directly on your Web pages?
(a) Meta
(b) Head
(c) Body
(d) Table
Answer: (c) Information in <BODY> tag is directly displayed on Web pages.

Q14. Where do you place the <TITLE> tag in a HTML?
(a) BODY
(b) HEAD
(c) TITLE
(d) FONT

Answer: (b) <TITLE> tag is placed in the <HEAD> tag.

Q15. Which attribute is not supported by a <BODY> tag? CBSE 2013
(a) bgcolor
(b) size
(c) text
(d) link
Answer: (b) size is not an attribute of <BODY> tag.

Q16. What will happen if the background image is smaller than the browser’s window?
(a) It will leave a blank space at the bottom of your page
(b) It will be repeated
(c) It will be stretched
(d) It will not be displayed
Answer: (b) When the background image is smaller than the browser’s window then it will be shown in boxes in repeated pattern.

Q17. Why should you specify a background color, if you are using an image for the actual background of your page?
(a) So the text shows up better
(b) The background color will be shown until the image loads
(c) In case the image does not fit right
(d) None of the above
Answer: (b) We have to use background color because if in any case image is not displayed then atleast background color will be shown on that place.

Q18. Which attribute of <BODY> tag specifies the color of visited links in a document?
(a) vlink
(b) alink
(c) link
(d) None of these
Answer: (a) vlink attribute specifies the color of visited links in a HTML document.

Q19. Choose the correct HTML tag for the largest heading.
(a) <H2>
(b) <H4>
(c) <H6>
(d) <H1>
Answer:(d) <H1> tag provides the largest heading in HTML.

Q20. Which of the following will give smallest size of the text? CBSE 2014
(a) <H3>
(b) <H6>
(c) <H2>
(d) <H4>
Answer: (b) From the given options, <H6> tag displays the smallest size of heading text.

Q21. In a Web page, you can place
(a) 2 levels of headings
(b) 6 levels of headings
(c) 4 levels of headings
(d) 7 levels of headings
Answer: (b) Web page provides six levels of headings.

Q22. The default alignment for paragraph is
(a) left
(b) right
(c) center
(d) justified
Answer: (a) The align attribute of <P> tag provides various alignments like left, right, center and justify. But by default, its alignment is left.

Q23. Which of the following HTML container tags do you apply to text for formatting the text as a paragraph?
(a) <PARAGRAPH> ……. c/PARAGRAPH>
(b) <PARA> ………. </PARA>
(c) <P> ……… </P>
(d) None of the above
Answer: (c) <P>…….</P> is a container tag, which is used for formatting text.

Q24. Which of the following is not a container element? CBSE 2013
(a) P
(b) B
(c) OL
(d) HR
Answer: (d) HR is an empty tag because it has no closing tag.

Q25. The style element holds the document for setting
(a) font, color and alignment
(b) font, color, alignment and border
(c) color, alignment and border
(d) None of the above
Answer: (b) Because they are used to give a better look and feel to the Web documents.

Q26. The tags used for specifying the style in HTML are
(i) <B> (ii) <I> (iii) <M> (iv) <L>
Choose the correct one
(a) (i) and (ii)
(b) (i) and (iii)
(c) (ii) and (iv)
(d) (i), (ii) and (iii)
Answer: (a) Because these two tags are text formatting/styling tags.

Q27. Which of the following tag is used to make a list that lists the items with numbers?
(a) <DL>
(b) <UL>
(c) <OL>
(d) None of these
Answer: (c) <OL> is the ordered list that starts with a number like 1, A, a, i and I etc.

Q28. Which of the following is not HTML list? CBSE 2013
(a) Ordered
(b) Unordered
(c) Definition
(d) Detailed
Answer: (d) Detailed list is not a type of HTML list.

Q29. In an unordered list, it is necessary to enclose each item in CBSE 2013
(a) <LI> tag
(b) <UL> tag
(c) <I> tag
(d) <OL> tag
Answer: (a) Each item must be enclosed in <LI> tag either in ordered list or unordered list.

Q30. Which option do you have while making bulleted lists?
(a) Disc, circle, square
(b) Square, polygon
(c) Disc, circle, rectangle
(d) Disc, oval, polygon
Answer: (a) Bulleted list provides various values like disc, circle and square.

Q31. Which one of the following list type that will create a bulleted list? CBSE 2014
(a) Unordered
(b) Ordered
(c) Definition
(d) All of these
Answer: (a) Unordered list provides various types of bullets like square, disc and circle.

Q32. Which of the following will produce a solid circle bullet when given as value of type with <UL>?
(a) Circle
(b) Disc
(c) Square
(d) Rectangle
Answer: (b) A solid circle bullet use the type disc.

Q33. To create a square bulleted list, use
(a) <UL type=”circle”>
(b) <OL type= “square”>
(c) <ULtype=”square”>
(d) <UL start= “square”>
Answer: (c) Square bulleted list is the part of unordered list.

Q34. In an ordered list, each item cannot be preceded with CBSE 2013
(a) Counting numbers
(b) Arabic numbers
(c) Roman numerals
(d) Bullets
Answer: (d) In unordered list, bullets are used while counting numbers, arabic numbers and roman numbers are used in an ordered list.

Q35. To create a numbered list with A, B, … use
(a) <OL type=”A”>
(b) <OL start=”A”>
(c) <OL begin=”A”>
(d) <OL starts=“a”>
Answer: (a) The given list uses the uppercase letter for each item so, the correct syntax is <OL type=“A”>

Q36. To start a list with number 3, we should write CBSE 2015
(a) <OL start=”3″>
(b) <OLtype=”3″>
(c) <OL value=”3″>
(d) All of these
Answer: (a) The correct syntax for start a list with number 3 is <OL start = “3”>.

Q37. To start a list using circles, use
(a) <UL type=”round”>
(b) <OL start=”l”>
(c) <UL =”circle”>
(d) <UL type =”circle”>
Answer: (d) Because circular list starts with unordered list type circle.

Q38. To start a numbered list with regular numerals, use
(a) <OL type=”A”>
(b) <OL type=”r”>
(c) <OL type=”r”>
(d) <OL type=”u”>
Answer: (b) Because regular numbering is the natural numbers starting from 1, 2, 3, … etc.

Q39. If you want to make a list of items in the form of terms and their descriptions, then you can create a …………. list.
(a) ordered
(b) unordered
(c) definition
(d) nested
Answer: (c) A definition list is a list of items, with a description of each item.

Fill in the Blanks [1 Mark each]

Q1. HTML is a subset of ……… .
Answer: SGML

Q2. An element that only has a starting tag and no ending tag is ………….. element.
Answer: empty tag

Q3. The tag that requires a opening as well as closing tag is called ………. .
Answer: container tag

Q4. The attribute topmargin sets a margin alongwith the top of your ………… element.
Answer: BODY

Q5. ………. attribute of BODY tag helps to set background color.
Answer: bgcolor

Q6. The ………… tag is used to define basic font size for the HTML page.
Answer: <BASEFONT>

Q7. The ……….. tag is used to make the Web browser ignore anything that the tag contains.
Answer: <!–…..–>

Q8. ……….. tag is used to bring the text to new line. CBSE 2014
Answer: <BR>

Q9. HR tag is used for  ………..     CBSE 2014
Answer: horizontal line

Q10. …….. and ……… tags break the line flow.
Answer: <BR>, <HR>

Q11. ………… attribute of <HR> tag specifies the width of a horizontal line.
Answer: width

Q12. ……… tag is used to make the text bold.
Answer: <B>

Q13. <LI> tag is an ………… element tag.
Answer: empty

Q14. To display the text in italics, ………. tag is used and to display in type writer font, ……… tag is used. CBSE 2013
Answer: <I>, <TT>

Q15. ………… tag is used to underline the text.
Answer: <U>

Q16. …………. tag creates a bulleted list. CBSE 2015
Answer: <UL>

Q17. noshade is an attribute of …………. tag.
Answer: <HR>

Q18. The unordered list starts with ………….. tag.
Answer: <UL>

Q19. ……..value of type attribute displays a hollow circle for an unordered lists.
Answer: Circle

Q20. If you want to display uppercase alphabets instead of numbers, ………… ordered type should you use.
Answer: A

True or False [1 Mark each]

Q1. HTML is a case sensitive Web language.
Answer: False No, you can write your text in both uppercase and lowercase.

Q2. HTML is a programming language CBSE 2015
Answer: False Because it is a markup language.

Q3. <Head> tag is used to define document body.
Answer: False <HEAD> tag is used to define the document head.

Q4. <TITLE> tag is one of the structural tags of HTML document. CBSE 2015
Answer: True HTML provides four structural tags, these are as follows:
<HTML>, <HEAD>, <TITLE>, <BODY>.

Q5. There should be only one <BODY> tag in each Web page. CBSE 2014
Answer: True A Web page contains necessarily one <HEAD> tag and one <BODY> tag.

Q6. All HTML document contains only <BODY> tag.
Answer: False All HTML document contains various tags.

Q7. bgcolor is an attribute of <FONT> tag.
Answer: False It is an attribute of <BODY> tag.

Q8. background attribute is used to display image.
Answer: True It is an attribute of <BODY> tag used to display background image.

Q9. topmargin is used to specify the distance between the top of the document and top of the browser window.
Answer: True topmargin is an attribute of <BODY> tag, which is used to specify the distance between the top of the document and top of the browser window.

Q10. color is an attribute of <FONT> tag.
Answer: True It defines color of the text.