1. What is Stream ? Mid A. the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs B. an abstraction for reading or writing data in chunks rather than all at once C. the promise-based version of the file-system API, for use with async/await D. a fixed-length container for raw binary data allocated outside the V8 heap Reveal the answer + AI explanation — free account
2. Which term means: "an abstraction for reading or writing data in chunks rather than all at once"? Mid A. Backpressure B. fs.promises C. Stream D. EventEmitter Reveal the answer + AI explanation — free account
3. Which statement is correct? Mid A. Stream — a fixed-length container for raw binary data allocated outside the V8 heap B. Stream — an abstraction for reading or writing data in chunks rather than all at once C. Stream — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs D. Stream — connects a readable stream to a writable stream, handling backpressure automatically Reveal the answer + AI explanation — free account
4. What is Buffer ? Mid A. an abstraction for reading or writing data in chunks rather than all at once B. a fixed-length container for raw binary data allocated outside the V8 heap C. pausing a readable stream when the writable side can't keep up, preventing memory blowup D. the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs Reveal the answer + AI explanation — free account
5. Which term means: "a fixed-length container for raw binary data allocated outside the V8 heap"? Mid A. pipe() B. EventEmitter C. Backpressure D. Buffer Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. Buffer — pausing a readable stream when the writable side can't keep up, preventing memory blowup B. Buffer — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs C. Buffer — the promise-based version of the file-system API, for use with async/await D. Buffer — a fixed-length container for raw binary data allocated outside the V8 heap Reveal the answer + AI explanation — free account
7. What is Backpressure ? Senior A. connects a readable stream to a writable stream, handling backpressure automatically B. pausing a readable stream when the writable side can't keep up, preventing memory blowup C. the promise-based version of the file-system API, for use with async/await D. an abstraction for reading or writing data in chunks rather than all at once Reveal the answer + AI explanation — free account
8. Which term means: "pausing a readable stream when the writable side can't keep up, preventing memory blowup"? Senior A. fs.promises B. EventEmitter C. Backpressure D. Buffer Reveal the answer + AI explanation — free account
9. Which statement is correct? Senior A. Backpressure — pausing a readable stream when the writable side can't keep up, preventing memory blowup B. Backpressure — the promise-based version of the file-system API, for use with async/await C. Backpressure — connects a readable stream to a writable stream, handling backpressure automatically D. Backpressure — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs Reveal the answer + AI explanation — free account
10. What is fs.promises ? Mid A. pausing a readable stream when the writable side can't keep up, preventing memory blowup B. an abstraction for reading or writing data in chunks rather than all at once C. the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs D. the promise-based version of the file-system API, for use with async/await Reveal the answer + AI explanation — free account
11. Which term means: "the promise-based version of the file-system API, for use with async/await"? Mid A. pipe() B. Stream C. fs.promises D. EventEmitter Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. fs.promises — pausing a readable stream when the writable side can't keep up, preventing memory blowup B. fs.promises — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs C. fs.promises — connects a readable stream to a writable stream, handling backpressure automatically D. fs.promises — the promise-based version of the file-system API, for use with async/await Reveal the answer + AI explanation — free account
13. What is EventEmitter ? Mid A. pausing a readable stream when the writable side can't keep up, preventing memory blowup B. an abstraction for reading or writing data in chunks rather than all at once C. the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs D. connects a readable stream to a writable stream, handling backpressure automatically Reveal the answer + AI explanation — free account
14. Which term means: "the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs"? Mid A. pipe() B. fs.promises C. Buffer D. EventEmitter Reveal the answer + AI explanation — free account
15. Which statement is correct? Mid A. EventEmitter — connects a readable stream to a writable stream, handling backpressure automatically B. EventEmitter — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs C. EventEmitter — the promise-based version of the file-system API, for use with async/await D. EventEmitter — an abstraction for reading or writing data in chunks rather than all at once Reveal the answer + AI explanation — free account
16. What is pipe() ? Mid A. the promise-based version of the file-system API, for use with async/await B. the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs C. an abstraction for reading or writing data in chunks rather than all at once D. connects a readable stream to a writable stream, handling backpressure automatically Reveal the answer + AI explanation — free account
17. Which term means: "connects a readable stream to a writable stream, handling backpressure automatically"? Mid A. Backpressure B. Stream C. fs.promises D. pipe() Reveal the answer + AI explanation — free account
18. Which statement is correct? Mid A. pipe() — the base class providing .on()/.emit() publish-subscribe for Node's event-driven APIs B. pipe() — connects a readable stream to a writable stream, handling backpressure automatically C. pipe() — an abstraction for reading or writing data in chunks rather than all at once D. pipe() — the promise-based version of the file-system API, for use with async/await Reveal the answer + AI explanation — free account