++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 is the limitation of JSON?
Complicated debugging
Support for only C language
Too many data types
No limit on array and objects
View Answer
2. What does DTD stand for?
None of these
Document Type Definition
Direct Type Definition
Dynamic Type Definition
View Answer
3. Which of the following function converts a JavaScript value into a JSON string?
JSON.stringify()
JSON.tovalue()
JSON.convert()
JSON.string()
View Answer
4. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
Remove comma after the last member of Mouse
P of Peripherals in Small Case
All of Them
Colon missing after Peripheral
View Answer
5. Which of the following Gson methods are useful for implementing JSON?
None of them
toJson()
Both toJson() & fromJson()
fromJson()
View Answer
6. Which of the following PHP functions decodes JSON structures?
php_json_decode
none of them
json_encode
json_decode
View Answer
7. Which of the following are the uses of JSON?
Facilitate between incompatible platforms
Preferred to sending web data
Serializing Data
All of them
View Answer
8. Identify the incorrect predefined attribute
xml:data
xml:lang
all of them
xml:space
View Answer
9. The XPath tree has a single _______ node, which contains all other nodes in the tree.
attribute
namespace
root
element
View Answer
10. Strings are delimited with ________ and support a backslash escaping syntax.
Double-quotation
Colon
Comma
Single-quotation
View Answer