CBSE - MCQ Question Banks (के. मा. शि. बो . -प्रश्नमाला )

PreviousNext

Q. 194701 Ankita is an HR in Proxo. She is maintaining the database of the employees. To generate the report, she will click on


A. Table Pane-> Select table-> Right click->Open-> Select the field.

B. Table Pane-> Right click->Report Wizard.

C. Table Pane-> Report Wizard.

D. Table Pane-> Open-> Select the field.

Right Answer is: B

SOLUTION

The steps to generate the report are: 
• Select the table from the “Tables Pane”.
• Right click on it.
• Select the “Report Wizard” from the short menu.
• Go to “Available Fields” window. Click on  icon.
• Click on Finish to generate the report.  


Q. 194702 Leena has created the employee database. She has also made a table in the same database, but she is a little confused while entering the data in the table. She should click on


A. Table Pane-> Select table-> Right click->Open-> Select the field.

B. Table Pane-> Right click->Open-> Select the field.

C. Table Pane-> Select table-> Select the field.

D. Table Pane-> Open-> Select the field.

Right Answer is: A

SOLUTION

The steps to insert the data in the table are: 
• Go to “Tables” pane. 
• Select the table. 
• Right click on the table. 
• Select the “Open”. 
• Select the field and start entering the data in the table.


Q. 194703 Sherap works as a Web Developer in Extramarks.com. She is working on the database that maintains the records of all the employees. The Academic Head has asked her to add a new field named DOB. She will select the datatype


A. Date.

B. Time.

C. Date&Time.

D. TimeStamp.

Right Answer is: A

SOLUTION

The date [DATE] field type stores the dates only and the Time [TIME] field type stores the times only. But the field type Date/Time [TIMESTAMP] is a combination of both Date and Time types and hence, can store the combination of data and time, also known as timestamp. So Leena can set the “DATE” data type to DOB field.


Q. 194704 Rahul has created a table in OOoBase. To set the Primary key, he will click on


A. Right click->Insert-> Primary Key.

B. Go to database ->Right click -> Primary Key.

C. Right click on row selector ->Insert-> Primary Key.

D. Right click on row selector->Primary Key.

Right Answer is: D

SOLUTION

Steps to set the Primary Key are:
• To set a field as Primary Key, click on the row of the field.
• Now, right click on the leftmost button which is showing an arrow or known as row selector button.
• Right click on it.
• Select the primary key from the shortcut menu.


Q. 194705 Few months back, Mr. Rao created a database to maintain the record of an inventory. Now, he wants to update the same database. For this, he should click on


A. Select table-> Click on open -> Finish.

B. Select field-> Click on open -> Finish.

C. Select report-> Click on open -> Finish.

D. Select database-> Click on open -> Finish.

Right Answer is: D

SOLUTION

Steps to open an existing database are:
• Select “Open an existing database” from the opening dialog when BASE starts.
• Select the desired database either from “Recently used list” or by clicking at “Open button”. •  Click on “Finish”.


Q. 194706
This bar is known as


A. Record Status Bar.

B. Record Bar.

C. Table Bar.

D. Record Navigation Bar.

Right Answer is: D

SOLUTION

We can use Record Navigation Bar to navigate in a table. These buttons are available when you open a table in Datasheet View. With these buttons you can go to the very first line or very last record in the table. You can also move to the next and previous record and even a specific record.


Q. 194707 To create a short cut for OOoBase on the desktop, the steps are


A. Right click on desktop -> Create a shortcut.

B. Start-> Programs-> MS Office ->Left Click MS Access ->create a shortcut.

C. Right click on OpenOffice.org 3.0 -> Create a Shortcut.

D. Start-> Programs-> OpenOffice.org 3.0 -> Right Click on Base  ->create a shortcut.

Right Answer is: D

SOLUTION

If you are a frequent user of OpenOffice.org base, you can create a shortcut on the desktop and for that you have to follow steps like –  Start-> Programs-> OpenOffice.org 3.0 -> Right Click on Base ->Create a shortcut. Thus, a short cut will be there on your desktop.


Q. 194708 The steps to open the OOoBase are


A. Start -> Programs -> Office -> OpenOffice.org  Impress.

B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.

C. Start -> Office -> OpenOffice.org 3.0 Draw.

D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is: B

SOLUTION

The steps are as follows: Step1 - Click on Start. Step2 - Click on Programs/All Programs. Step3 - Click on OpenOffice.org 3.0. Step 4 - Click on OpenOffice.org Base.


Q. 194709 Why is Memo data type referred over Text data type for a field?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

Memo data type is preferred over Text data type when a large text is to be entered. Memo data type allows upto 2 Giga byte characters.


Q. 194710 What should be done to move a record up and down?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

To move a record up & down, you should select the row and drag the row to the desired position.


Q. 194711 Mr. Sanjeev is creating a database of the employees. What should he do such that each record should have a unique identity?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

Mr. Sanjeev should use the concept of primary key to identify the unique records from the relational table. He can define this by selecting the row selector from the field.


Q. 194712 When you create a field in OOo Base, what is the default data type?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

Whenever we create a field in OOo Base, the default data type is Varchar.


Q. 194713 Manthan is working as an HR in Extramarks. He is using OOo Base to maintain the employee record. Which data type should he use for storing the date of joining of the employees. Can you help him?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

To store the date of joining of the employees, Manthan should use the date/time data type that contains the predefined format of data and time.


Q. 194714 Write the tag which is used to make the text italic.
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

Italic Tag - < i > is used to make the text italic in html.

Example: < i > Welcome to HTML < /i >


Q. 194715 What is DTD in XML?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

