+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
Softwares
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 PHP functions decodes JSON structures?
json_decode
php_json_decode
json_encode
none of them
View Answer
2. 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
3. The XPath tree has a single _______ node, which contains all other nodes in the tree.
root
namespace
element
attribute
View Answer
4. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
P of Peripherals in Small Case
Remove comma after the last member of Mouse
Colon missing after Peripheral
All of Them
View Answer
5. Which Protocol service is use JSON?
GData
IP
SOAP
HTTP
View Answer
6. An_________, in XML, is a placeholder that consists of a name and a value.
ENTITY
DTD
ELEMENT
Root Element
View Answer
7. Which of the following is the limitation of JSON?
Support for only C language
Too many data types
Complicated debugging
No limit on array and objects
View Answer
8. Which of the following Gson methods are useful for implementing JSON?
None of them
fromJson()
Both toJson() & fromJson()
toJson()
View Answer
9. Which of the following function resolves the XSS and CSRF issues?
jsonstring()
jsoneval()
jsonify()
jsonparse()
View Answer
10. Strings are delimited with ________ and support a backslash escaping syntax.
Comma
Single-quotation
Double-quotation
Colon
View Answer