++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. Which of the following PHP functions decodes JSON structures?
json_decode
none of them
php_json_decode
json_encode
View Answer
2. What does DTD stand for?
Document Type Definition
Dynamic Type Definition
None of these
Direct Type Definition
View Answer
3. _________ refers to adherence to basic XML syntax rules while _______ refers to adherence to the DTDs too.
Well-formed, Internal DTDs
Validity, Well-formed
Internal DTDs, Validity
None of these
View Answer
4. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
Colon missing after Peripheral
Remove comma after the last member of Mouse
All of Them
P of Peripherals in Small Case
View Answer
5. Which of the following is the limitation of JSON?
No limit on array and objects
Too many data types
Support for only C language
Complicated debugging
View Answer
6. Which of the following aspects describes Gson?
Does not serialize objects
Is a Java library
Similar to JSON and XML
None of them
View Answer
7. Which of the following function resolves the XSS and CSRF issues?
jsoneval()
jsonify()
jsonstring()
jsonparse()
View Answer
8. Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
Deleted
Duplicated
Overridden
Accessed
View Answer
9. 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-2, b-1, c-3
a-3, b-1, c-2
a-2, b-3, c-1
a-3, b-2, c-1
View Answer
10. Which of the following objects is used to read a JSON file and display its contents in the browser?
JSONHttpRequest
XMLJSONRequest
XMLHttpRequest
JSONXMLHTTPRequest
View Answer