Document Type Definition (DTD) is a set of rules defining relationships within a document.


Q. 194716 What does XML stand for?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

XML stands for eXtensible Markup Language.


Q. 194717 Give the expansion of the following:
(i) < UL >
(ii) < OL >
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The expansion of the following are:
(i) < UL > – unordered list

(ii) < OL > – ordered list


Q. 194718 Identify the error in the following HTML code.   
        Also write the correct code.
< body color =”Yellow” background=”xyz.png” >
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

In the given code, the colour attribute should be bgcolor.

Correct code: < body bgcolor = "Yellow" background= "XYZ.png" >


Q. 194719 How the font size of a single line on a webpage can be changed?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The font size of a single line on a webpage can be changed by using the HTML code:

< P > This is < Font Size = +2 > resized < /Font >


Q. 194720 Rahul has put an image on the webpage. Name the attribute used by Rahul to display the image?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

To display an image on a webpage, Rahul has used the src(source) attribute with < IMG > tag. He can align the image by alignment tag.


Q. 194721 Consider the following XML document. Check this for well-formedness.
< name > Pooja < /name > < name > Prabha < /name > < name > Prerna < /name >
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The given XML code is not well-formed as it has number of root elements where a XML document must contain only one root element.


Q. 194722 What is an XML element?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

XML elements are represented by tags. Elements usually consist of an opening tag and a closing tag. Opening tag consists of <, followed by the element name and ending with >. Closing tags are same but have a forward slash inserted between the less than symbol and the element name.

Example: < tag > Data < /tag >


Q. 194723 What is the use of XML in web development?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

XML is used in many aspects of web development, often to simplify data storage and sharing.

The following are the uses:
· XML separates data from HTML.
· It simplifies data sharing and transport.
· It makes your data more available.
· XML simplifies platform changes.

· It is used to create new internet languages.


Q. 194724 Distinguish between < SUP > and < SUB > tags with example.
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

Subscript Tag(SUB): This tag is used to define the subscript text. Subscript can be defined by using the following tags:

< SUB > …. < /SUB >

Superscript Tag(SUP): This tag is used to define superscript text. Tags that are used to define superscript are:

< SUP >…… < /SUP >


Q. 194725 Name the tag which is used to break a line in html.
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The br tag is used to insert a single carriage or break into the html document. The line break is like a type writer’s carriage return. It just takes you back to the left margin. The line break element indicates that a new line is going to start at the given point.

Example: 

< p >

< Manik chand > < br >

< Plam street, A-102 > < br >

< 110021> < br >

< /p >


Q. 194726 Write the output of the given HTML code.
< html > < body > < p > < h3 >Student records – Participating in Long Jump< /h3 > < /p > < table border="1" > < tr >   < td >Name< /td >   < td >Class< /td >   < td >Roll No.< /td >   < td >Address< /td > < /tr > < tr >   < td >Pooja< /td >   < td >XI< /td >   < td >12< /td >   < td >XYZ< /td > < /tr > < /table >     < /body > < /html >
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The output for the given code:


Q. 194727 Expand the following tags used in HTML.
(i) < HR >
(ii) < OL >
(iii) < A >
(iv) < sub >
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The expansions of the following tags are:
(i) < HR > Horizontal Rules Tag
(ii) < OL > – Ordered List Tag
(iii) < A > – Anchor Tag
(iv) < sub > – Subscript Tag


Q. 194728 Find the errors in the given HTML code.    
< UL STYLE: square > < LI > Water Bottles < LI > Lunch box < LI > Handkerchief < /OL >
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The < LI > tag is opened but not closed. In place of < /UL >, the < /OL > tag is used.

The correct code is given below and the errors are underlined.

< HTML >

< Body >

< UL > STYLE:SQUARE

< LI > Water Bottles < /LI >

< LI > Lunch box < /LI >

< LI > Handkerchief < /LI >

< /UL >

< /Body >

< /HTML >


Q. 194729 Consider the HTML code:         
< A Href = # intro > Welcome < /A >
In the above code,
(i) What is the purpose of #?
(ii) What will happen when the user clicks “Welcome”?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

(i) # is used to place the anchor in same document.
(ii) When the user clicks on Welcome, the marked anchor will display the related page on the screen.


Q. 194730 What is the role of < HTML > tag in developing a webpage?
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

The < HTML > tags that are written for page display are enclosed within < and >. These are the first and the last tag on the document. These are the tags that tell a web browser where the HTML in your document begins and ends. The most basic of all possible web documents is:

< HTML >

    …..

    …..

< /HTML >


Q. 194731 Create XML markup to create a message sent on 12 Feb 2011 to Pranav and Piyush by Prerna. The message is “Let us meet up on the coming weekend”.
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

< ?xml version = “1.0”? >

< message data = “2/12/2011” >

< sender > Prerna < /sender >

< receivers >

< receiver > Pranav < receiver >

< receiver > Piyush < receiver >

< /receivers >

< text > Let us meet up on the coming weekend < /text >

< /message >


Q. 194732 Create a tag set for employees that consist of student name, rollno and subject etc. Write a sample XML tag set for the above.
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

< student-list >

< student >

< name > Akash < /name >

< rollno > 5 < /rollno >

< subject > Mathematics < /subject >

< /student >

< student >

< name > Bhavna < /name >

< rollno > 11 < /rollno >

< subject > Biology < /subject >

< /student >

< student-list >


Q. 194733 Write the HTML code to generate the following output of a table with the content exactly in the same format as shown within the table.
A. Start -> Programs -> Office -> OpenOffice.org  Impress.
B. Start -> Programs -> OpenOffice.org 3.0  -> OpenOffice.org Base.
C. Start -> Office -> OpenOffice.org 3.0 Draw.
D. Start -> Office -> OpenOffice.org 3.0 Math.

