Class 8
1 min readJul 25, 2021
- What is “callback hell” and how can it be avoided? a large number of nested “if” statements and can be avoided by using promises
- What are “stubs” in Node.js?dummy objects for testing
- What are “streams” in Node.JS? is a interface used with streaming data
- What does “chaining” mean in Node.JS? it means one of the two methods known as “parallel” or “series” have been used
- Explain “console” in Node.JS. a global object used to print different messages
- Explain exit codes in Node.JS. List out some exit codes.when no more async operations are pending.
- What is the difference between cluster and non-cluster Index?special type of index in which logical order of index does not match physical stored order of the rows on disk.
- What are user defined functions? What are all types of user defined functions? Function with no arguments and no return value. Function with no arguments and a return value.