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
WordPress Development
Amazon Virtual Assistant
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 function resolves the XSS and CSRF issues?
jsoneval()
jsonparse()
jsonify()
jsonstring()
View Answer
2. Identify the incorrect predefined attribute
xml:space
xml:lang
xml:data
all of them
View Answer
3. Which of the following Gson methods are useful for implementing JSON?
Both toJson() & fromJson()
None of them
fromJson()
toJson()
View Answer
4. The top level XSLT elements can be occur directly the __________ element.
xmlfile
xsl:character
none of these
xsl:stylesheet
View Answer
5. _________ refers to adherence to basic XML syntax rules while _______ refers to adherence to the DTDs too.
Internal DTDs, Validity
None of these
Well-formed, Internal DTDs
Validity, Well-formed
View Answer
6. Which of the following are the uses of JSON?
Facilitate between incompatible platforms
Serializing Data
All of them
Preferred to sending web data
View Answer
7. Which of the following PHP functions decodes JSON structures?
json_decode
none of them
php_json_decode
json_encode
View Answer
8. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
All of Them
P of Peripherals in Small Case
Colon missing after Peripheral
Remove comma after the last member of Mouse
View Answer
9. Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
Deleted
Overridden
Duplicated
Accessed
View Answer
10. The XPath tree has a single _______ node, which contains all other nodes in the tree.
attribute
namespace
element
root
View Answer