1. Which operator is used for inserting XML objects in the context of their parent in E4X?
2. Which option is used to access the attributes in E4X?
3. What will be the output of the following code snippet? var xml = ; xml.appendChild('hello'); Xml.appendChild(' world'); xml.normalize(); alert(xml.children().length());
4. Which public method in E4X has the return type XML?
5. Which one is the correct syntax for calling the Namespace constructor as a function in E4X?
6. Which are not global methods and properties in E4X?
7. Which method would give the output corresponding to the code snippet? var test = example ; output:
9. Which characters are treated as white space characters?
10. Which one is not a reserved keyword in E4X and JavaScript?
11. Which option can be used to delete a child node of an XML object in E4X?
12. Which one is not a valid built-in method for XMLList objects in E4X?
13. Which option can be used for adding direct support for XML to JavaScript?
14. What will be the output of the following code snippet? var customer = 888-555-1212 888-555-2121 mobile ; alert(customer.childIndex());
15. An arbitrary xml file can be loaded as an E4X ready object.
16. What will be the output of the following code snippet? element = Kibology for all.; elementName = element.name(); alert(elementName.localName); //1 alert(elementName.uri); // 2
17. What is the correct way to add a method to an XML.prototype in E4X?
18. Which one can be used to create attribute values by placing variables and expressions within them?
19. What is the default value of the property prettyIndent in E4X?
20. What is the value returned when the input parameter type of the XMLList() function in E4x is Number?
21. Which of the following options would be returned by the code shown in the code snippet: var f = text alert(f.a[0].hasComplexContent());// palert(f.a[1].hasComplexContent());//q alert(f.a[0].hasSimpleContent());//r alert(f.a[1].hasSimpleContent());//s
22. Which settings are there in E4x to influence parsing and serialization? element = Kibology for all.; elementName = element.name(); alert(elementName.localName); // alert(elementName.uri); //
23. Which method is not one of the global methods and properties in E4X?
24. Which option represents the correct length when alert(Emp..*.length()); is applied to the following code? var Emp = Mark Linux Firefox JavaScript Python
25. The QName.prototype.toString() method throws a TypeError exception if its value is not a QName object.
26. Which one is not true of the Namespace constructor in E4X?
YAML Programming
Yahoo Tools and Libraries
Yahoo YAP
ASP.NET with SQL Server
Symbian Platform Python
WCF (Windows Communication Foundation)
Related MCQ's
Popular MCQ's