Right Answer is:

SOLUTION

Code for the given table format:

< html >

< body >

 

< table border="1" >

< caption > < font color = "blue" > < b >Student Record< b >< /font >

< /caption >

< tr >

    < th >Add No.< /th >

    < th >Name< /th >

    < th >Age< /th >

    < th >Address< /th >

    < th >Contact No.< /th >

  < /tr >

  < tr >

    < td >111< /td >

    < td >Pooja< /td >

    < td >20< /td >

    < td >XYZ< /td >

    < td >1234< /td >

  < /tr >

< tr >

    < td >112< /td >

    < td >Prerna< /td >

    < td >20< /td >

    < td >abc< /td >

    < td >2567< /td >

  < /tr >

< /table >

< /body >

< /html >


Q. 194734 Sarika is developing a website which is basically an online maths tutorial. She wants to write a mathematics equation in it. However, she wants the comments to be added so that the equation can be understood by everyone without any guidance. The proper syntax to start an HTML comment is


A. < comment >.

B. < ! Comment >.

C. < --! >.

D. < !-- >.

Right Answer is: D

SOLUTION

Comments are basically a type of textual content which appears in the HTML code. But these are not rendered by the user’s browser. They are given between special < !- - - and --- > markup elements. For example, < !- - - This is a comment - - ->


Q. 194735 Disha wants to change the background color of her webpage. The html tag that needs to be applied to the bgcolor attributes so as to change the background color of her webpage is


A. < pre >.

B. < body >.

C. < head >.

D. < title >.

Right Answer is: B

SOLUTION

The tag to include a background color is included in the body statement as an attribute. For example, < body bgcolor = “blue” >.


Q. 194736 Sarika is developing a website which is basically an online chemistry tutorial. She wants to write a chemical reaction H2O in it. The correct HTML code is


A. H < SUP > 2 < /SUP > O

B. H < HR > 2 < /HR > O

C. H < PRE > 2 < /PRE > O

D. H < SUB > 2 < /SUB > O

Right Answer is: D

SOLUTION

To write H2O, Sarika should use the < SUB > tag. Similarly, for writing something like Y2, the < SUP > tag is used.


Q. 194737 Anita wants to show one horizontal rule of width 30% and the other horizontal rule of width 60% after a line break, in her html document. The correct format is


A. < horizontal width = 30% , 60%, < br >.

B. < hr width = “30%”, br, ” 60%” >.

C. < br/ >< hr width = 30 %, 60% >.

D.

< hr width = 30% >

< br >

< hr width = 60% >.

Right Answer is: D

SOLUTION

The length of the horizontal rules can be controlled with the width attribute. The value of the width attribute can either be an absolute number of pixels or a certain percentage of the browser window’s width. For example, < hr width = 30% > will extend the horizontal rule across 30% of the width. Similarly, < hr width = 60% > will extend the horizontal rule across 60% of the width.


Q. 194738 To resize the images, we may use


A. height & width.

B. size.

C. compress.

D. resize.

Right Answer is: A

SOLUTION

The width and height attributes are very useful when we have to specify the exact dimensions of the image in pixels. This also allows image-loading browsers to reserve the proper amount of space for the image and continue to render the rest of the document, thus giving the appearance of a faster-loading page.


Q. 194739 Hemant is creating a webpage. He wants to give a title to the page which will be visible on the browser. The < title > should be placed in the


A. body section.

B. CSS section.

C. footer section.

D. head section.

Right Answer is: D

SOLUTION

Hemant should write the title between the opening < title > and closing < /title> tags. This tag contains the document title. This title specified inside < title > tag appears on the browser title bar.


Q. 194740 Amit is developing a website for HP, wherein the customers can get information on all the HP products. Each product has a link that will help the user to get relevant information. He has used a VLINK, which will change the color of the link, when a user clicks on it. The VLINK refers to


A. virtual links.

B. visited links.

C. visual links.

D. video links.

Right Answer is: B

SOLUTION

The color or text links can be changed by using LINK attribute. The two types of links are visited links and active links. VLINK refers to visited links and ALINK refers to active links.


Q. 194741 To give heading to the page, we use


A. < h >.

B. < head >.

C. < header >.

D. < heading >.

Right Answer is: A

SOLUTION

To give the heading of the webpage, one can use the heading tag that makes your heading big and bold. The syntax is: < h > Text < /h >. The number between 1 and 6 (like h1, h2 etc) specifies the level of the heading. Headings are typically displayed in larger and/or bolder fonts than normal body text.


Q. 194742 Priyanka is preparing some questions for her students to make them understand the concept of the HTML. She desires to have a horizontal line of size 4 and width 50% drawn after each question. The correct HTML code to accomplish this is


A. < horizontal = size:"4%" ,width = "50%" >.

B. < horizontal> size="4",width ="50%"< /horizontal >.

C. < hr > size = "4.4", width = "50%" < /hr >.

D. < hr size = 4 width = 50% >.

Right Answer is: D

SOLUTION

The < hr > tag creates a horizontal line spread across the width of the browser window. The thickness and width can be varied as required. The default size of horizontal rule is 3. Since, Priyanka desires to have a horizontal line of size 4 and width 50%, therefore the correct html that should be used by her is:
< hr size = 4 and width = 50% >.


Q. 194743 Rohan is developing a website for Taj Hotel. He wants to display the food items in the form of numbered list on the webpage. Therefore, he will choose the tag


A. < list >.

