wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Classes & Objects Quizs

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

The GET method is used to get data from a server.

a)

TRUE

b)

FALSE

2.

A 404 status code means the resource was not found.

a)

TRUE

b)

FALSE

3.

Which tool is used to test Python code?

a)

Flask

b)

Pytest

c)

Pandas

d)

NumPy

4.

Flask is used to build APIs in Python.

a)

TRUE

b)

FALSE

5.

DELETE is used to remove data from the server.

a)

TRUE

b)

FALSE

6.

Which HTTP method is used to create new data?

a)

GET

b)

POST

c)

DELETE

d)

PUT

7.

Which Python framework is simple and used to build APIs?

a)

Flask

b)

Django

c)

React

d)

Node

8.

What does the GET method do?

a)

Send data to the server

b)

Delete data from the server

c)

Retrieve data from the server

d)

Update existing data

9.

PUT is used to update existing data.

a)

TRUE

b)

FALSE

10.

Which HTTP method removes data from the server?

a)

GET

b)

PUT

c)

DELETE

d)

POST

11.

The PUT method replaces existing data.

a)

TRUE

b)

FALSE

12.

Which status code indicates a server error?

a)

404

b)

500

c)

200

d)

301

13.

Which method is used to update existing data?

a)

GET

b)

POST

c)

PUT

d)

DELETE

14.

Which HTTP method is used to get data from a server?

a)

POST

b)

GET

c)

PUT

d)

DELETE

15.

What does the 200 status code indicate?

a)

Resource not found

b)

Success

c)

Bad request

d)

Server error

16.

Status code 500 means the server has an error.

a)

TRUE

b)

FALSE

17.

Which HTTP method sends data to a server?

a)

GET

b)

POST

c)

DELETE

d)

PUT

18.

Which status code means success?

a)

404

b)

500

c)

200

d)

301

19.

What does status code 404 mean?

a)

Success

b)

Not Found

c)

Server Error

d)

Bad Request

20.

Status code 200 is a success status.

a)

TRUE

b)

FALSE