IT – C773 ITWD 3110
User Interface Design
4.0 Credits
Objective Assessment Review (Qns &
Ans)
2025
©2025
, Question 1:
A company wants to improve its site’s SEO and initial load performance
while dynamically rendering pages. Which framework supports both
server‑side rendering (SSR) and static site generation?
- A. Angular
- B. Next.js
- C. Vue.js
- D. Ember.js
Correct ANS: B. Next.js
Rationale:
Next.js, built on React, provides powerful features for SSR and static site
generation. This results in better SEO performance and faster initial page
loads by pre-rendering pages on the server.
---
Question 2:
Which front‑end library is renowned for its virtual DOM and component-
based architecture to efficiently update the user interface?
- A. Angular
- B. jQuery
- C. React
- D. Backbone.js
Correct ANS: C. React
Rationale:
React’s virtual DOM minimizes direct DOM manipulations by batching
and efficiently updating UI components. Its component-based
architecture also supports code reusability and easier state management.
---
Question 3:
©2025
, What technology do Progressive Web Apps (PWAs) use to enable offline
functionality and background synchronization?
- A. AJAX polling
- B. Service workers
- C. HTML5 local storage exclusively
- D. WebSockets
Correct ANS: B. Service workers
Rationale:
Service workers operate in the background to cache essential assets and
data, enabling PWAs to function offline and update content in the
background without user intervention.
---
Question 4:
When developing a decoupled system where the front end
communicates via APIs, which architectural approach is most
appropriate?
- A. Monolithic Architecture
- B. API-First/Headless Architecture
- C. Single Page Application (SPA) only
- D. Desktop Application Integration
Correct ANS: B. API-First/Headless Architecture
Rationale:
An API-First or headless architecture decouples the content management
and presentation layers. This approach enhances flexibility, enabling
developers to use separate front‑end frameworks to consume data via
RESTful or GraphQL APIs.
---
Question 5:
Which JavaScript pattern offers a more elegant solution for handling
©2025
User Interface Design
4.0 Credits
Objective Assessment Review (Qns &
Ans)
2025
©2025
, Question 1:
A company wants to improve its site’s SEO and initial load performance
while dynamically rendering pages. Which framework supports both
server‑side rendering (SSR) and static site generation?
- A. Angular
- B. Next.js
- C. Vue.js
- D. Ember.js
Correct ANS: B. Next.js
Rationale:
Next.js, built on React, provides powerful features for SSR and static site
generation. This results in better SEO performance and faster initial page
loads by pre-rendering pages on the server.
---
Question 2:
Which front‑end library is renowned for its virtual DOM and component-
based architecture to efficiently update the user interface?
- A. Angular
- B. jQuery
- C. React
- D. Backbone.js
Correct ANS: C. React
Rationale:
React’s virtual DOM minimizes direct DOM manipulations by batching
and efficiently updating UI components. Its component-based
architecture also supports code reusability and easier state management.
---
Question 3:
©2025
, What technology do Progressive Web Apps (PWAs) use to enable offline
functionality and background synchronization?
- A. AJAX polling
- B. Service workers
- C. HTML5 local storage exclusively
- D. WebSockets
Correct ANS: B. Service workers
Rationale:
Service workers operate in the background to cache essential assets and
data, enabling PWAs to function offline and update content in the
background without user intervention.
---
Question 4:
When developing a decoupled system where the front end
communicates via APIs, which architectural approach is most
appropriate?
- A. Monolithic Architecture
- B. API-First/Headless Architecture
- C. Single Page Application (SPA) only
- D. Desktop Application Integration
Correct ANS: B. API-First/Headless Architecture
Rationale:
An API-First or headless architecture decouples the content management
and presentation layers. This approach enhances flexibility, enabling
developers to use separate front‑end frameworks to consume data via
RESTful or GraphQL APIs.
---
Question 5:
Which JavaScript pattern offers a more elegant solution for handling
©2025