B. < ol >.

C. < li >.

D. < ul >.

Right Answer is: B

SOLUTION

An ordered list (also known as numbered list) is an indented list that has numbers or letters in front of each item. These lists are marked by < ol > and < /ol > tags.


Q. 194744 Abha wants to change the color, style and size of the text in her HTML document. The correct tag to achieve this is


A. < font > tag.

B. < style > tag.

C. < size > tag.

D. < color > tag.

Right Answer is: A

SOLUTION

To change the color, style and size of the text, Abha should use the < font > tag. The < font > tag is used for changing the appearance of a short segment of text.


Q. 194745 Sai has prepared an article. He wants that the text should be displayed exactly the same way as typed on notepad (i.e., with all the tabs, blank lines etc.). He should use


A. < br >…< /br >.

B. < pre >…< /pre >.

C. < p align = “center” >.

D. < p >…< /p >.

Right Answer is: B

SOLUTION

The < pre > tag defines preformatted text. The text in a pre-element is displayed in a fixed-width font and it preserves both spaces and line breaks.


Q. 194746 To make the text appear in the center, you use


A. < body style = “center” >.

B. < center > The text is centralized< /center >.

C. < /center > The text is centralized < center >.

D. < centralized > The text is centralized < /centralized >.

Right Answer is: B

SOLUTION

When a segment of text needs to be centralized, the < center > tag is used. The correct form to make the text appear in center is: < center >. Text appears in center < /center >.  Here, text will appear at center on browser window.


Q. 194747 The attribute to make body text appear 70 pixels away from top edge of the page, is


A. < body margin:top = “70” >.

B. < topmargin >70< /topmargin >.

C. < body style=”70” : topmargin >.

D. < body topmargin = “70” >.

Right Answer is: D

SOLUTION

To set the top margin, i.e., distance from the top edge, Shikha can use TOPMARGIN attribute. For example, < body topmargin = “70” >, will make the body-text appear 70 pixels away from top edge of the page.


Q. 194748 Out of the following, the correct HTML form is


A. < strong > This is a test on html < /strong >.

B. < /b > This is a test on html < /b >.

C. < strong > This is a test on html < strong >.

D. < b > This is a test on html < b >.

Right Answer is: A

SOLUTION

Most of the HTML tags come in pairs like < html >…< /html >, < head >…< /head >, < strong >… etc. The < strong > style is used for strong emphasis. It displays the text in bold. The < /strong > is used for closing.


Q. 194749 Aditya has worked on the tags like < i >, < p >, < br >, < hr >, < h1 >…< h6 >. He wants to define the text "Life is beautiful" as strong. The correct html tag to achieve this is


A. < s > Life is beautiful < /s >.

B. < strong > Life is beautiful < /strong >.

C. < h > Life is beautiful < /h >.

D. < div > Life is beautiful < /div >.

Right Answer is: B

SOLUTION

The HTML < strong > tag is used for indicating stronger emphasis. The strong tag surrounds the emphasized word/phrase. This tag is used to make the text appear in bold. Therefore, it will print Life is beautiful in bold letters.


Q. 194750 Reena is keen to create her first webpage. The general form that she should use for her HTML document is


A.

< html >

    < head >

   < title >

   < /title >

   < /head >

  < body > 

  < /body >

   < /html >

B.

< head >

    < title >

    < /head >

    < /title >

C.

       < html >

< body >

< title >

< /title >

< /body >

< head >

      < /head >

D.

      < head >

< body >

< /body >

< /head >

< html >

< /html >

Right Answer is: A

SOLUTION

Every HTML document should follow the general form as follows: < html > < head > < title > Title goes here < /title > < /head > < body > Content of the document goes here < /body > < /html >


Q. 194751 To save a HTML file, the extension is


A. .swf.

B. .htm

C. .xml.

D. .htmls

Right Answer is: B

SOLUTION

To save the file in the correct format, we should use filename .htm or filename.html.


Q. 194752 Ramya is creating an assignment. She wants to have a horizontal line of size 4 and width 40% drawn after each question. The correct HTML code to accomplish this is


A. < horizontal = size:”4”, width =”40%” >.

B. < horizontal>size= “4”,width =”40%”< /horizontal >.

C. < hr size = 4 width = 40% >.

D. < hr > size = “4” , width = “40%” < /hr >.

Right Answer is: C

SOLUTION

The < hr > tag creates a horizontal line spread across the width of the browser window. The thickness and width can be varied as required. The default size of horizontal rule is 3. Since Ramya desires to have a horizontal line of size 4 and width 40%, the correct html that should be used by her is:
< hr size = 4 and width = 40% >.


Q. 194753 Sidhi is creating a web site using HTML. She wants the text that appears on the website to be either in Times New Roman or Georgia Style font. The correct syntax is


A. < font style = “Georgia”; “Times New Roman” >.

B. < font type = “Georgia, Times New Roman” >.

C. < font face = “Georgia, Times New Roman” >.

D. < font text = “Georgia”; “Times New Roman” >.

Right Answer is: C

SOLUTION

To change the font type of the text, Sidhi should use the face attribute. Face attribute provides a list of font-names enclosed within quotes. The web browser tries to find out whether the first font-name in the list (i.e., Georgia) is supported by it or not. If the first font-name is supported by the browser, then it displays the text in this font otherwise it will display the text in the next font (i.e., Times New Roman), which is supported by it.


Q. 194754 Create XML document using tags of your own choice to define a question “Who is the Father of the Nation”?. The options are (A) Jawahar Lal Nehru (B) Mahatma Gandhi (C) Subhash Chandra Bose (D) Bhagat Singh. Choose the correct answer as B.
Right Answer is:

