• 1. 
    Who is the creator of JSON ?

  • Sergey Brin
  • Douglas Crockford
  • Liam Crockford
  • None of these
  • 2. 
    What is the purpose of the method JSON.parse()?

  • Parses a string to integer
  • Parses a string to JSON
  • Parses a string from JSON to JSON2
  • Parses integer to string
  • 3. 
    What is the MIME type of JSON?

  • application/x-json
  • text/json
  • application/json
  • application/javascript
  • 4. 
    What is the return type of the method parseInt()?

  • String
  • Float
  • Integer
  • Date
  • 5. 
    Why must one use JSON over XML?

  • It is faster and lighter than XML as on the wire data format
  • XML data is typeless while JSON objects are typed
  • JSON types: Number, Array, Boolean, String
  • XML data are all string
  • 6. 
    In JavaScript, what is a block of statement?

  • Conditional block
  • Block that combines a number of statements into a single compound statement
  • Both conditional block and a single statement
  • Block that contains a single statement
  • 7. 
    What are the data types supported by JSON?

  • Number
  • String
  • Boolean
  • Array
  • 8. 
    What is JSON data?

  • Exchanging data
  • Non-exchanging data
  • Changing data
  • None of these
  • 9. 
    The "function" and " var" are known as:

  • Keywords
  • Data types
  • Declaration statements
  • Prototypes
  • 10. 
    Is whitespace matter in JSON?

  • No, it will be stripped out.
  • Yes, both inside and outside of strings
  • Yes, only within strings
  • Yes, only outside of strings
  • 11. 
    Can you use a double quote inside a JSON string?

  • Yes, if you use the ascii code.
  • Yes, you can use it without any special treatment
  • Yes, if it is escaped like ( \” )
  • No, you should use single quotes
  • 12. 
    Which of these is correct about the JSON standard?

  • It is an open standard
  • It is privately developed
  • It requires a license to use
  • 13. 
    Which is the file extension of JSON?

  • .js
  • .json
  • .java
  • 14. 
    In modern websites what is the common usage for JSON?

  • To store information remotely.
  • To send and receive bits of data.
  • To store information locally.
  • 15. 
    How many types of json data?

  • 6
  • 4
  • 7
  • 3
  • 16. 
    JSON strings have to be in

  • single quote
  • double quote
  • Double quote
  • Single quote
  • 17. 
    Which of these is supported as a JSON Value type?

  • Infiniti
  • Null
  • Undefined
  • NaN
  • 18. 
    Which of these is proper a JSON array?

  • { “letters” : [ “a”, “b”, “c”; ] }
  • { ‘letters’ : {“a”, “b”, “c” } }
  • { “letters” : [ a, b, c ] }
  • { “letters” : [ “a”, “b”, “c” ] }
  • 19. 
    Give an example of JSON object?

  • Data is in name/value pairs
  • Data is separated by comma
  • Curly brackets hold objects
  • Square bracket holds arrays
  • 20. 
    Which of the following is the fastest JavaScript parser?

  • Acron
  • JSLint
  • Esprima
  • Traceur
Report Question
warning
access_time
  Time