MCQ Bank
Following are important node properties except:
- A) nodeAddress
- B) nodeType
- C) nodeName
- D) nodeValue
________ keyword indicates that attribute is optional.
- A) REQUIRED
- B) FIXED
- C) None of the given
- D) IMPLIED
POST has _________ size limitations.
- A) No size limitations
- B) 100 characters per request
- C) 50 characters per request
- D) 150 characters per request
In XML schema ______ is used to indicate child elements in an element.
- A) xmlns
- B) complexType
- C) sequence
- D) targetNamespace
getElementsByTagName() method is used to access a _________.
- A) Property
- B) Node
- C) Object
- D) DOM
Attributes are always placed inside the _______ of an element.
- A) None of the above
- B) opening tag
- C) header
- D) footer
In context of XML DOM, each node is a(n) ________
- A) object
- B) class
- C) array
- D) tree
An XML Schema describes the ________ of an XML document.
- A) structure
- B) attributes
- C) properties
- D) building blocks
________ can read plain text and convert it into an XML DOM object.
- A) XML parser
- B) DOM Object
- C) XML Object
- D) DOM Parser
Which of the following is not the XML DOM Property?
- A) x.nodeValue
- B) x.nodeTag
- C) x.attributes
- D) x.nodeName
DOM uses _________ method for processing XML documents.
- A) Event based
- B) DocumentHandler
- C) Tree based
- D) Document
Use _________ keyword if you don't have an option for a default value ,but still want to force the attribute to be present.
- A) #IMPLIED
- B) #REQUIRED
- C) #IMPLICIT
- D) #INFERRED
The <schema> element is the ________ element of every XML Schema.
- A) second
- B) last
- C) None of the given
- D) root
In the statement <img src="computer.gif"/> , the name of attribute is:
- A) computer.gif
- B) None
- C) img
- D) src
__________ evaluates XML document as DOM structure.
- A) Parser
- B) Compiler
- C) Interpreter
- D) Translator
DOM stands for
- A) Design Object Model
- B) Document Object Markup
- C) Document Object Model
- D) None of the given.
How can we make attributes have multiple values:
- A) <myElement myAttribute="value1, value2"/>
- B) <myElement myAttribute="value1 value2"/>
- C) attributes cannot have multiple values
- D) <myElement myAttribute="value1" myAttribute="value2"/>
XML files can be stored on an Internet server exactly the same way as ________ files.
- A) Java
- B) PHP
- C) C++
- D) HTML
if (xhttp.readyState == 3 && xhttp.status == 404) then,
- A) readyState : Processing Request , status : OK
- B) readyState : Processing Request , status : Page Not Found
- C) readyState : Request Received , status : Page Not Found
- D) raedyState : Server Connection Establishes , status : OK
DOM is separated into ______ different parts.
- A) 4
- B) 3
- C) 2
- D) 5