Modules and JSON: Programs Across Files Quiz
Interactive Quiz ⋅ 11 Questions
By Stephen Gruppetta
In this quiz, you’ll test your understanding of Modules and JSON: Programs Across Files.
By working through this quiz, you’ll revisit how JSON text differs from the data it describes, which values change or vanish on a round trip, how modules load, run once, and share their exports, why an import path or a default import can fail, and which copies and comparisons you can trust.
Most questions show a short snippet and ask what it does when you run it in JavaScript. Good luck!
The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!
Related Resources
Course
Modules and JSON: Programs Across Files
Learn how to keep a Node program's data in a JSON file, split the program into modules with one job each, and make deep copies. Build Dana's home budget tracker, a program in several files that saves her expenses and tries a what-if budget.