SOLUTION

< QuestionPaper >

< Question category = “MCQ” >

< title > Who is the Father Of Nation? < /title >

< optionA > A) Jawahar Lal Nehru < /optionA >

< optionB > B) Mahatma Gandhi< /optionB >

< optionC > C) Subhash Chandra Bose < /optionC >

< optionD > D) Bhagat Singh < /optionD>

< answer > B) < /answer >

< /Question >

< /QuestionPaper >


Q. 194755 Write the code to display the given data in XML.
EMP No. Name Department Phone
E609 Pooja CSc 9093892800
A. < font style = “Georgia”; “Times New Roman” >.
B. < font type = “Georgia, Times New Roman” >.
C. < font face = “Georgia, Times New Roman” >.
D. < font text = “Georgia”; “Times New Roman” >.

Right Answer is:

SOLUTION

< ?XML version =“1.0” encoding = “UTF-8” standalone = “yes”? >

< emps >

< EMP No. > E609 < /EMP No. >

< Name > Pooja < /Name >

< Department > CSc < /Department >

< Phone > 9093892800 < /Phone >

< /emps >


Q. 194756 Write the code in XML to display the given page:
A. < font style = “Georgia”; “Times New Roman” >.
B. < font type = “Georgia, Times New Roman” >.
C. < font face = “Georgia, Times New Roman” >.
D. < font text = “Georgia”; “Times New Roman” >.

Right Answer is:

SOLUTION

< ?xml version="1.0" encoding="UTF-8"? >

< !DOCTYPE recipeml PUBLIC "-//FormatData//DTD RecipeML 0.5//EN"

http://www.formatdata.com/recipeml/recipeml.dtd >

< ?xml-stylesheet href="dessert.css" type="text/css"? >

< recipeml version="0.5" >

< recipe >

< head >

< title >The Chocolate Chip Cookie< /title >

< /head >

< ingredients >

< ing >

< amt >< qty >2< /qty >< unit >cups< /unit >< /amt >

< item >butter< /item >

< /ing >

< ing >

< amt >< qty >4< /qty >< unit >cups< /unit >< /amt >

< item >flour< /item >

< /ing >

< ing >

< amt >< qty >2< /qty >< unit >tsp.< /unit >< /amt >

< item >soda< /item >

< /ing >

< ing >

< amt >

< qty >2< /qty >< unit >cups< /unit >

< /amt >

< item >sugar< /item >

< /ing >

< ing >

< amt >< qty >5< /qty >< unit >cups< /unit >< /amt >

< item >blended oatmeal< /item >

< /ing >

< ing >

< amt >< qty >24< /qty >< unit >oz.< /unit >< /amt >

< item >chocolate chips< /item >

< /ing >

< ing >

< amt >< qty >2< /qty >< unit >cups< /unit >< /amt >

< item >brown sugar< /item >

< /ing >

< ing >

< amt >< qty >1< /qty >< unit >tsp.< /unit >< /amt >

< item >salt< /item >

< /ing >

< ing >

< amt >< qty >1< /qty >< /amt >

< item >Hershey Bar, grated< /item >

< /ing >

< ing >

< amt >< qty >4< /qty >< /amt >

< item >eggs< /item >

< /ing >

< ing >

< amt >< qty >2< /qty >< unit >tsp.< /unit >< /amt >

< item >baking powder< /item >

< /ing >

< ing >

< amt >< qty >3< /qty >< unit >cups< /unit >< /amt >

< item >chopped nuts (your choice)< /item >

< /ing >

< ing >

< amt >< qty >2< /qty >< unit >tsp.< /unit >< /amt >

< item >vanilla< /item >

< /ing >

< /ingredients >

< directions >

< step >Measure oatmeal and blend in a blender to a fine powder< /step >

< step >Cream the butter and both sugars< /step >

< step >Add eggs and vanilla; mix together with

flour, oatmeal, salt, baking powder, and soda

< step >Add chocolate chips, Hershey Bar and nuts

< /step >

< step >

Roll into balls and place two inches apart on a cookie sheet

< /step >

< step >Bake for 10 minutes at 375 degrees< /step >

< /directions >

< /recipe >

< /recipeml >


Q. 194757 Write the HTML code to generate the following output:
A. < font style = “Georgia”; “Times New Roman” >.
B. < font type = “Georgia, Times New Roman” >.
C. < font face = “Georgia, Times New Roman” >.
D. < font text = “Georgia”; “Times New Roman” >.

Right Answer is:

SOLUTION

The code for the given webpage:

< html >

< head > < title > Recycle < /title >  < /head >

< body bgcolor = "#FFF8C6" LINK= "Green" ALINK = "Black" VLINK = "Magenta" >

< font face = "Tahoma" color = "Blue" size = "6" >

< p align = "CENTER" > Let's Clean Delhi

< font face="Verdana"style="Bold"color= "Red"size="5" >

< CENTER > PROJECT ENIVRONMENT < /CENTER >  < /p >

< /font >

< H2 > < U > How can we help? < /U > < /H2 >

< font face ="Arial" color="BLACK"size = "3" >

< IMG SRC ="clean.png" ALIGN=Right width="230" height="250" >

< b > The waste that we create has to be carefully controlled to be sure that it does not harm our environment and health.< /b >

< UL type=disc >

< LI > < b >< A Href="Garbage.htm#" > What is Garbage? < /A >< /b > < /LI >

< LI > < b >< A Href="Recycle.htm#" > Reduce, Recycle & Reuse< /A >< /b > < /LI >

< br >< B > Students Club < /B >

