Web Computing Question Bank
Periodic Test II
1. Explain different type of Node JS modules.
2. Explain File System of NodeJS in detail.
3. Explain routing in Express JS along with an example
4. What are Buffers and Streams in NodeJs? Explain with an example.
5. Explain MVC architecture with a diagram. What are advantages of using it.
6. Explain event handling in React. Write a react code to create a button “Greet
User” and display an alert box saying “Hello World” on clicking that.
7. Explain the concept of hooks. What are the rules of using hooks?
8. Write a program that displays number of times button is clicked using
useState.
9. What is Express JS? Explain the advantages of using it.
[Link] is NodeJs? What are the advantages of using it? Demonstrate the
working of NodeJs by creating a simple server to display a “Welcome”
message.
[Link] the architecture of NodeJs with a neat diagram. Demonstrate its use
by writing the code which creates a simple text file with the data provided by
the user.
[Link] are the criteria for an API to be a RESTful API?
[Link] is Express used for? Explain the advantages of using Express. What are
the different parts of the Express server file?
[Link] the working of the event loop along with different phases of [Link]
with a neat diagram. Write an asynchronous file reading [Link] program and
explain how it is executed
[Link] how React router can be used with an example.