Web Services Development MCQs with Answers
Practice important Web Services Development MCQs with answers and explanations.
Multiple Choice Questions
Q291: Fill in the blank: In XML, elements that have the same parent are called ______.
- A: Children
- B: Siblings
- C: Roots
- D: Attributes
View Answer
B
Q292: The XML element <price>29.99</price> contains what type of content?
- A: Attribute
- B: Text
- C: Comment
- D: Another element
View Answer
B
Q293: Which of the following is part of the XSL specification?
- A: XML-Query
- B: XML-Link
- C: XSLT
- D: XML-Pointer
View Answer
C
Q294: Which attribute is used in XLink to define when the linked resource should be loaded?
- A: href
- B: link
- C: xlink
- D: xlink
View Answer
C
Q295: What is the purpose of XSLT in XML?
- A: Query XML data
- B: Style XML data
- C: Transform XML data
- D: Link XML data
View Answer
C
Q296: Which XML attribute specifies the encoding of the document?
- A: docType
- B: version
- C: encoding
- D: format
View Answer
C
Q297: Fill in the blank: In XML, an attribute is always a ______ pair.
- A: Name-value
- B: Tag-value
- C: String-number
- D: Element-value
View Answer
A
Q298: How are attributes written in XML?
- A: attribute=value
- B: name="value"
- C: name-value
- D: attr
View Answer
B
Q299: Which of the following is a valid name for an XML element?
- A: 123address
- B: _address
- C: address_
- D: addr@ess
View Answer
C
Q300: Fill in the blank: XML separates ______ from HTML.
- A: Structure
- B: Style
- C: Data
- D: Attributes
View Answer
C