Saturday, 18 March 2023

XML MCQs

 

Well formed XML document means 

It contains a root element

It contain an element

It contains one or more elements

Must contain one or more elements and root element must contain all other elements

      _____________________________________________________________________________________

Which tags are commonly used by search engines?

Headings

Title

Paragraph

All of these

      _____________________________________________________________________________________

XPATH used to 

Address your documents by specifying a location path

Address the server

Store the IP of the server

None of these

      _____________________________________________________________________________________

DMSP stands for 

Distributed Mail System Protocol

Distributed Message System Protocol

Distributed Message System Pool

Distributed Mail System Pool

      _____________________________________________________________________________________

Address 192.5.48.3 belongs to 

Class A

Class B

Class C

Class D

      _____________________________________________________________________________________



P-1, Q-2, R-3, S-4

P-3, Q-4, R-2, S-1

P-3, Q-1, R-4, S-2

P-4, Q-3, R-2, S-1

      _____________________________________________________________________________________

XML is a 

Imperative language

Declarative language

Standard

None of these

      _____________________________________________________________________________________

DOM is a

A parser

Specification

Coding style

None of these

      _____________________________________________________________________________________

A header in CGI script can specify 

Format of the document

New locat ion of the document

A and B both

Start of the document

      _____________________________________________________________________________________

The ______ is a set of standards that defines how a dynamic web document should be written, how input data should be supplied to the program, and how the output result should be used.

Hyper Text Markup Language

File Transfer Protocol

Hyper Text Transfer Protocol

Common Gateway Interface

      _____________________________________________________________________________________

XML uses the features of 

HTML

XHTML

VML

SGML

      _____________________________________________________________________________________

Repository of information gathered from multiple sources, storing under unified scheme at a single site is called as

Data mining

Meta data

Data warehousing

Database

      _____________________________________________________________________________________

Which of the following identifies a specific web page and its computer on the Web? 

Web site

Web site address

URL

Domain Name

      _____________________________________________________________________________________

DTD definition is used along with XML to specify

The data types of the contents of XML document

The presentation of XML document

The links with other documents

The structure of XML document

      _____________________________________________________________________________________

What is XML? 

Subset of SGML,Extensible Markup Language

Superset of SGML,Extensible Markup Language

Like SGML ,Extended Markup Language

None of these

      _____________________________________________________________________________________

Internet data is broken up as

fixed length packets

variable length packets

not packetized

64 bytes packets

      _____________________________________________________________________________________

The main function of a browser is to 

Compile HTML

Interpret HTML

De-compile HTML

Interpret CGI programs

      _____________________________________________________________________________________

IP addresses are converted to

a binary string

alphanumeric string

a hierarchy of domain names

a hexadecimal string

      _____________________________________________________________________________________

How many root element can an XML document have ?

One

Two

Three

As many as the memory provides

      _____________________________________________________________________________________

The task of correcting and pre processing data is called as

Data streaming

Data cleaning

Data mining

Data storming

      _____________________________________________________________________________________

The most popular way to materialize XML document is to use 

DTD

XSLT

HTML

SOAP

      _____________________________________________________________________________________

The packets of an internet message

take a predetermined path

take a path based on packet priority

go along different paths based on path availability

take the shortest path from source to destination

      _____________________________________________________________________________________

Characteristic encoding is

Method used to represent numbers in a character

Method used to represent character in a number

Not a method

None of these

      _____________________________________________________________________________________

www is based on which model?

Local server

Client server

3 tier

None of these

      _____________________________________________________________________________________

Attributes in XML are 

Elements inXML

Child nodes

A way of attaching characteristics or properties to elements of a document

None of these

      _____________________________________________________________________________________

 

The facilities available in the internet are

 

(i) electronic mail

(ii) remote login

(iii)file transfer

(iv)word processing



i, ii

i, ii, iii

i, ii, iv

ii, iii and iv

      _____________________________________________________________________________________

The tags in XML are 

Case insensitive

Case sensitive

Browser dependent

None of these

      _____________________________________________________________________________________

 

Internet addresses must always have at least 

 

(i) a country name or organization type

(ii) internet service provider’s name

(iii) name of organization

(iv) name of individual

(v) type of organization



i, ii, iii

