Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Datascience - 8

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

What does API stand for?

a)

Advanced Programming Input

b)

Application Programming Interface

c)

Automated Program Instruction

d)

Applied Program Interaction

2.

What does JSON stand for?

a)

JavaScript Object Notation

b)

Java Software Object Network

c)

Java Source Output Node

d)

Jumbled Simple Output Network

3.

What Python library is used to make HTTP requests?

a)

Json

b)

OS

c)

requests

d)

urllib

4.

What method is used to get data from a website in the requests library?

a)

fetch()

b)

get()

c)

post()

d)

put()

5.

What function converts the response to JSON format?

a)

json.load()

b)

json.convert()

c)

response.json()

6.

In a joke, what does "setup" refer to?

a)

Question or beginning part of the joke

b)

Final punchline

c)

API key

d)

Code start

7.

Which HTTP method is used in the joke code?

a)

PUT

b)

GET

c)

DELETE

d)

POST

8.

Which line sends the API request?

a)

open(url)

b)

print(url)

c)

data.json()

d)

requests.get(url)

9.

Which of these is a key in the joke JSON?

a)

joke

b)

setup

c)

reply

d)

message

10.

Which of the following is NOT a valid JSON data type?

a)

String

b)

Array

c)

integer

d)

function

11.

What do we call converting JSON text into a Python object?

a)

Importing

b)

Serializing

c)

Parsing

d)

Compressing

12.

What kind of structure is used in JSON data?

a)

Tree

b)

Dictionary

c)

List only

d)

Binary