+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. Which of the following aspects describes Gson?
Connects Java Objects into JSON
All of them
Its a Java Library
Open SOurce
View Answer
2. Which of the following function resolves the XSS and CSRF issues?
jsonparse()
jsonstring()
jsoneval()
jsonify()
View Answer
3. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
All of Them
Colon missing after Peripheral
P of Peripherals in Small Case
Remove comma after the last member of Mouse
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-2, c-1
a-3, b-1, c-2
a-2, b-1, c-3
a-2, b-3, c-1
View Answer
5. Which of the following Gson methods are useful for implementing JSON?
Both toJson() & fromJson()
fromJson()
toJson()
None of them
View Answer
6. Which of the following does not make a DTD?
Element declarations
Entity declarations
Attribute declarations
Root Element declarations
View Answer
7. An_________, in XML, is a placeholder that consists of a name and a value.
ELEMENT
ENTITY
Root Element
DTD
View Answer
8. The top level XSLT elements can be occur directly the __________ element.
none of these
xsl:stylesheet
xsl:character
xmlfile
View Answer
9. Which of the following objects is used to read a JSON file and display its contents in the browser?
JSONXMLHTTPRequest
XMLJSONRequest
XMLHttpRequest
JSONHttpRequest
View Answer
10. Which of the following function converts a JavaScript value into a JSON string?
JSON.string()
JSON.convert()
JSON.tovalue()
JSON.stringify()
View Answer