++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. An_________, in XML, is a placeholder that consists of a name and a value.
DTD
ENTITY
ELEMENT
Root Element
View Answer
2. What does DTD stand for?
None of these
Document Type Definition
Dynamic Type Definition
Direct Type Definition
View Answer
3. A series of zero or other Unicode characters within double quotes and backslash escapes is termed as ________.
Object
Array
String
Number
View Answer
4. Which Protocol service is use JSON?
IP
GData
HTTP
SOAP
View Answer
5. Which of the following aspects describes Gson?
Connects Java Objects into JSON
All of them
Its a Java Library
Open SOurce
View Answer
6. Which of the following function resolves the XSS and CSRF issues?
jsonstring()
jsoneval()
jsonparse()
jsonify()
View Answer
7. Which of the following aspects describes Gson?
Does not serialize objects
Similar to JSON and XML
Is a Java library
None of them
View Answer
8. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
All of Them
Remove comma after the last member of Mouse
P of Peripherals in Small Case
Colon missing after Peripheral
View Answer
9. Which of the following PHP functions decodes JSON structures?
php_json_decode
none of them
json_decode
json_encode
View Answer
10. Which of the following function converts a JavaScript value into a JSON string?
JSON.convert()
JSON.string()
JSON.tovalue()
JSON.stringify()
View Answer