Class 12

Sandra Escalante
2 min readAug 10, 2021

What’s the difference between operational and programmer errors?

Operational errors are part of the normal operation of a program. Programmer errors are bugs. Sometimes, you have both operational and programming errors as part of the same root problem. If an HTTP server tries to use an undefined variable and crashes, that’s a programmer error.

What is ‘event-driven’ programming?

In computer programming, event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions, sensor outputs, or message passing from other programs or threads.

What are ‘worker processes’?

Worker processes provide the execution environment for all web sites and applications configured in IIS. Valuable information such as CPU utilization and memory footprint can be obtained from the API to help monitor the health of worker processes and the web server.

Describe how Node.js can be made more scalable.

It is scalable due to load balancing. Essentially you can have multiple jobs for node to process and it can handle it with no significant burden.

Explain global installation of dependencies.

The global installation of dependencies in Node. js is putting global packages in a single place in the system exactly where it depends on your setup, regardless of where you run the command npm install -g <package-name> to install dependencies.

Explain RESTful Web Service.

Representational state transfer is a software architectural style that was created to guide the design and development of the architecture for the World Wide Web. REST defines a set of constraints for how the architecture of an Internet-scale distributed hypermedia system, such as the Web, should behave.

--

--