< OL type=1 > < LI > < b >< A Href= "Active.htm#" > Weekly Acitivities < /A >< /b > < /LI >

< LI > < b >< A Href = "RCity.htm#" > Recycle City < /b > < /LI >

< /OL >

< /UL >

< /font  >

< HR NOSHADE Heigth =80 width = 820 size ="2" >

< font size ="4" >

Contact Us: < AHref="mailto:RecycleClub@xyz.com >Join us

 < /body >

< /html >


Q. 194758 Why does an XML document form a tree structure? Explain with an example.
A. < font style = “Georgia”; “Times New Roman” >.
B. < font type = “Georgia, Times New Roman” >.
C. < font face = “Georgia, Times New Roman” >.
D. < font text = “Georgia”; “Times New Roman” >.

Right Answer is:

SOLUTION

XML document must contain a root element. This element is “the parent” of all other elements. The elements in an XML document form a document tree. The tree starts at the root and branches to the lowest level of the tree.

All elements can have sub elements (child elements):

< root >

< child >

< subchild > …… < /subchild >

< /child >

< /root >


Q. 194759 What are the important rules for an XML document?
A. < font style = “Georgia”; “Times New Roman” >.
B. < font type = “Georgia, Times New Roman” >.
C. < font face = “Georgia, Times New Roman” >.
D. < font text = “Georgia”; “Times New Roman” >.

Right Answer is:

SOLUTION

The important rules for an XML document are:

1. XML documents must contain at least one element.

2. XML documents must contain a unique opening & closing tag that contains the whole document, known as a root element.

3. All other tags must be closed properly, i.e., there must be a proper opening & a closing tag. In XML, empty tags must end with a following slash.

4. All other tags must be nested properly, i.e., the start and end tags of child elements cannot overlap.

5. Tags in XML are case-sensitive. That is, < Audio >, < AUDIO > and < audio > are not the same.

6. Attribute values must always be quoted.


Q. 194760 Answer the following questions:
i. Rohan is working for an IT firm where he needs to take backup his data that is around 300 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. What type of general precautions will you take to protect your computer? 

iii. Name one specific software/tool for each of the following category: 
a. Antivirus Software b. Data Recovery Tool c. Online Backup Tool d. Text Editor to create HTML pages e. Open Source Web Browser         [2+2+5 = 9]
A. < font style = “Georgia”; “Times New Roman” >.
B. < font type = “Georgia, Times New Roman” >.
C. < font face = “Georgia, Times New Roman” >.
D. < font text = “Georgia”; “Times New Roman” >.

Right Answer is:

SOLUTION

i. Rohan can use the hard disk and CD for the backup.

ii. The general protections are:
• Do not leave a floppy disk in the floppy disk drive when you restart or shutdown your computer.
Be suspicious of email attachments from unknown sources.
Scan the attachment before downloading.
Do not set your email program to “auto-run attachments.”

iii.

a. Quick Heal

b. Restoration

c. Typhoon

d. Notepad

e. SunRise


Q. 194761 Once you have created a database, you can create


A. rows, columns.

B. tables, queries, reports.

C. queries.

D. records and fields.

Right Answer is: B

SOLUTION

Once you have created a database, the next step is to create the table forms. Now, you can perform queries on that.


Q. 194762 A common field relates two


A. columns.

B. records.

C. tables.

D. database.

Right Answer is: C

SOLUTION

In the database, we can have many tables and we can correlate those with the common field. That common field can be a primary key which is uniquely identified.


Q. 194763 Memo files can store upto


A. 1GB.

B. 2GB.

C. 3GB.

D. 4GB.

Right Answer is: B

SOLUTION

Memo files can store upto 2 GB. They are used for storing large information about fields like library database – book name, book number, author name etc.


Q. 194764 A well-formed document is the one that defines


A. proper document.

B. formed document.

C. well document.

D. valid XML tags.

Right Answer is: D

SOLUTION

A valid XML document is the one that is well-formed as it confirms to the DTD or schema of the document. A well-formed XML document is the one that follows the syntax rules described in "XML Syntax Rules".


Q. 194765 A style sheet is made up of


A. style rules.

B. html rules.

C. comments.

D. tags.

Right Answer is: A

SOLUTION

A style sheet is made up of style rules that tells a browser how to present a document. Each style rule is made up of selector – usually HTML elements such as BODY, P, EM etc. or XML elements of XML documents.


Q. 194766 The DTD consists of


A. mathematical codes.

B. Markup code.

C. HTML codes.

D. elementary code.

Right Answer is: B

SOLUTION

The document type declaration consists of Markup code that indicates grammar rules for the particular class of the document. Grammar rules are called Document Type Definition (DTD). A DTD begins with !DOCTYPE declaration.


Q. 194767 In XML, PI that stands for


A. Program Instruction.

B. Pseudo Instruction.

C. Primary Instruction.

D. Processing Instruction.

Right Answer is: D

SOLUTION

Processing instructions are information for the application. They allow documents to contain instructions for applications. It takes the following form – < ?piname pseudo-attributes >.


Q. 194768 DTD stands for


A. Declaration Type Document.

B. Definition Type Declaration

C. Definition Type Document.

D. Document Type Definition.

Right Answer is: D

SOLUTION

The document type declaration consists of Markup code that indicates grammar rules for the particular class of the document. Grammar rules are called Document Type Definition (DTD). A DTD begins with !DOCTYPE declaration.


Q. 194769 The root element is the


A. second element to put in XML document.

B. data element.

C. first element to put in XML document.

D. child element.

Right Answer is: C

SOLUTION

