| 1 | How do path.posix and path.win32 let you work with a specific path format regardless of the operating system Node.js is actually running on? Node.js › Path & OS Modules | Node.js | Path & OS Modules | Intermediate |
| 2 | What does path.parse() and path.format() do, and how are they useful for decomposing and reconstructing file paths? Node.js › Path & OS Modules | Node.js | Path & OS Modules | Beginner |
| 3 | What is the difference between path.join() and path.resolve(), and when would you use each? Node.js › Path & OS Modules | Node.js | Path & OS Modules | Beginner |
| 4 | How would you use the node:os module to make a script's behavior adapt correctly across different operating systems? Node.js › Path & OS Modules | Node.js | Path & OS Modules | Intermediate |
| 5 | What is path traversal, and how does the path module (specifically path.normalize() and careful path.join() usage) help prevent it as a security vulnerability? Node.js › Path & OS Modules | Node.js | Path & OS Modules | Advanced |
| 6 | What does the node:os module provide, and what are some commonly used functions from it? Node.js › Core Node.js Modules | Node.js | Core Node.js Modules | Beginner |
| 7 | How would you diagnose and resolve a 'split package' problem when using JPMS, where the same package is defined across two different modules on the module path? Java › Class Loading & Bytecode Verification | Java | Class Loading & Bytecode Verification | Advanced |
| 8 | How do you use pathlib.Path for modern, object-oriented file path manipulation instead of os.path's string-based functions? Python › File I/O & Context Managers | Python | File I/O & Context Managers | Intermediate |
| 9 | What is the difference between an absolute path and a relative path in Node.js, and how does __dirname help resolve paths reliably? Node.js › File System & File Processing | Node.js | File System & File Processing | Beginner |
| 10 | How do you write cross-platform shell scripts in Node.js that work identically on Windows, macOS, and Linux? Node.js › CLI Tools & Scripting with Node.js | Node.js | CLI Tools & Scripting with Node.js | Intermediate |
| 11 | How do you safely watch a directory or file for changes using fs.watch(), and what are its known cross-platform limitations? Node.js › File System (fs) Module | Node.js | File System (fs) Module | Intermediate |
| 12 | What is the difference between __dirname/__filename in CommonJS and their equivalents in ES Modules? Node.js › Global Objects & the process Object | Node.js | Global Objects & the process Object | Intermediate |
| 13 | What does it mean that Node.js's I/O is handled by libuv, and how does libuv abstract different operating systems' I/O mechanisms? Node.js › Event Loop & Non-blocking IO | Node.js | Event Loop & Non-blocking IO | Intermediate |
| 14 | How would you recursively read all files within a directory tree in Node.js? Node.js › File System & File Processing | Node.js | File System & File Processing | Intermediate |