+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. A series of zero or other Unicode characters within double quotes and backslash escapes is termed as ________.
String
Number
Array
Object
View Answer
2. Which of the following function resolves the XSS and CSRF issues?
jsonify()
jsoneval()
jsonstring()
jsonparse()
View Answer
3. Which of the following Gson methods are useful for implementing JSON?
Both toJson() & fromJson()
toJson()
None of them
fromJson()
View Answer
4. Identify the incorrect predefined attribute
xml:lang
all of them
xml:space
xml:data
View Answer
5. What does DTD stand for?
Document Type Definition
Dynamic Type Definition
None of these
Direct Type Definition
View Answer
6. 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-1, c-2
a-3, b-2, c-1
a-2, b-3, c-1
View Answer
7. Which of the following does not make a DTD?
Attribute declarations
Entity declarations
Element declarations
Root Element declarations
View Answer
8. Which of the following aspects describes Gson?
Its a Java Library
All of them
Open SOurce
Connects Java Objects into JSON
View Answer
9. 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
10. An_________, in XML, is a placeholder that consists of a name and a value.
DTD
Root Element
ENTITY
ELEMENT
View Answer