NET Centric Computing · Unit 8
Client-Side Technologies and Single Page Applications
Exam-focused notes for Client-Side Technologies and Single Page Applications (NET Centric Computing, BIT351): what the TU syllabus asks and how it has actually been tested, with 7 solved past questions from this unit.
What this unit covers
- Single Page Application significance
- SPA uses and benefits
- React framework fundamentals
- React form creation
- React email and phone validation
- Angular framework usage
- REST API integration
- JSON format and advantages
React form creation
Create a form using React with your own assumption. [5]
- A User Registration Form with fields: Name, Email, Password, and Gender. - Using React functional component with useState hook for state management. - Basic form validation on submit. --- --- Concept Purpose ------ useState Manages form data, errors, and ...
Full solved answer →How do you create form using React? Illustrate with an example. [5]
In React, forms are handled differently from regular HTML forms. React uses controlled components to manage form data, where form input values are controlled by the component's state. --- A controlled component is an input element whose value is driven by R...
Full solved answer →Single Page Application significance
What re the signigicances of Single Page Application? How do you integrate REST API calls? Describe.[10]
Note: No specific curriculum notes were found for this topic. The answer below is based on standard, correct web development knowledge appropriate for BSc CSIT level. --- A Single Page Application (SPA) is a web application that loads a single HTML page and...
Full solved answer →Angular framework usage
Discuss the use of Angular with an example. [5]
Angular is a TypeScript-based open-source front-end web application framework developed and maintained by Google. It is used to build dynamic, single-page applications (SPAs) by extending HTML with additional attributes and binding data to HTML using expres...
Full solved answer →JSON format and advantages
Discuss about the advantages of using JSON. [5]
(Note: The reference notes did not contain specific content on this topic. The following answer is based on standard, correct Computer Science knowledge about JSON.) --- JSON (JavaScript Object Notation) is a lightweight, text-based data interchange format ...
Full solved answer →SPA uses and benefits
What is the use of SPA? Elaborate. [5]
--- A Single Page Application (SPA) is a web application that loads a single HTML page and dynamically updates the content as the user interacts with the app, without reloading the entire page from the server. Examples: Gmail, Google Maps, Facebook, Twitter...
Full solved answer →React email and phone validation
Write a program to validate email id and phone number using React. [5]
This is a programming/implementation question, not a numerical problem. There is no numeric data (no matrices, burst times, page strings, etc.) to extract. Requirements from the question: - Framework: React - Validate: Email ID and Phone Number - Marks: 5 (...
Full solved answer →Make Unit 8 stick
Practice BIT351 with flashcards & quizzes