Categories
Archives

21 Node.js quiz questions

How well do you know node.js? Can you handle a tough interview? Node is very complex and it will take a lot of time, practice and dedication to master it, it doesn’t just happen, you work on it and move up, bit by bit, learning more and more. You don’t get from a junior to a senior in a blink of an eye, it takes years. Here are a few questions that might help you rate you Node knowledge.

1 What is REPL in Node.js?

2 What’s a callback in Node.js?

3 What is “callback hell” and how can it be avoided?

4 What are Promises?

5 What can you say about Package.JSON?

6 What are Streams in Node.js?

7 What is the latest version of Node.js available? (just to make sure you keep up to date)

8 When should you use “SetTimeout” in Node.js?

9 How does Node.js handle child threads?

10 What is the child process module?

11 What is a Piping Stream?

12 What are the differences between AngularJS and Node.js?

13 What is Stub?

14 What are the external dependencies of Node.js?

15 When you’re dealing with streams, when should you use the pipe function and when should you use events?

16 How can you copy buffers in Nodejs?

17 What is the relationship between Node.js and V8?

18 Can different versions of the same package be used in the same application?

19 Name the 5 major steps for the require function

20 What is the console.time function useful for?

21 What is typically the first argument passed to a Node.js callback handler?

These of course represent just a portion of information related to Node.js, but if most of them seem familiar, then you’re on the right track. The more you know about Node, the more desirable you will be as a developer. That being said, you can advance your node skills by finding out more about all the questions that stump you. You might come across other useful things along the way.

Tweet