JavaScript: Node.js Basics
Node.js took JavaScript out of the browser and onto the server. This quiz tests the core concepts behind running JavaScript server-side — modules, the file system, and asynchronous I/O.
Questions cover requiring built-in modules, the fs module, npm and package.json, creating a basic HTTP server, and the callback-driven, asynchronous style Node.js is built around.
Whether you're building your first API or just curious how Node.js actually works, this quiz covers the essentials.
Start quiz →
Opens in a new tab on Cletica
Sample questions3 of 14 shown
Q1
What is Node.js primarily used for?
Q2
Which of the following is the correct way to import a built-in module in Node.js?
Q3
What does the 'fs' module in Node.js allow you to do?
What This Quiz Covers
- Importing modules with require()
- The fs module for file system access
- npm and package.json
- Creating a basic HTTP server
- Asynchronous operations and callbacks
- The global object in Node.js
Cletica
Want to create your own quiz?
Build surveys and quizzes, share with anyone, collect responses — free to start.
Try Cletica for free →