The root element or document element is the first element of XML document. It is the parent element of all other elements in data instance. XML documents must contain one element that is parent of all other elements. This parent element is known as root element or document element.


Q. 194770 The two main components of an XML file are


A. data instance and data definition.

B. prolog and data instance.

C. data declaration and data instance.

D. prolog and data instance.

Right Answer is: B

SOLUTION

Basically, an XML-file contains a prolog (optional) and a data instance. Prolog should be the first logical component. It is an optional structural element, but for well-formed documents, it must be included. In data instance, a single element contains all data of XML document, which is the root element or document element.


Q. 194771 The fundamental data element in an InkML file is called


A. cell.

B. trace.

C. RecipeML.

D. ods.

Right Answer is: B

SOLUTION

The fundamental data element in an InkML file is < trace >. Trace represents a sequence of contiguous ink points. The sequence of traces accumulates to meaningful units such as characters, words or diagrams.


Q. 194772 The general syntax for inline image is


A. Src= IMG.

B. Src=< image >.

C. Imag=file.

D. Img src=file.

Right Answer is: D

SOLUTION

The < IMG > tag element specifies an inline image. The required SRC attribute specifies the location of the image. The image can be of any format, though browsers generally only support GIF, JPEG and PNG images.


Q. 194773 In HTML, the ALINK refers to


A. audio links.

B. active links.

C. activity links.

D. array links.

Right Answer is: B

SOLUTION

Color or text links can be changed by LINK attribute. The two types of links are visited links and active links. VLINK refers to visited links and ALINK refers to active links. Active links are the links that are currently being clicked on.


Q. 194774 Ronit wants to give black background to his webpage. He will choose the code


A. #FFFFFF.

B. #000000.

C. #FFFFF0.

D. #0FFFFF.

Right Answer is: B

SOLUTION

The value of #FFFFFF is white and #000000 is black. For example, < body bgcolor =”#000000” >, will create a window with a black background (BGCOLOR’s value).


Q. 194775 Rahul is working with HTML. He wants to give caption to the table. He will use the tag


A. < head >.

B. < title >.

C. < caption >.

D. < p >.

Right Answer is: C

SOLUTION

The < caption > tag defines a table caption. It must be inserted immediately after the < table > tag. You can specify only one caption per table.


Q. 194776 A coded HTML command that indicates how a part of web page should be displayed is known as a/an


A. tag.

B. document.

C. file.

D. header.

Right Answer is: A

SOLUTION

HTML tag is used to mark-up HTML elements. The HTML tags are surrounded by angle brackets. These tags usually come in pairs like < b > and < /b >.


Q. 194777 The correct HTML tag for the largest heading is


A. < h6 >.

B. < heading >.

C. < head >.

D. < h1 >.

Right Answer is: D

SOLUTION

Headings are defined with the < h1 > to < h6 > tags. The < h1 > tag defines the largest heading whereas < h6 > defines the smallest heading.


Q. 194778 The file extension used for HTML file is


A. .webpage.

B. .shtml.

C. .html.

D. .doc.

Right Answer is: C

SOLUTION

HTML is the basic language used to write web pages. It allows websites to bring together graphics, music, videos and links. The HTML code can be saved, given the desired file name along with .html or .htm extension.


Q. 194779 The default length of char data type is


A. 50.

B. 60.

C. 40.

D. 30.

Right Answer is: A

SOLUTION

The char stores exactly the length specified by the user. The default length is 50. This value can be altered using Length Property.


Q. 194780 When you enter a text in a table, the default type is


A. Varchar.

B. Memo.

C. Integer.

D. Float.

Right Answer is: A

SOLUTION

Varchar is the default field type applied when you create a new field. Its default length is 50, which can be changed using Length Property.


Q. 194781 DBMS stands for


A. Database Management System.

B. Database Modification System.

C. Database Model System.

D. Database Management Security.

Right Answer is: A

SOLUTION

Database is a collection of related data and an application to maintain these data is known as Database Management System.


Q. 194782 A collection of related data refers to


A. data.

B. information.

C. database.

D. records.

Right Answer is: C

SOLUTION

A database contains the information of related enterprise in sorted manner through which we can modify the data very easily.


Q. 194783 While designing a database, the first thing we should keep in mind is


A. purpose.

B. syntax.

C. memory.

D. size of data.

Right Answer is: A

SOLUTION

While designing the database, the first thing that we should keep in mind is the purpose of the database. Example: Students database – If student database is used by the transport people, then we should include the transport information of each child in it so that it can be easily used by the transport people.


Q. 194784 Rahul wants to create a table in HTML. To create a table row, he should use


A. trow.

B. th.

C. tr.

D. td.

Right Answer is: C

SOLUTION

A table is divided into rows (with the < tr > tag) and each row is divided into data cells (with the tag). The 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.


Q. 194785 Rohit is developing a website for the music store. He wants to insert the comment in XML document. The comments in XML are used to


A. design the file.

B. have fun.

C. processing.

D. break document into sections.

Right Answer is: D

SOLUTION

The comments are not processed by XML parsers. The comments are inserted for purposes like: to add notes about document structure and to break a document into sections.


Q. 194786 Matilda is a technical person in Laxso company. In order, to write a code for the employee details using XML, she needs to write the XML declaration too. An XML declaration begins with a


A. < *xml…* >.

B. < ?xml…? >.

C. < & xml…& >.

D. < ^xml…^ >.

Right Answer is: B

SOLUTION

The XML declaration is a declaration that identifies the following through pseudo-attributes: the xml version, encoding and stand-alone or not. XML declaration begins with a special tag < ?xml…? >.


Q. 194787 The First Generation Markup Language is


A. InkML.

