wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CHAPTER 5 - WEB APPLICATION FRAMEWORK

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which feature of a web application framework directly enhances security?

a)

Protection against SQL injection and CSRF

b)

Providing real-time weather updates

2.

If a developer wants to build an application that can grow easily in complexity, which framework benefit is most relevant?

a)

Scalability

b)

Maintainability

3.

A company wants to adopt a web framework that promotes code reuse. Which practice supports this?

a)

Writing all functions manually

b)

Using pre-built templates and libraries

4.

When comparing Frontend and Backend frameworks, which is accurate?

a)

React handles user interfaces, while Django manages server-side logic.

b)

Django is used only for frontend animations.

5.

Which distinction best describes Web Services vs Web Resources?

a)

Web Services are static pages, while Web Resources are APIs.

b)

Web Services enable communication between applications, while Web Resources are identifiable items on the web.

6.

Evaluating between REST and SOAP APIs, which is true?

a)

REST is lightweight and uses HTTP methods, while SOAP follows strict XML protocols.

b)

SOAP is used for modern mobile apps, while REST is only for databases.

7.

A business wants an API that ensures platform independence. Which benefit best explains this?

a)

APIs can be used across devices and operating systems.

b)

APIs provide only database storage support.

8.

A user uploads a photo on a website, and it is stored as JPG. This file is categorized as:

a)

Web Resource

b)

Web Service

9.

Which component is responsible for hosting and providing a Web Service?

a)

Service Provider

b)

Service Requester

10.

Which case best applies the use of Social Media APIs?

a)

Allowing users to log in with Facebook accounts

b)

Uploading a Word document to a cloud server

11.

A payment made through PayPal API is an example of:

a)
  1. Web Service

b)
  1. Web Resource

12.

If a developer uses Next.js, what type of framework are they working with?

a)

Full-Stack

b)

Frontend

13.

Which example best illustrates the use of a Backend Framework?

a)

Laravel managing database operations

b)

React handling image sliders

14.

Which protocol is most commonly used by REST APIs for communication?

a)

HTTP/HTTPS

b)

XML-RPC

15.

When accessing an API, the specific URL where requests are sent is called:

a)

Endpoint

b)

Service Provider