Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

JSON Quiz

Total questions: 26

Worksheet time: 24mins

Name
Class
Date
1.

1. JSON stands for ________________

a)

Java Standard Output Network

b)

JavaScript Object Notation

c)

JavaScript Output Name

d)

Java Source Open Network

2.

2. Which is correct format of writting JSON name/value pair

a)

'name : value'

b)

name = 'value'

c)

name = "value"

d)

"name" : "value"

3.

Which of the following is not a type in JSON?

a)

date

b)

Object

c)

Array

d)

string

4.

Who is the Father of JSON ?

a)

Douglas Crockford

b)

Rasmus Lerdorf

c)

Douglas Michel

d)

Dennis Ritchie

5.

What is correct MIME type for JSON ?

a)

application/js

b)

application/json

c)

json/mime

d)

application/xml

6.

What extension in used to save a JSON file?

a)

js

b)

.xsl

c)

.json

d)

xml

7.

Which of following statement is false about the space parameter in JSON.stringify() ?

a)

It controls spacing in the resulting JSON string

b)

It is an optional parameter

c)

It removes whitespace

d)

All are false

8.

Can you use a double quote inside a JSON string?

a)

No, you should use single quotes

b)

Yes, if you use the ascii code.

c)

Yes, if it is escaped like ( \" )

d)

Yes, you can use it without any special treatment

9.

For What is a JSONStringer used for?

a)

To quickly create number to JSON text.

b)

To create JSON ordered pairs.

c)

To converts JSON to Java strings

d)

To quickly create JSON text

10.

Is JSON Case sensitive ?

a)

Yes

b)

No

11.

What are two main structures compose JSON?

a)

Arrays and Objects

b)

Keys and values

c)

Class and Objects

d)

None of above

12.

How do JSON provide Internationalization?

a)

Using Unicode

b)

Using keys

c)

Using datatype

d)

Using lang

13.

JSON strings have used in___.

a)

Double quote

b)

Single quote

c)

Both 1 & 2

d)

None of These

14.

What is the common usage of Json on modern websites?

a)

To send and receive bits of data

b)

To store information remotely

c)

To store information locally

d)

All of the Above

15.

JSON elements are separated by the ___.

a)

line break

b)

semi-colon

c)

comma

d)

white space

16.

Which of the following code will throw an error?

a)

JSON.parse(‘{}’);

b)

JSON.parse(null);

c)

JSON.parse(undefined);

d)

JSON.parse(‘[]’);

17.

Does JSON supports the Unicode characters?

a)

Yes

b)

No

18.

__________is not a valid way to parse JSON string.

a)

JSON.parse()

b)

JSON.eval()

c)

jQuery.parseJSON()

d)

None of the above

19.

JSONP stands for ___.

a)

JSON Parsing

b)

JSON Procedures

c)

JSON Programming

d)

JSON with padding

20.

The MIME type of JSON is ___.

a)

application/json

b)

application/x-json

c)

application/javascript

d)

text/json

21.

Which of the following Protocol services uses JSON?

a)

SMTP

b)

HTTP

c)

TCP/IP

d)

Web Protocol

22.

JSON is derived from the ______ programming language?

a)

Java

b)

ECMScript

c)

PHP

d)

JavaScript

23.

Which of the following is the limitation of JSON?

a)

Too many data types

b)

Complicated debugging

c)

Support for only C

d)

No limit on arrays and objects

24.

Which of the following part of a JSON data structure is always in double quotes?

a)

Member

b)

Element

c)

Key

d)

Literal

25.

JSON _____ specifies the rules that defines the structure of a JSON document.

a)

Schema

b)

Comments

c)

Metadata

d)

Hyper Schema

26.

Which of the following JSON feature ensures communication between two applications designed in different programming languages?

a)

Extensibility

b)

Scalability

c)

Interoperability

d)

Reusability