Hiring Partners
Segilola Resources Operating LimitedTaviatech TechnologiesFCMBMTN NigeriaAdvans La Fayette Microfinance BankAboki AfricaFirst Bank of NigeriaOPay
← Fundamentals of Object Oriented Programming Level Two · Lesson 8 of 8

Module Seven

📖 Every lesson in this course is free to read right here, no account needed. Create a free account to track your progress, take the exam, and earn your certificate.
8
Module 7: Mini-Project – Build a Small OO Application for Young Coders
🏁 Module 7 · Mini-Project · Level Two

Mini-Project:
Build Your Own App

🚀 Put every skill from Level Two into one real project

🎯 What you'll do in this module

  • ✔ Combine abstraction, generics, and collections in one design
  • ✔ Handle errors gracefully and persist data between runs
  • ✔ Write a simple console or file‑driven UI
  • ✔ Refactor for readability and keep your classes focused
  • ✔ Write a basic test plan and verify your app works
  • ✔ Present your final application with confidence
📋 Plan
→
🧠 Model
→
💻 Code
→
🧪 Test
→
🎤 Present
💡
Step 1: Choose Your Project

Pick something you actually care about — a small app you'd use yourself. Here are some ideas:

  • 📚 A Library Manager: add books, track borrowed, save to file
  • 🎮 A Game Inventory: weapons, potions, gold — with item categories
  • 🏋️ A Fitness Tracker: log workouts, track weekly totals, persist history
  • 🌱 A Plant Care Assistant: track plants, watering schedules, and notes
  • 💸 A Pocket Budget: record expenses, categorize, sum totals by category

Write a one‑page plan: what it does, who uses it, and what classes you'll create. Planning saves hours of confusion later.

🗺️ Before exploring a new place, sketch the map. Before building an app, sketch the plan.
🧠
Step 2: Design Your Domain Model

Identify the "things" in your app and how they connect. For a library manager: Book, Member, Loan. Decide which relationships are composition, aggregation, or association (from Module 6).

Sketch your classes with their key fields and methods. Don't worry about perfect — just get the shape right. A clear model makes the coding phase twice as fast.

🏗️ A domain model is the blueprint of your app. Just like a builder wouldn't start without plans, a coder shouldn't start without a model.
🧰
Step 3: Apply Every Level Two Skill

Your project should show off what you've learned. Aim to include at least one example of each:

  • An interface or abstract class (abstraction)
  • A generic class or method (e.g., a generic Repository<T>)
  • An appropriate collection (list, map, set — you choose)
  • Custom exception handling with try/catch
  • Persistence to JSON or CSV
  • Clear composition or aggregation relationships
🎒 Your project is a chance to show every tool you've collected. Use them all — not because you have to, but because they make the app better.
🖥️
Step 4: Build a Simple UI

You don't need a fancy graphical interface. A console menu or file‑driven command list is enough. Keep it clear:

  • Show a numbered menu ("1. Add item, 2. List items, 3. Save, 4. Exit")
  • Read the user's choice, dispatch to the right method
  • Loop until the user chooses "Exit"
  • Print friendly messages — never bare stack traces

Keep the UI in its own class. It should only call domain methods — never contain business logic itself (Module 6's layering rule).

🎮 The UI is the game controller. It doesn't decide what the game does — it just tells the game which button was pressed.
🧪
Step 5: Test Your App

Write a manual test plan: a list of things you'll try, and what you expect to happen. For each feature, test both the "happy path" and the "bad input path."

Try to break your own app: what happens if the save file is missing? If a user enters letters where numbers should be? If a file is corrupted? Every failure is a chance to improve.

🎲 Testing is like playtesting a board game: you try every rule and even try to cheat — to make sure the game is fair and fun.
🧹
Step 6: Refactor & Polish

Once it works, make it better. Rename unclear variables. Split long methods. Move code to the right class. Add a few comments where things aren't obvious.

Ask yourself: "If someone else read this, could they understand it?" If the answer is no, refactor. Clean code is a gift to your future self.

🧹 Tidying a room doesn't change what's in it — but now you can find things. Refactoring does the same for code.
🎤
Step 7: Present Your Application

Show your app to a peer or instructor. A strong presentation includes:

  • A 30‑second summary: what it does, who it's for
  • A live demo of your main feature
  • One design decision you're proud of
  • One thing you'd improve with more time

Be proud — you built a real, working object‑oriented app from scratch. That's a huge step.

🎬 The presentation is opening night: the code worked in rehearsal, now you get to show it off.
⚠️ Scope check: A common trap is making your project too big. A working small app beats a half‑finished big one. If you're running out of time, cut a feature — keep the app polished and complete. Quality over quantity, always.

🛠️ Project milestones

1

Milestone 1 — Plan: Submit your one‑page plan: features, users, and a rough sketch of your classes. Get it approved before coding.

2

Milestone 2 — Core domain: Implement at least 3 core classes with basic functionality (no UI or files yet). Show they work by adding a small console test.

3

Milestone 3 — Skills check: Add at least one interface, one generic class or method, and one custom exception to your project. Explain how each improves the design.

4

Milestone 4 — Persistence: Add save/load functionality using JSON or CSV. Verify data survives a restart. Add basic try/catch around file operations.

5

Milestone 5 — UI: Build a simple menu‑driven UI in its own class. Show all key features working through the menu — no direct calls from UI to files.

6

Milestone 6 — Test & refactor: Write a manual test plan (at least 8 cases) and fix any issues. Refactor at least 2 things — shorter methods, clearer names, or moved responsibilities.

7

Milestone 7 — Deliver: Submit your code, your test plan, and a 5‑minute live demo. Include a one‑paragraph reflection on what you learned and what you'd do differently.

🎓

By the end of this module, you'll have: built a complete, working object‑oriented application that combines everything from Level Two — abstraction, generics, collections, exceptions, persistence, and clean design.

🏆 Get Certified

🔒

Earn this certificate

Every lesson is already free to read. Sign up, finish the lessons, pass the exam (₦2,000 or 20,000 coins), and get a verified certificate with your name on it.

🎓 Sign Up to Get Certified
🛠️ Practice Tools
Hands-on simulators & labs - subscription required.
→
🎯 Internship Tasks
Real-world tasks to build your portfolio - unlock them with a subscription.
→