Web Services Development MCQs with Answers
Practice important Web Services Development MCQs with answers and explanations.
Multiple Choice Questions
Q271: Which of the following characters is reserved in XML syntax?
- A: &
- B: !
- C: @
- D: #
View Answer
A
Q272: In XML, all elements must be properly nested. Which of the following is an example of proper nesting?
- A: This is text
- B: This is text
- C: This is text
- D: This is text
View Answer
B
Q273: Which format should XML files be saved as to avoid encoding problems?
- A: UTF-16
- B: UTF-8
- C: ASCII
- D: Unicode
View Answer
B
Q275: What type of file is required to define the structure of an XML document?
- A: .xml
- B: .xsl
- C: .css
- D: .dtd
View Answer
D
Q276: What does an external DTD reference in an XML document look like?
- A:
- B:
- C:
Jani - D:
View Answer
B
Q277: Which of the following elements is incorrectly written in XML syntax?
- A:
Reminder - B:
- C: Text
- D:
Text
View Answer
D
Q278: What is the purpose of the "xml-stylesheet" declaration?
- A: To declare the DTD
- B: To link the XML file to a CSS file
- C: To link the XML file to a JavaScript file
- D: To display XML in a browser
View Answer
B
Q279: In XML, what does the entity < represent?
- A: Less than
- B: Greater than
- C: Ampersand
- D: Quotation mark
View Answer
A
Q280: What does the <lt> entity represent in XML?
- A: Less-than sign
- B: Greater-than sign
- C: Ampersand
- D: Apostrophe
View Answer
A