wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Introduction to RESTful API

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

What is REST API?

a)

is a programming language for web development.

b)

is a type of web server software.

c)

is an architectural style for networked applications that uses HTTP requests to access and manipulate data.

d)

is a database management system.

2.

What is JSON?

a)

is a programming language used for web development.

b)

is a markup language similar to HTML.

c)

is a lightweight data interchange format that is easy to read and write.

d)

is a type of database management system.

3.

What is the definition of API?

a)
Application Programming Instruction
b)
Application Programming Integration
c)

Application Programming Interface

d)
Application Programming Interaction
4.

What are the types of Web API / Web Service?

a)

SOAP (Simple Object Access Protocol)

b)

REST (REpresentational State Transfer)

c)

HTTP (Hypertext Transfer Protocol)

d)

JSON (JavaScript Object Notation)

5.

What is the architectural style for providing standards between computer systems on the web?

a)

REST

b)

SOAP

c)

GraphQL

6.

What are the HTTP verbs used in REST?

a)

GET

b)

POST

c)

PUT

d)

DELETE

7.

What is the purpose of a resource in REST?

a)

To provide a structured way to access and manipulate data or functionality via unique URIs.

b)
To define the server's hardware specifications.
c)
To represent a user interface component.
d)
To manage network protocols and configurations.
8.

What is the HTTP method used to delete a resource?

a)

GET

b)

POST

c)

PUT

d)

DELETE

9.

What is the format used for response in REST?

a)

HTML

b)

JSON

c)

XML

d)

Plain Text

10.

What does a 404 response code indicate?

a)

Request successful

b)

Resource not found

c)

Unauthorized client

d)

No content

11.

What is the purpose of the response code in REST?

a)

To determine the result of the request

b)

To format the response

c)

To identify the resource

d)

To authenticate the client

12.

Fill in the blank: REST uses ______ format for data exchange.

a)
JSON
b)

XML

c)

HTML

d)

Array