ii, iii, iv

i, iii

ii, iii, iv, v

      _____________________________________________________________________________________

XLL definition is used along with XML to specify

The data types of the contents of XML document

The presentation of XML document

The links with other documents

The structure of XML document

      _____________________________________________________________________________________

Which of them take care of e mail at client side?

POP

MAP

IMAP

Both a and c

      _____________________________________________________________________________________

Node in XML is 

Any part of the document whether it is elements ,attributes or otherwise

Referred only to the attributes

Referred to the top element in the document

None of these

      _____________________________________________________________________________________

The tracing model in Prolog describes program execution in terms of certain events. These events are

call and exit

call and fail

call, exit and redo

call, exit, redo and fail

      _____________________________________________________________________________________

Which Layer is not present in TCP/ IP model? 

Application Layer

Internet Layer

Transport Layer

Presentation Layer

      _____________________________________________________________________________________

Which of the following statement is true? 

All the statements are true.

All XML elements must have closing tag.

All XML elements must be lower case.

All XML documents must have a DTD.

      _____________________________________________________________________________________

Where are cookies stored?

On the server

Inweb.xml

On the client

In HTML

      _____________________________________________________________________________________

Each list item in an ordered or unordered list has which tag?

List tag

Is tag

Li tag

Ol tag

      _____________________________________________________________________________________

XML

Can be used as a database

Cannot be used as a database

XML is not a database ,it is language

None of these

      _____________________________________________________________________________________

 

Among services available on the World Wide Web are 

 

(i)Encryption

(ii)HTTP

(iii)HTML

(iv)Firewalls



i and ii

ii and iii

iii and iv

i and iv

      _____________________________________________________________________________________

 

Internet packet data structure consists of 

 

(i)source address

(ii) destination address

(iii)serial number of packets

(iv)message bytes

(v)Control bits for error checking

(vi) Path identification bits



i, ii, iii

i, ii, iii, iv

i, ii, iii, iv, v

i, ii, iii, iv, v, vi

      _____________________________________________________________________________________

HTML (Hyper Text Markup Language) has language elements which permit certain actions other than describing the structure of the web document. Which one of the following actions is NOT supported by pure HTML (without any server or client side scripting) pages?

Embed web objects from different sites into the same page

Refresh the page automatically after a specified interval

Automatically redirect to another page upon download

Display the client time as part of the page

      _____________________________________________________________________________________

CIDR stands for 

Classified Internet Domain Routing

Classless Inter Domain Routing

Classless Internet Domain Routing

Classified Inter Domain Routing

      _____________________________________________________________________________________

The XML DOM object is 

Entity

Entity reference

Comment reference

Comment data

      _____________________________________________________________________________________

Which of the following tags below are used for multi line text input control? 

Textml tag

Text tag

Textarea tag

Both a and b

      _____________________________________________________________________________________

By an extranet we mean

an extra fast computer network

the intranets of two co-operating organizations interconnected via a secure leased line

an extra network used by an organization for higher reliability

an extra connection to internet provided to co-operating organizatin

      _____________________________________________________________________________________

In HTML URI is used to 

Create a frame document

Create a image map in the webpage

Customize the image in the webpage

Identify a name or a resource on the internet

      _____________________________________________________________________________________

 

Desirable properties of a website are 

 

(i)a meaningful address

(ii)Help and search facilities

(iii) Links to related sites

(iv)Features to allow users to give feedback

(v)Hosting on a mainframe



i, ii, iii

i, ii, iii, iv

i, ii, iii, iv, v

i, ii, iii, v

      _____________________________________________________________________________________

The term byte stuf fing refers to 

Data stuffing used wi th character oriented hardware

Data stuffing used wi th bi t oriented hardware

Data stuffing used with both A and B

Data stuffing used wi th byte oriented hardware

      _____________________________________________________________________________________

Which type of web document is run at the client site 

Static

Dynamic

Active

All of the above

      _____________________________________________________________________________________

The web standard allows programmers on many different computer platforms to dispersed format and display the information server.These programs are called 

Web browsers

HTML

Internet Explorer

None of these

      _____________________________________________________________________________________

XML document can be viewed in 

IE 3.0

IE 2.0

IE 6.0

IE X.0