Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding aquestion to node.js, need answer #1322

Merged
merged 1 commit into from
Mar 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions node.js/node.js-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,3 +298,11 @@ fs.appendFile('hello.txt', `Hello ${user} on ${system}`, (err) => { if (err) thr
- [x] read, eval, print, loop
- [ ] run, edit, print, loop
- [ ] read, extend, print, loop

### Q45. Which statement is true when you run this code?
`require('child_process').fork("script.js")`
- [ ] The forked process shares the same VM thread with the parent process.
- [ ] The forked process will have its own VM instance.
- [ ] The forked process shares the event loop with the parent process.
- [ ] A new VM instance is created, and the two VM instances will be shared between the forked process and the parent process.