MCQOPTIONS
Saved Bookmarks
This section includes 48 Mcqs, each offering curated multiple-choice questions to sharpen your Web Technologies knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Well formed XML |
| A. | is full of chart's |
| B. | is full of formula's |
| C. | meets certain grammatical rules outlined in the XML 1.0 specification |
| D. | doesn't contain DTD's |
| Answer» D. doesn't contain DTD's | |
| 2. |
XSL is |
| A. | an XML based language to create style sheets |
| B. | extensible solution language |
| C. | a language which is not used in XML |
| D. | extended stylesheet language |
| Answer» B. extensible solution language | |
| 3. |
Point out the error in following XML document - |
| A. | No Corresponding Closing Tag |
| B. | No Case Sensitive Tags |
| C. | No Attribute present |
| D. | None of these |
| Answer» B. No Case Sensitive Tags | |
| 4. |
Which of the following is not a function of XML ? |
| A. | Structure Information |
| B. | Style Information |
| C. | Transport Information |
| D. | Store Information |
| Answer» C. Transport Information | |
| 5. |
Which of the following statement is false if we consider above XML document ? |
| A. | Document Syntax is Self Explanatory |
| B. | XML document forms a tree structure |
| C. | XML document can have more than one book |
| D. | It is a document that refers a single book |
| Answer» D. It is a document that refers a single book | |
| 6. |
Which of the Node is considered as root node ? |
| A. | <pages> |
| B. | <price> |
| C. | <book> |
| D. | <bname> |
| Answer» D. <bname> | |
| 7. |
Point out the error in the following xml - |
| A. | No Case Sensitive |
| B. | Not having Closing Tag |
| C. | No Nesting of Elements |
| D. | None of these |
| Answer» B. Not having Closing Tag | |
| 8. |
How many nodes and attributes are there in the document ? |
| A. | 4 Nodes and 1 Attribute |
| B. | 3 Nodes and 1 Attribute |
| C. | 2 Nodes and 2 Attributes |
| D. | 4 Nodes and 2 Attributes |
| Answer» B. 3 Nodes and 1 Attribute | |
| 9. |
Below line of code is used for ? |
| A. | DTD Declaration |
| B. | XML Starting Line |
| C. | XML Declaration |
| D. | None of these |
| Answer» D. None of these | |
| 10. |
Guess which version of XML is used ? |
| A. | 1st |
| B. | 3rd |
| C. | 4th |
| D. | 2nd |
| Answer» B. 3rd | |
| 11. |
Point out the error in the following xml document - |
| A. | Does not have Attribute |
| B. | Must have DTD |
| C. | Must have One Root Node |
| D. | None of these |
| Answer» D. None of these | |
| 12. |
What is XML? |
| A. | Like SGML, Extended Markup Language |
| B. | Subset of SGML, Extensible Markup Language |
| C. | Superset of SGML, Extendable Markup Language |
| D. | None of these |
| Answer» C. Superset of SGML, Extendable Markup Language | |
| 13. |
Point out the errors in the following xml document - |
| A. | XML Elements Must be Properly Nested |
| B. | XML Documents Must Have a Root Element |
| C. | XML Attributes must be quoted |
| D. | None of these |
| Answer» D. None of these | |
| 14. |
Node in XML is |
| A. | any part of the document whether it is elements, attribute or otherwise |
| B. | referred only to the attributes |
| C. | referred to the top element in the document |
| D. | none of these |
| Answer» B. referred only to the attributes | |
| 15. |
W3C supports an XML-based alternative to DTD, called _______. |
| A. | XML Schema |
| B. | HTML DOM |
| C. | XML Parser |
| D. | None of these |
| Answer» B. HTML DOM | |
| 16. |
XML is much more similar like __________. |
| A. | HTML |
| B. | CSS |
| C. | C Programming |
| D. | JavaScript |
| Answer» B. CSS | |
| 17. |
Web links are stored within the page itself and when you wish to "jump" to the page that is linked, we select the hotspot or anchor. This technique is called |
| A. | hypertext |
| B. | hypermedia |
| C. | both (a) and (b) |
| D. | anchoring |
| Answer» D. anchoring | |
| 18. |
XML validated against a __________ is considered as Valid XML. |
| A. | JQUERY |
| B. | PARSER |
| C. | CFG |
| D. | DTD |
| Answer» E. | |
| 19. |
XSLT is |
| A. | used for session tracking in XML |
| B. | an extensible stylesheet language and is used for formatting |
| C. | an extended stylesheet language is used for formatting |
| D. | none of these |
| Answer» C. an extended stylesheet language is used for formatting | |
| 20. |
MSXML is |
| A. | a Microsoft language |
| B. | XML parser that ships with IE 5.0 |
| C. | used for interacting with XML |
| D. | Both (b) & (c) |
| Answer» E. | |
| 21. |
Which of the following is the communication protocol that sets the standard used by every computer that access web-based information? |
| A. | HTTP |
| B. | XML |
| C. | HTTP |
| D. | DML |
| Answer» C. HTTP | |
| 22. |
The words Document Node, Nodelist, Element Node, Named Node Map etc. are |
| A. | Objects |
| B. | Interfaces |
| C. | Elements |
| D. | Attributes |
| Answer» C. Elements | |
| 23. |
Document type declaration and document type definition are |
| A. | different terms |
| B. | uncertain |
| C. | same |
| D. | can't say |
| Answer» B. uncertain | |
| 24. |
DTD's are |
| A. | Part of Name spaces |
| B. | Document type declaration in XML |
| C. | Ways to create templates for out does type |
| D. | None of these |
| Answer» D. None of these | |
| 25. |
How DOM differs from SAX? |
| A. | SAX is event driven and requires less space |
| B. | DOM and SAX are packages |
| C. | DOM is not event driven and builds up the whole memory |
| D. | None ofthese |
| Answer» B. DOM and SAX are packages | |
| 26. |
XML |
| A. | can't be used as a database |
| B. | XML is not a database, it is language |
| C. | can be used as a database |
| D. | none of these |
| Answer» C. can be used as a database | |
| 27. |
XML deals with storage and ____________ transport of data. |
| A. | Minify |
| B. | Transport |
| C. | Design |
| D. | Filter |
| Answer» C. Design | |
| 28. |
XPATH used to |
| A. | Address your documents by specifying a location path |
| B. | Address the server |
| C. | Store the IP address of the server |
| D. | None of these |
| Answer» B. Address the server | |
| 29. |
XML with correct syntax is "_________" XML. |
| A. | Well Parametarized |
| B. | Well Formed |
| C. | Mature |
| D. | None of these |
| Answer» C. Mature | |
| 30. |
Document Object Model (DOM) is a |
| A. | coding style |
| B. | specification |
| C. | a parser |
| D. | none of these |
| Answer» D. none of these | |
| 31. |
Namespace |
| A. | is a querying language |
| B. | provides the spaces in the names |
| C. | distinguishes one XML vocabulary from another |
| D. | none of these |
| Answer» D. none of these | |
| 32. |
XML stands for ______________. |
| A. | Extensible Markup Language |
| B. | Extended Mashup Language |
| C. | Extensible Mashup Language |
| D. | None of these |
| Answer» B. Extended Mashup Language | |
| 33. |
Which of the following creates push button? |
| A. | RESET |
| B. | RADIO |
| C. | INPUT |
| D. | CHECK BOX |
| Answer» B. RADIO | |
| 34. |
XML is a/an |
| A. | declarative language |
| B. | imperative language |
| C. | standard |
| D. | none of these |
| Answer» B. imperative language | |
| 35. |
Scheme is |
| A. | a global name space |
| B. | read only for all practical purposes |
| C. | template written in XML and can be modified at runtime |
| D. | None of these |
| Answer» D. None of these | |
| 36. |
Attributes in XML are |
| A. | a way of attaching characteristics or properties to elements of a document |
| B. | child nodes |
| C. | elements in XML |
| D. | none of these |
| Answer» B. child nodes | |
| 37. |
White spaces in XML includes |
| A. | Things like space characters, new lines and tabs |
| B. | Only spaces |
| C. | Space between two double quotes |
| D. | None of these |
| Answer» D. None of these | |
| 38. |
__________ is used to check XML for syntax errors. |
| A. | XML Validator |
| B. | XML Parser |
| C. | XML Browser |
| D. | None of these |
| Answer» B. XML Parser | |
| 39. |
DTD Stands for _________. |
| A. | Document Transport Direction |
| B. | Document Transcript Definition |
| C. | Document Type Definition |
| D. | None of these |
| Answer» D. None of these | |
| 40. |
Which component of JDOM Parser represents DOM tree? |
| A. | Document |
| B. | Element |
| C. | Attribute |
| D. | Text |
| Answer» B. Element | |
| 41. |
What XML stands for? |
| A. | Extra Marked Language |
| B. | Extensible Markup Language |
| C. | Extensible Marked Literal |
| D. | Extra Markup Language |
| Answer» C. Extensible Marked Literal | |
| 42. |
Which of the following XPath expression selects attributes? |
| A. | . |
| B. | .. |
| C. | @ |
| D. | // |
| Answer» D. // | |
| 43. |
What DOM stands for? |
| A. | Direct Object Model |
| B. | Document Object Modeling |
| C. | Document Object Model |
| D. | Document Output Model |
| Answer» D. Document Output Model | |
| 44. |
When to use a SAX Parser? |
| A. | You can process the XML document in a linear fashion from the top down. |
| B. | You are processing a very large XML document whose DOM tree would consume too much memory. |
| C. | The problem to be solved involves only part of the XML document |
| D. | All of the above. |
| Answer» E. | |
| 45. |
When to use a DOM Parser? |
| A. | You need to know a lot about the structure of a document. |
| B. | You need to move parts of the document around. |
| C. | You need to use the information in the document more than once. |
| D. | All of the above. |
| Answer» E. | |
| 46. |
Which of the following is true about XPath? |
| A. | XPath is an official recommendation of the World Wide Web Consortium (W3C). |
| B. | It defines a language to find information in an XML file. |
| C. | Both of the above. |
| D. | None of the above. |
| Answer» D. None of the above. | |
| 47. |
Which of the following XPath expression selects the parent of the current node? |
| A. | . |
| B. | .. |
| C. | ./ |
| D. | // |
| Answer» C. ./ | |
| 48. |
Which of the following is true about XML? |
| A. | XML is technology independent. It can be used by any technology for data storage and transmission purpose. |
| B. | XML uses simple text format. It is human readable and understandable. |
| C. | Using XSD, DTD and XML structure can be validated easily. |
| D. | All of the above. |
| Answer» E. | |