B. RecipeML.

C. SGML.

D. EDI.

Right Answer is: C

SOLUTION

SGML stands for Standard Generalized Markup Language. It is powerful but very complex, suffers from lack of industry support. It is the basis for XML.


Q. 194788 Geeta has written a code for inventory house of her company. She was told that every XML document has a logical as well as a physical structure. But she doesn’t know what a physical structure actually contains. The physical structure contains the


A. order of elements.

B. css file.

C. actual content.

D. xsl file.

Right Answer is: C

SOLUTION

Every XML file or document has both logical structure and physical structure. The logical structure tells about what all elements are to be included in the document and the order of the elements. The physical structure contains the actual content.


Q. 194789 Rashi is learning XML. She knows that every XML document has both logical and physical structure. Logical structure tells about


A. names of the XML file.

B. order of elements.

C. the extension of XML file.

D. how XML file should be created.

Right Answer is: B

SOLUTION

Every XML file or document has both : logical structure and physical structure. The logical structure tells about: what all elements are to be included in the document and the order of the elements.


Q. 194790 Priyanka wants to use a language that helps to write code for the Rasam Recipe. A language that is based on XML is


A. SMGML.

B. SSML.

C. RecipeML.

D. EDI.

Right Answer is: C

SOLUTION

RecipeML is a format for representing recipes on computer. Recipes can be either represented online or in software.


Q. 194791 Sanjana has coded in XML. But she does not know what all is required to view the output in web browser. To process an XML document on web, we need


A. only css or xsl.

B. only DTD.

C. only xml file.

D. css or xsl, dtd and xml file.

Right Answer is: D

SOLUTION

To process an XML document on web in a desired manner, we need an XML document system and not just an XML-file. An XML document system mainly comprises the following: i. A style sheet presentation through CSS or XSL. ii. A grammar structure through DTD. iii. Semantics of data through XML file.


Q. 194792 Madhavi wants to use a markup language where the tags < parts >, < Parts > and < PARTS > are treated as different cases. Tags are case-sensitive in


A. HTML.

B. XML.

C. SQL.

D. PLSQL.

Right Answer is: B

SOLUTION

XML tags are case-sensitive whereas HTML tags are not case-sensitive. In XML, < parts >, < Parts > and < PARTS > are not the same. The XML processing instruction must be all lowercase. However, our own elements and attributes may be in any case.


Q. 194793 Nija is a renowned chef at Hotel Taj. She wants to write the code for preparing pakoras using a markup language, wherein she can choose the tags according to her choice. We can create tags of our own choice in


A. HTML.

B. DHTML.

C. SQL.

D. XML.

Right Answer is: D

SOLUTION

XML tags are not predefined. We can create and define new tags as per our needs.


Q. 194794 Shikha wants to use a markup language, i.e., HTML for writing a program on Computer Parts. But her friend suggested her to write in XML as it is a/an


A. platform independent.

B. inextensible.

C. designed to display data.

D. exactly same as HTML.

Right Answer is: A

SOLUTION

XML can run on all platforms. It is created by using standard text files. These files are compatible with all platforms such as Windows, Macintosh, Unix etc.


Q. 194795 Madhav’s teacher has asked him to use XML to write a code for students who are participating in the Summer Camp along with the tags of his choice. XML is


A. designed to display data.

B. designed to be self-descriptive.

C. platform dependent.

D. inextensible.

Right Answer is: B

SOLUTION

XML tags are not predefined, rather these are to be created by the author to describe the content in appropriate manner. Therefore, each XML document is unique in it and is able to describe its contents without any prior knowledge.


Q. 194796 Asha has created a code in XML for a book store. She wants to see how it appears in the browser. The steps involved to view an XML document are


A. XML >> browser.

B. XML >> style-sheet >> browser.

C. XML >> HTML >> browser.

D. browser.

Right Answer is: B

SOLUTION

XML documents can be viewed only if proper stylesheet file is also available along with XML file. The extension to save a style sheet is “.css”. We just have to give the link of style sheet link in the XML file.


Q. 194797 Sandeep wants to use a markup language that will help him to display the output in the different browsers. The language that is about displaying information is


A. XML.

B. HTML.

C. SGML.

D. SQL.

Right Answer is: B

SOLUTION

HTML is basically used for displaying the information, while XML is about describing the information. HTML is designed to display data and hence, focussed on the ‘look’ of the data.


Q. 194798 Neha has read in brief about SGML and now she is learning XML. She is not aware of the relation between the two languages. XML is a


A. subset of SGML.

B. super set of SGML.

C. complex set of SGML.

D. minor set of SGML.

Right Answer is: A

SOLUTION

XML is a subset of SGML, i.e., SGML minus its complex and optional features. XML is based on SGML. It includes only the parts of SGML required for web publishing. XML does not include complex and optional features of SGML.


Q. 194799 Anjali wants to become an expert in markup languages. She has an expertise in HTML. Now, she wants to learn XML. But before she starts with the coding, she desires to have a brief introduction about it. The ancestor of XML is


A. SXML.

B. SGML.

C. SML.

D. DHTML.

Right Answer is: B

SOLUTION

SGML stands for Standard Generalized Markup Language. It is powerful but very complex and suffers from lack of industry support. It is the basis for XML.


Q. 194800 The full-form of XML is


A. eXperts Marked Language.

B. eXtended Markup Language.

C. eXpanded Marked Language.

D. eXtensible Markup Language.

Right Answer is: D

SOLUTION

XML means “Extensible Markup Language”. Extensible means it do not have fixed format like HTML. Markup is a set of rules to define structure and format of text.


PreviousNext