Dynamic Webpage With Scripting Language (3360705) MCQs

MCQs of Working with Ajax

Showing 31 to 40 out of 57 Questions
31.
Which is the correct format of writing JSON name/value pair?
JSON name / value pair લખવાનું યોગ્ય ફૉર્મટ કયું છે?
(a) 'name : value'
(b) name = 'value'
(c) name = "value"
(d) "name" : "value"
Answer:

Option (d)

32.
Which of the following is not type in JSON?
JSON માં નીચેનામાંથી ક્યો ટાઇપ નથી?
(a) Date
(b) Object
(c) Array
(d) String
Answer:

Option (a)

33.
Who is the father of JSON?
JSON ના પિતા કોણ છે?
(a) Douglas Crockford
(b) Rasmus Lerdorf
(c) Douglas Michel
(d) Dennis Ritchie
Answer:

Option (a)

34.
What extension in used to save a JSON file?
JSON ફાઇલને save કરવા માટે કયા એક્સ્ટેંશનનો ઉપયોગ કરવામાં આવ્યો છે?
(a) .js
(b) .on
(c) .json
(d) .javaN
Answer:

Option (c)

35.
Is JSON case sensitive?
શું JSON એ case sensitive છે?
(a) YES
(b) NO
Answer:

Option (a)

36.
What two main structures compose JSON?
કયા બે મુખ્ય structure JSONને કંપોઝ કરે છે?
(a) Arrays and Objects
Arrays અને Objects
(b) Key and value
Key અને value
(c) Class and Object
Class અને Object
(d) Function and Object
Function અને Object
Answer:

Option (a)

37.
JSON strings have used in_______.
JSON સ્ટ્રિંગ _______ નો ઉપયોગ કરે છે.
(a) Double quote
(b) Single quote
(c) Both A and B
A અને B બંને
(d) None of these
ઉપરમાંથી એકપણનહી
Answer:

Option (a)

38.
JSON is a much simpler format than _______ .
JSON એ _______ કરતા ખૂબ સરળ ફૉર્મટ છે.
(a) JAVA
(b) JavaScript
(c) XML
(d) HTML
Answer:

Option (c)

39.
In the below notation, Employee is of type { “Employee”: [ “Amy”, “Bob”, “John” ] }
નીચે આપેલા notationમાં, Employee નો ટાઇપ { “Employee”: [ “Amy”, “Bob”, “John” ] }
(a) Not a valid JSON string
(b) Array
(c) Class
(d) Object
Answer:

Option (b)

40.
Which of the following code will return a valid JSON object?
નીચેનો કયો કોડ JSON ઓબ્જેક્ટ રિટર્ન કરશે?
(a) JSON.parse(‘({“FirstName”: “John”, “LastName”:”Doe”})’);
(b) JSON.parse(“{‘FirstName’: ‘John’, ‘LastName’:’Doe’}”);
(c) JSON.parse(“({‘FirstName’: ‘John’, ‘LastName’:’Doe’})”);
(d) JSON.parse(‘{“FirstName”: “John”, “LastName”:”Doe”}’);
Answer:

Option (d)

Showing 31 to 40 out of 57 Questions