Foundation of Information Technology:2011:CBSE:[All India]: Set - I

To Access the full content, Please Purchase

  • Q1

    Answer the following questions:

    (i) Shree nivasan is working for an IT firm where he needs to backup his data of around 200 MB to 400 MB at the end of each day. Each day backup needs to be archived separately for future reference. Suggest any two economic data backup devices, which he can use for this purpose.
    (ii) Explain the usage of XML parser.


    (iii) Give one specific software/tool for each of the following:

    a) Open Source Web Browser

    b) Online Backup Tool

    iv) Identify the errors in the following HTML code and write the corrected code with each correction underlined:
    < HTML >

    < TITLE > IMAGES < /HEAD >



    < /BGCOLOR >

    < /HTML >
    [2+2+2+3 = 9]


    (i) Shree nivasan can use the CD and DVD for the backup. They are very cheap and easily available from anywhere. It can store large amount of data.

    (ii) A parser is a piece of program that takes a physical representation of some data. Parsers are used everywhere in software. An XML Parser is a parser that is designed to read XML and create a way for programs to use XML.

    iii) One specific software /tool for each are:
    a) SunRise
    b) Typhoon

    iv) The errors in the given code are:

    i) No end tag of title, body.

    ii) Opening tag missing of head tag.

    iii) Wrong value of bgcolor.

    iv) href is used inside the img tag.

    Correct code is:

    < html >

    < head >

    < title > Image < /title >

    < /head >

    < body bgcolor=”red” >

    < IMG src= ”abc.jpg” >

    Here is my image file

    < /body >

    < /html >

    View Answer
  • Q2


    Do as directed: (i)Draw the XML tree for the code given below:
    < DIET >


    < MORNING >



    < LIQUID > TEA < /LIQUID >

    < /MORNING >



    < FRUIT > APPLE < /FRUIT >


    < /AFTERNOON >

    < /DIET >

    ii) Write the HTML code to generate the following table on a webpage with the contents and alignment exactly as shown below: [5+5=10]


    (i) The XML tree for the given code is:

    (ii) HTML code for the given table is:

    < html >

    < body >

    < table border="1" cellpadding="5" >

    < tr >

    < td ALIGN = "CENTER" >NAME< /td >

    < td ALIGN = "CENTER" >CLASS< /td >

    < td ALIGN = "CENTER" >SECTION< /td >

    < /tr >

    < tr >

    < td ALIGN = "CENTER" >SAHIBA< /td >

    < td ALIGN = "CENTER" >10< /td >

    < td ALIGN = "CENTER" >A< /td >

    < /tr >

    < /table >

    < /body >

    < /html >

    View Answer
  • Q3

    (i) _____ is an attributes of the < TABLE > tag to set the minimum distance between adjacent cells.
    (ii) The default color of a hyperlink on a web page is _______.
    (iii) An ________ links allows a link to another web page or another web site.
    (iv) The attribute _________ is used for specifying the URL of the anchor tag.
    (v) __________ is used to combine the cells horizontally.
    (vi) All XML documents must have one ________ elements.
    (vii) The tag ________ is used to create superscripts and _________ tag is used to create subscripts on a web page.
    (viii) An image to be displayed in a web page has to cover 50% of the browser window horizontally and 25% vertically. The attributes _______ and ________ of the < IMG > tag would be used for achieving this.


    (i) Cell spacing
    (ii) blue
    (iii) anchor
    (iv) href
    (v) Rowspan
    (vi) root
    (vii) < sup > and < sub >
    (viii) width and height

    View Answer
  • Q4


    State True or False:

    (i) It is not important to specify an integer value as the width of the border of an image.
    (ii) The ALIGN attribute of the < IMG > tag is used to specify the text that is to displayed in case the browser does not support graphics.
    (iii) < TH > tag is used to specify the column heading in a table.
    (iv) The NAME attributes of the < A > tag allows the user links within the same document.
    (v) XML uses a DTD to describe its data to users.
    (vi) The < A > tag is called the align tag.
    (vii) The color of the hyperlinks in an HTML document changed.
    (viii) In XML, tag names cannot contain spaces but can use underscores.
    (ix) Both HTML and XML are markup languages used to format data.
    (x) It is not necessary to take regularly back-up of important files.



    (i) False

    (ii) False
    (iii) True
    (iv) True
    (v) True
    (vi) False
    (vii) True
    (viii) False
    (ix) False
    (x) False


    View Answer
  • Q5

    Write the HTML code to generate the following output:
    Note the following points while generating the webpage:
    (i) Title of the page should be “Dubai Tourism”.
    (ii) The heading text “Welcome to Dubai” is in Arial font and is of maroon color.
    (iii) The horizontal line below the heading are 5 pixels thick and of red color.
    (iv) Image used in the page is burj.jpg.
    (v) The bulleted list contains links as specified below:
    The text Morning is a link to the wepage “morning.html”.
    The text Evening is a link to the webpage “evening.html”.


    < html > 

    < title >Dubai Torium < /title >

    < body >

    < font ALIGN="CENTER" color="Maroon" size="6" face="arial" >WELCOME TO DUBAI < /font >

    < /CENTER > < HR width = 500 size ="2" ALIGN="CENTER" >

    < HR width = 500 size ="2" ALIGN="CENTER" >

    < HR width = 400 size ="2" ALIGN="CENTER" >

    < img src = "DUBAI.jpg" ALIGN="RIGHT" >

    < p >


    The following is a list of major tourist attractions in Dubai:

    < /p >

    < li > < A Href="morning.html" > Morning < /A > - Dolphinarium and Palm Dubai < /li >

    < li > < A Href="evening.html" >Evening< /a > - Ski Dubai nad Cruise < /li >

    < br >

    < center >

    < font align="center" >For enquires, write at dubai@ < /font >

    < /center >

    < /body >

    < /html >

    < /body >

    < /html >

    View Answer
  • Q6

    Carefully study the webpage given below. Identify 10 tags (structural as well as formatting tags) that have been utilized in creating this webpage and write the usage of each of them.


    < HTML > < /HTML > – It is a structural tag used to mark the beginning and end of an HTML document.

    < body > < body >– It is a structural tag that encloses all the visible contents of a webpage.

    < title > < /title >– It is a structural tag that encloses the title of the page.

    < H2 > – It is a formatting tag used to mark text as biggest heading.

    < table > < /table > – A table is a structural tag which is divided into rows (< tr > tag) and each row is divided into data cells (< td > tag). td stands for "table data," and holds the content of a data cell. A < td > tag can contain text, links, images, lists, forms, other tables, etc.

    < cellspacing > – It helps to increase the horizontal distance between the cells.

    < br > The < br > tag  inserts a single line break. This tag is an empty tag, which means that it has no end tag.

    < Align > It is an attributes which is used to align the text and images. Alignment can be left, right and center.

    < img > The < img > tag embeds an image in an HTML page. The < img > tag creates a holding space for the referenced image. The < img > tag has two required attributes: src and alt.

    < hr > The < hr > tag creates a horizontal line in an HTML page. It is used to separate content in an HTML page.

    View Answer
  • Q7

    Choose the most appropriate option for the following:             

    i) _____ are unwanted bulk emails, or unwanted commercial emails.

    a) Blog

    b) Attachments

    c) Spam

    d) Malware

    ii) Which of the following is a text editor?

    a) Notepad

    b) Wordpad

    c) Both(a) and (b)

    d) None of the above


    i) 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) Torjan

    d) Spam

    iv) The XML document is like a

    a) Tree structure

    b) Inverted tree structure

    c) Flat Structure

    d) None of the above

    V) Name the root element in the following XML document.

    < father >

       < child1 >

       < name > Megha

       < age > 12 < /age >

       < /child1 >

       < child2 >

       < name > Mana

      < age > 15 < /age >

      < /child2 >

    < /father >

    a) child1

    b) child2

    c) father

    d) name

    vi) A software used to open web pages on the internet is called a ___________.

    a) Browser

    b) Portal

    c) Surfer

    d) Provider

    vii) XML stands for

    a) Extensible Markup Language

    b) Extended Markup Language

    c) Extensible Makeup Language

    d) Extended Makeup Language

    viii) A comment in XML is enclosed in

    a) < !--------- and ------- >

    b) < --------- and ------- >

    c) < !--------- and -------! >

    d) None of the above.

    ix) An XML document that follows the XML syntax is called a

    a) Valid XML document

    b) Well formed XML document

    c) Correct XML document

    d) All of the above

    x) A ___________ is someone who breaks into someone else’s computer system, often on a network; bypasses passwords or licenses in computer programs; or in other ways intentionally breaches computer security with malicious intent.

    a) Hacker

    b) Cracker

    c) Worm

    d) Malware

    xi) The attributes used to set the border colour of a table is

    a) BORDER


    c) COLOR


    xii) Which of the following is not an attribute of the < TABLE > tag?

    a) ALT

    b) WIDTH

    c) BORDER


    xiii) Which of the following is suitable for creating bulleted list?

    a) < BL >

    b) < OL >

    c) < UL >

    d) < DL >

    xiv) Choose the correct HTML to left-align the content inside the table cell.

    a) < TD ALIGN =”left” >

    b) < TD VALIGN =”left” >

    c) < TD LEFTALIGN >

    d) < TD LEFT =”Align” >

    xv) The two common attributes of the < IMG > and the < TABLE> tag are:

    a)  SRC and HEIGHT

    b) HEIGHT and WIDTH

    c) BORDER and SRC

    d) They do not have any common attributes.

    xvi) The ______ tag is used to specify the individual table data in a table.

    a) < TR >

    b) < TD >

    c) < TH >

    d) < TABLE >


    i) c)

    ii) c)

    iii) c)

    iv) a)

    v) c)

    vi)  a)

    vii) a)

    viii) a)

    ix) b)

    x) a)

    xi) b)

    xii) a)

    xiii) c)

    xiv) a)

    xv) c)

    xvi) b)

    View Answer