Loading

Quipoin Menu

Learn • Practice • Grow

Direction: Choose the correct option

Q1.

What does REPL stand for in Node.js?
A. Read, Evaluate, Print, Loop
B. Read, Execute, Process, Log
C. Read, Execute, Print, Loop
D. Run, Evaluate, Process, Loop
Direction: Choose the correct option

Q2.

How do you start the Node.js REPL?
A. node start
B. repl
C. node
D. node repl
Direction: Choose the correct option

Q3.

Which command exits the Node.js REPL?
A. All of the above
B. exit()
C. Ctrl + C twice
D. .exit
Direction: Choose the correct option

Q4.

In the REPL, what does the underscore `_` represent?
A. A function call
B. A variable name
C. The last evaluated result
D. An error
Direction: Choose the correct option

Q5.

Can you define multi-line functions in the Node.js REPL?
A. No, REPL only accepts single lines
B. Both B and C
C. Yes, by using the `{` and `}` and pressing Enter
D. Yes, by using the `.editor` command