JavaScript + Node.js track

Part 2 · Mini Projects (Workbook)

Student Grade Manager / Word Frequency Counter

Student Grade Manager / Word Frequency Counter — Mini Projects (Workbook) in the free JavaScript + Node.js track, covering Arrays, Objects, Loops.

Mini Projects (Workbook)1 min readFree lesson

Project brief

Build a student grade manager and a word-frequency counter. The first project practises arrays and objects; the second practises loops and counting with a map-like object.

This is a workbook project in the JavaScript track. It has no single prescribed solution: build it in your own file, test it in the browser or Node, and compare your result with the checklist below.

What you will practise

  • Arrays
  • Objects
  • Loops

Build it step by step

  1. Represent students as objects with a name and a list of scores.
  2. Compute each student's average, the class average and the highest score.
  3. Print a small table sorted by average.
  4. For the word counter, split a paragraph into words, normalise case and punctuation, and count occurrences.
  5. Print the five most frequent words.

Stretch goal

Add one feature that is not in the list above, then write down why you chose it and what you had to change. Keep the feature small enough to finish in one sitting.

Before you move on

  • The project runs without errors in a fresh browser tab or Node process.
  • Empty, missing and invalid inputs are handled deliberately.
  • The code is split into small functions with clear names.
  • You can explain every line you wrote.

Topics: Arrays, Objects, Loops.

Assignment

Requirements

  • Use array iteration methods rather than manual index loops where practical.
  • Handle an empty student list and an empty paragraph.
  • Do not mutate the original score arrays when calculating averages.
  • Keep the output aligned and readable in the console.

Acceptance checklist

  • The happy path works end to end.
  • Invalid input produces a useful message, not a crash.
  • The code is readable and consistently formatted.
  • You have tested at least three different inputs.

Submission

Keep the project in a folder named after the project. Include a short README.md with run instructions and one paragraph describing what was hardest.

Learn this lesson with a mentor

Work through the JavaScript + Node.js track on your own, or join a guided cohort at our Pitampura campus and online.

Call NowEnroll Now