+923132835245
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. Strings are delimited with ________ and support a backslash escaping syntax.
Single-quotation
Comma
Double-quotation
Colon
View Answer
2. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
Colon missing after Peripheral
P of Peripherals in Small Case
Remove comma after the last member of Mouse
All of Them
View Answer
3. Which of the following are the uses of JSON?
Facilitate between incompatible platforms
Serializing Data
All of them
Preferred to sending web data
View Answer
4. 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-3, b-2, c-1
a-2, b-1, c-3
a-2, b-3, c-1
View Answer
5. Which of the following is the limitation of JSON?
Complicated debugging
No limit on array and objects
Support for only C language
Too many data types
View Answer
6. Which of the following function resolves the XSS and CSRF issues?
jsonparse()
jsonstring()
jsonify()
jsoneval()
View Answer
7. _________ refers to adherence to basic XML syntax rules while _______ refers to adherence to the DTDs too.
Validity, Well-formed
Well-formed, Internal DTDs
None of these
Internal DTDs, Validity
View Answer
8. Which of the following aspects describes Gson?
Similar to JSON and XML
Is a Java library
None of them
Does not serialize objects
View Answer
9. Which of the following PHP functions decodes JSON structures?
json_encode
json_decode
none of them
php_json_decode
View Answer
10. The XPath tree has a single _______ node, which contains all other nodes in the tree.
attribute
root
namespace
element
View Answer