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. Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
Deleted
Overridden
Duplicated
Accessed
View Answer
2. What does DTD stand for?
None of these
Dynamic Type Definition
Document Type Definition
Direct Type Definition
View Answer
3. Which Protocol service is use JSON?
GData
HTTP
SOAP
IP
View Answer
4. Which of the following function resolves the XSS and CSRF issues?
jsonify()
jsoneval()
jsonparse()
jsonstring()
View Answer
5. Identify the Errors in the following code
{
"peripherals" [{
"Mouse": [{
"brand" : "Logitech",
"price" : 300,
}]
}] }
Colon missing after Peripheral
P of Peripherals in Small Case
Remove comma after the last member of Mouse
All of Them
View Answer
6. Strings are delimited with ________ and support a backslash escaping syntax.
Colon
Comma
Single-quotation
Double-quotation
View Answer
7. _________ refers to adherence to basic XML syntax rules while _______ refers to adherence to the DTDs too.
None of these
Well-formed, Internal DTDs
Internal DTDs, Validity
Validity, Well-formed
View Answer
8. Which of the following does not make a DTD?
Entity declarations
Element declarations
Attribute declarations
Root Element declarations
View Answer
9. An_________, in XML, is a placeholder that consists of a name and a value.
Root Element
DTD
ELEMENT
ENTITY
View Answer
10. Which of the following PHP functions decodes JSON structures?
none of them
php_json_decode
json_decode
json_encode
View Answer