Safcode Institute by Sir Safder
+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
App Development
Amazon Virtual Assistant
YouTube Earning
WordPress Development
Tutorials
Feedback
Programming Notes
Verification
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 function converts a JavaScript value into a JSON string?
JSON.string()
JSON.convert()
JSON.tovalue()
JSON.stringify()
View Answer
2. Which of the following aspects describes Gson?
Open SOurce
Connects Java Objects into JSON
Its a Java Library
All of them
View Answer
3. Which of the following PHP functions decodes JSON structures?
php_json_decode
json_encode
none of them
json_decode
View Answer
4. Identify the incorrect predefined attribute
xml:lang
all of them
xml:data
xml:space
View Answer
5. Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
Accessed
Deleted
Overridden
Duplicated
View Answer
6. Strings are delimited with ________ and support a backslash escaping syntax.
Double-quotation
Colon
Comma
Single-quotation
View Answer
7. Which of the following aspects describes Gson?
Similar to JSON and XML
Does not serialize objects
None of them
Is a Java library
View Answer
8. 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-2, c-1
a-3, b-1, c-2
a-2, b-3, c-1
View Answer
9. Which of the following Gson methods are useful for implementing JSON?
fromJson()
toJson()
None of them
Both toJson() & fromJson()
View Answer
10. Which JSON feature ensures communication between two applications designed in different programming languages?
Interoperability
Reusability
Scalability
Extensibility
View Answer