We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3
IT3501 – Full Stack Web Development
IAT 2 Question Bank
Part A
1) Write the command for creating the new database in MongoDB
and give an example. 2) Distinguish between GET and POST method in MongoDB. 3) Predict the output of the following code: function sum(a: number, b:number, c:number){ return (a*b)+c; } var result = sum(1,2,’5’); console.log(“sum():”+result) 4) List out the role of Angular JS? 5) What are the three different packages used in React Routing. 6) Define the term Server-side rendering. 7) Counting Documents Example problem 8) Define Access Control. 9) How to Install and Run TypeScript file using Node Package Manager? 10) Why router is required in React JS? 11) List out the three advantages of MERN Stack. 12) Define React Js. 13) Define Data Binding 14) Define Typescript 15) Features of angular 16) Namesapace in Type Script 17) What is NoSQL? Enlist the various features of NoSQL. Part B 1) Illustrate, how to connecting to Mongodb from Node.js. 2) Explain in detail about TypeScript and different types of the TypeScript with an example programs. 3) Explain in detail about Life Cycle of Angular Components. 4) Discuss about how to configuring the Express Server, and explain how to apply the route parameters in Express JS. 5) Write the procedure to Implementing the Express in Node.Js with necessary commands. 6) Discover the Three-Tier Architecture in MERN Stack and explain the advantages and disadvantages of MERN Stack. 7) Describe about the React Components and its types with an example. 8) Create a runtime error for the React library by changing the string 'contents' to' main' or some other string that doesn’t identify an element in the HTML. Where do you see the error Messages and how to rectify it ? Explain with its Step-by-step procedure. 9) Design a web application of your choice to demonstrate the webpack and modularization concept. 10) Create a simple application using MongoDB for Website Signup Form. 11) Develop the Hospital Patient Management System for the following Scenario: You are building a **Patient Management System** for a hospital. The system will store and manage patient information, including their name, age, medical conditions, assigned doctors, and status (e.g., admitted, discharged). You also need to keep track of the patients’ treatments and update their records when needed 1.Given the following new patient information, write MongoDB code to add these patients to the database: (i) Shalini M : Age 45, Medical Condition: "Diabetes", Assigned Doctor: "Dr. Smith", Status: "Admitted". (ii) Vanitha M : Age 60, Medical Condition: "Hypertension", Assigned Doctor: "Dr. Lee", Status: "Admitted". (iii) Mehatheesh M : Age 65, Medical Condition: "Asthma", Assigned Doctor: "Dr. Clark", Status: "Discharged". 2. Write a MongoDB query to retrieve and display a list of all patients who are currently admitted. Explain the query and why it works for this purpose. 3. Vanitha M has been successfully treated and is now discharged. Write a MongoDB query to update her status in the system. Explain the syntax of your query. 4. The hospital has implemented a policy to delete records of patients who have been discharged for more than a year. Write a MongoDB query that would delete all such records. Explain how you calculate the time criteria in the query.