wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Application Programming Interfaces (APIs)

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What does API stand for?

a)

Application Process Interface

b)

Application Programming Interface

c)

Application Protocol Interface

d)

Advanced Programming Interface

2.

Which of the following is a type of Web API?

a)

REST

b)

Windows API

c)

Bluetooth API

d)

Android Camera API

3.

What is the preferred response format for APIs?

a)

HTML

b)

JSON

c)

CSV

d)

XML

4.

Which HTTP method is used to create data?

a)

GET

b)

POST

c)

PUT

d)

DELETE

5.

What is OAuth 2.0 primarily used for?

a)

API versioning

b)

Data storage

c)

Secure authorization

d)

Data retrieval

6.

Which of the following is a library-based API?

a)

Google Maps API

b)

jQuery

c)

Windows API

d)

Bluetooth API

7.

What does JWT stand for in API security?

a)

JavaScript Web Token

b)

JSON Web Token

c)

Java Web Token

d)

Java Web Technology

8.

Which of the following is NOT a common HTTP method?

a)

DELETE

b)

FETCH

c)

POST

d)

GET

9.

What is the purpose of rate limiting in APIs?

a)

To enhance security

b)

To prevent excessive API calls

c)

To increase data retrieval speed

d)

To manage user authentication

10.

Which backend framework is commonly used with Node.js?

a)

Laravel

b)

Express.js

c)

Flask

d)

Django

11.

What is the main function of the Google Maps API?

a)

Data analysis

b)

Social media integration

c)

Location services integration

d)

Payment processing

12.

Which API is used for secure online transactions?

a)

Social Media API

b)

Payment Gateway API

c)

Weather API

d)

Google Maps API

13.

What type of API is the Android Camera API?

a)

Web API

b)

Library-Based API

c)

Operating System API

d)

Hardware API

14.

Which of the following is a common database used in API development?

a)

HTML

b)

JavaScript

c)

MongoDB

d)

CSS

15.

What is the purpose of API keys?

a)

To store user data

b)

To track API usage

c)

To enhance user interface

d)

To manage database connections

16.

Which mobile API is used for iOS development?

a)

Retrofit

b)

Volley

c)

Express.js

d)

Alamofire

17.

What does REST stand for in RESTful APIs?

a)

Remote State Transfer

b)

Real-time State Transfer

c)

Resource State Transfer

d)

Representational State Transfer

18.

Which of the following is a use case for Social Media APIs?

a)

Location services

b)

Payment processing

c)

Data storage

d)

Authentication and posting

19.

What is a characteristic of stateless communication in APIs?

a)

Maintains user state

b)

Uses cookies for tracking

c)

Each request contains all necessary information

d)

Requires session management

20.

Which of the following is an example of a Library-Based API?

a)

Google Maps API

b)

TensorFlow

c)

Windows API

d)

Payment Gateway API