Write Reusable Reporting Functions Quiz
Interactive Quiz ⋅ 9 Questions
By Martin Breuss
In this quiz, you’ll test your understanding of Write Reusable Reporting Functions.
By working through this quiz, you’ll revisit how to declare and call functions with parameters, the difference between returning a value and logging it, where to declare a function’s variables, how to build a report result object, and how to plan a report as small functions.
Most questions show a short JavaScript program built on feedback messages and ask what it logs, or which piece of code makes it work.
The quiz contains 9 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
Write Reusable Reporting Functions
Learn to write small JavaScript functions with clear inputs and results, then combine them into a reusable report that counts feedback messages by topic and lists the source IDs behind every number.