++92 313 8389893
safcodeinstitute@gmail.com
Online Quiz
10000+ Questions!
Students Works
Ideas & Topics!
Live Coding
HTML & CSS
Home
(current)
About
Courses
CIT
Web Designing
Graphic Designing
Web Development
Digital Marketing
WordPress + SEO
Artificial Intelligence (AI)
Shopify + WordPress Development
Tutorials
Feedback
Programming Notes
Enroll Now
Contact
Test Your Programming Skills with Safcode!
Here is all important interview / exams questions.
Student doing practice apptitude test on safcode platform.
Instruction: "Total Number of Questions: 20
Each question carry 10 mark , no negative marking"
Quiz Start
1. Identify the incorrect predefined attribute
xml:data
xml:lang
xml:space
all of them
View Answer
2. The XPath tree has a single _______ node, which contains all other nodes in the tree.
root
attribute
element
namespace
View Answer
3. Which of the following aspects describes Gson?
All of them
Its a Java Library
Open SOurce
Connects Java Objects into JSON
View Answer
4. Which of the following objects is used to read a JSON file and display its contents in the browser?
JSONHttpRequest
XMLHttpRequest
JSONXMLHTTPRequest
XMLJSONRequest
View Answer
5. Which of the following does not make a DTD?
Entity declarations
Root Element declarations
Attribute declarations
Element declarations
View Answer
6. Which of the following PHP functions decodes JSON structures?
none of them
json_encode
php_json_decode
json_decode
View Answer
7. Choose the Correct Option
a) XSLT
b)XPath
3)XSL-FO
1) Language for navigation XML
2) Language for transforming XML
3) Language for formatting XML
a-3, b-1, c-2
a-2, b-1, c-3
a-3, b-2, c-1
a-2, b-3, c-1
View Answer
8. Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
Accessed
Deleted
Overridden
Duplicated
View Answer
9. Which JSON feature ensures communication between two applications designed in different programming languages?
Reusability
Extensibility
Scalability
Interoperability
View Answer
10. Which of the following function converts a JavaScript value into a JSON string?
JSON.stringify()
JSON.convert()
JSON.string()
JSON.tovalue()
View Answer