Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 47 pages
Exam (elaborations)

(CS) ITSW 2120 D276 Web Dvpt Foundations Complete FA 2025 (With Solns).

Document preview thumbnail
Preview 4 out of 47 pages

(CS) ITSW 2120 D276 Web Dvpt Foundations Complete FA 2025 (With Solns).(CS) ITSW 2120 D276 Web Dvpt Foundations Complete FA 2025 (With Solns).(CS) ITSW 2120 D276 Web Dvpt Foundations Complete FA 2025 (With Solns).

Content preview

CS – ITSW 2120 D276 Web Development
Foundations

Complete Final Assessment (Qns & Ans)

2025

Question 1 (Multiple Choice)
Case:
A rapidly growing e-commerce site originally built as a
monolithic application is now suffering from performance
bottlenecks and deployment difficulties. The development team is
considering a migration to a more scalable system architecture.


Question:
Which architectural style best facilitates independent scaling of
application components and fault isolation?
A. Monolithic Architecture
B. Service-Oriented Architecture (SOA)
©2025

,C. Microservices Architecture
D. Layered Architecture


Correct ANS: C. Microservices Architecture


Rationale:
Microservices architecture decomposes an application into small,
loosely coupled services that can be developed, deployed, and
scaled independently. This architectural style provides better fault
isolation and scalability compared to monolithic or traditional
layered systems.


---


Question 2 (Fill in the Blank)
Case:
A developer is building a Progressive Web App (PWA) that must
work offline and load quickly even under poor network
conditions.


Statement:
In a PWA, a ______ is used as a client-side script to intercept
network requests and cache responses for offline access.
©2025

, Correct ANS: service worker


Rationale:
The service worker acts as a proxy between the web application
and the network, enabling caching of assets and controlling
network requests. This is essential for providing offline
functionality and improving load times.


---


Question 3 (True/False)
Case:
A modern single-page application (SPA) dynamically updates
content without reloading the entire page, relying on the
Document Object Model (DOM).


Statement:
The DOM is a hierarchical tree representation of the webpage that
can be modified in real time by JavaScript to reflect dynamic
content changes.


Correct ANS: True
©2025

, Rationale:
The DOM represents the structure of a webpage in a tree-like
format. JavaScript manipulates this structure to update page
content dynamically, which is a core mechanism behind SPAs.


---


Question 4 (Multiple Response)
Case:
A web development team is implementing security measures
against common attacks such as Cross-Site Scripting (XSS), SQL
Injection, and Cross-Site Request Forgery (CSRF).


Question:
Which of the following practices are effective for mitigating these
vulnerabilities? (Select all that apply.)
A. Input validation
B. Output encoding
C. Using prepared statements for database queries
D. Disabling JavaScript on the client-side
E. Implementing CSRF tokens
©2025

Document information

Uploaded on
April 28, 2025
Number of pages
47
Written in
2024/2025
Type
Exam (elaborations)
Contains
Unknown
$18.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
emiliophd
3.4
(21)
Sold
191
Followers
46
Items
4730
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions