Safcode | Code Your Ideas by Sir Safder
Ideas & Topics!
HTML & CSS
Amazon Virtual Assistant
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"
1. Identify the Errors in the following code
"brand" : "Logitech",
"price" : 300,
Remove comma after the last member of Mouse
P of Peripherals in Small Case
Colon missing after Peripheral
All of Them
2. Choose the Correct Option
1) Language for navigation XML
2) Language for transforming XML
3) Language for formatting XML
a-3, b-1, c-2
a-2, b-1, c-3
a-2, b-3, c-1
a-3, b-2, c-1
3. The top level XSLT elements can be occur directly the __________ element.
none of these
4. Which JSON feature ensures communication between two applications designed in different programming languages?
5. An_________, in XML, is a placeholder that consists of a name and a value.
6. Which of the following aspects describes Gson?
Similar to JSON and XML
Does not serialize objects
Is a Java library
None of them
7. _________ refers to adherence to basic XML syntax rules while _______ refers to adherence to the DTDs too.
None of these
Internal DTDs, Validity
Well-formed, Internal DTDs
8. Identify the incorrect predefined attribute
all of them
9. Which of the following aspects describes Gson?
Its a Java Library
Connects Java Objects into JSON
All of them
10. A series of zero or other Unicode characters within double quotes and backslash escapes is termed as ________.
11. Which of the following PHP functions decodes JSON structures?
none of them
12. Prefixing an element in a XML document, with a unique prefix, prevents it from being ___________.
13. Which of the following are the uses of JSON?
Facilitate between incompatible platforms
Preferred to sending web data
All of them
14. Which of the following does not make a DTD?
Root Element declarations
16. Which of the following objects is used to read a JSON file and display its contents in the browser?
17. Which Protocol service is use JSON?
18. Which of the following function resolves the XSS and CSRF issues?
19. Which of the following Gson methods are useful for implementing JSON?
None of them
Both toJson() & fromJson()
20. Strings are delimited with ________ and support a backslash escaping syntax.