Skip to main content

Featured

Space Explorers Book 7: Answers and Explanations

Memunic Space Explorers › Book 7: Memoon and the Search for Another Home › Answers and Explanations Answers and Explanations Habitable means life could live there; inhabited means life does live there. A world can be habitable and empty, as an unoccupied flat has a roof and water but nobody in it. The Moon has almost no air, so water would boil or freeze, and its gravity is only about one-sixth of Earth’s, too weak to keep air. Accept also: no greenhouse blanket, so it swings between very hot and very cold. Venus. It matches Earth in size and roughly in mass, but its thick carbon dioxide air traps heat, making it hot and crushing. “Twin” is only true for size and weight. A dip of 1 per cent means (planet width divided by star width) squared is 0.01, so the ratio is 0.1: the planet is about a tenth as wide as the star. Repeats at the same gap show the planet is going round the star in 12 days, and rule out a one-time event such as a passing object. A planet shines only by reflected l...

Byte by Byte Book 8: Capstone Project – My Memunic Solution

Byte by Byte › Book 8: Real-World Coding, Data and AI › Capstone Project: My Memunic Solution

Capstone Project: My Memunic Solution

Illustration from Byte by Byte Book 8: Capstone Project – My Memunic Solution

This project brings together everything in the series. You will find a real problem in your home, school or neighbourhood, and solve it the way professionals do: problem → plan → code → test → present. Plan for three to five weeks, a little each day.

Example problems: the school canteen runs out of popular items; classmates forget homework deadlines; the society's water tank overflows; the library doesn't know which books are popular; a local shop wants online orders.

Stage 1: Problem (Chapter 16)

  • Interview at least three people affected. Write down their exact words.
  • Write a one-sentence problem statement and three user stories with acceptance criteria.
  • Decide what data you need and how you will collect it ethically (Chapter 17): consent, minimisation, no personal data you don't need.

Stage 2: Plan

  • Sketch wireframes of your web page.
  • Write pseudocode or a flowchart for the main logic.
  • Make a Kanban board and a simple Gantt chart.
  • Define your MVP.

Stage 3: Code — four required parts

  1. Interactive web page (Chapters 2–4): HTML, CSS and JavaScript with at least one form, input validation, an event listener and a DOM update.
  2. Data analysis (Chapters 6–9): collect at least 50 rows of real or carefully simulated data in a CSV. Clean it with pandas, keep a cleaning log, calculate at least four statistics, and make at least two honest, labelled charts.
  3. Machine learning model (Chapters 11–12): train a classifier on your data (or a related public dataset), use a train/test split, and report accuracy, precision, recall and a confusion matrix. Explain which mistake matters more for your problem and how you set the threshold. If your problem genuinely has no ML angle, write a one-page explanation of why, and what data would make ML useful.
  4. Use one class (Chapter 5) somewhere in your Python code.

Optional extras: a spreadsheet version with lookups and a pivot table (Chapter 10); a Java version of one class; a Lean Canvas (Chapter 18).

Stage 4: Test (Chapter 15)

  • A test table with normal, boundary and erroneous data for every input.
  • At least three assert tests in Python.
  • Version history: at least eight Git commits with clear messages, or dated saved versions if you don't use Git.
  • User acceptance test: ask two of the people you interviewed to try it, and record their feedback.

Stage 5: Present

A 5-minute presentation (slides or a live demo) covering:

  1. The problem and who has it.
  2. Your solution: a live demo.
  3. What the data showed (charts).
  4. How well the model works, honestly, including its limits.
  5. Ethics: data, privacy, fairness, and your AI use log (Chapter 14).
  6. What you would do next.

Self-Assessment Rubric

Developing

CriterionSecure (2)Excellent (3)

(1)

Problem and requirementsVague problemClear statement and user storiesEvidence from interviews shapes every decision
Web pageDisplays contentInteractive with validationPolished, accessible, handles all bad input
Data and statisticsData loadedCleaned, summarised, chartedCleaning log, honest charts, clear insight
Machine learningModel trainedTested with correct metricsThreshold justified by real-world cost
Testing and versionsSome testingTest table and assertsThorough boundary tests, regular commits
Ethics and AI useMentionedPrivacy notice and AI logData minimised, fairness checked, limits stated
PresentationReads slidesClear demo and storyConfident, honest, answers questions well

Keep learning with Byte by Byte

Explore Book 8: Real-World Coding, Data and AI. Find the ebook, purchase details and teaching slides on MemuniCity.

Comments

Popular posts from this blog

CA-7 Job Status and Failure Reason Codes

Here are the various status codes that You may see for jobs in the Queue or Logs in CA-7. R-C0002 R-C0003 R-C0099 R-C0255 R-JCLER A-U0002 A-U0004 A-U0015 A-U0043 A-U4095 A-SOC7 A-U4000 Reason Code/Job Status Code explanation: The indication of the job's current disposition. Values and their meanings are: A-Snnnn-- The job has failed with a system abend. A-Unnnn --The job has failed with a user abend. C-Cnnnn --The job has completed successfully and is going through completion processing. E-ARFATT-- An error occurred during the attempt to attach ARF definitions. This can result if the ARFSET specified is not defined. A diagnostic message may have been written to the CA-7 log, the OS console, or to the trailer queue for the job (in which case it can be displayed using LQ,JOB=x,LIST=ALL). E-ARFERR ---The job encountered an error in the ARF processing. Do a LARFQ command for the job to get more specific information. E-SEGERR --The job has been requeued...

Whistling Winds and Waterfalls: 4 Days of Magic in Shillong

Nestled in the clouds, where the scent of pine trees mingles with the rhythm of waterfalls and the tunes of local guitar-strumming youth—Shillong is more than a place. It’s a vibe. If you’ve got 3 nights and 4 days, you’ve got just enough time to fall in love. Here’s how to make the most of it—food, fun, fog and fantastic views included. Day 1: Shillong, We’re Coming for You! You land in Guwahati, barely out of the airport when the hills start calling. You hop into your cab, Spotify on, windows down, and the three-hour ride to Shillong begins. Just when you think it can’t get better, you stop at Umiam Lake —a lake so calm, it looks like someone ironed the water. By evening, you’re sipping hot chai in Laitumkhrah, maybe nibbling on spicy momos or pork jadoh from a roadside stall. You’re checked into your charming hotel ( Tripura Castle if you fancy old-world royalty, Ri Kynjai if you’re into lakeside poetry). The breeze whispers secrets of waterfalls and pine forests. Sleep well, drea...

Installing and Configuring Hadoop on Ubuntu as a Pseudo Distributed Single Node Cluster

Briefly what is psuedo-distributed single node Hadoop cluster: It is a Hadoop distributed cluster having Single Node. All the five daemons (NN,DN,JT,TT,SNN) are running as individual JVM (java process) instances. We will get all distributed features of Hadoop. This mode is used to develop, test, and staging (before production) Map Reduce programs quickly. It writes all the system, daemon and user logs to different files on the cluster To install Hadoop in this mode, we have to modify the hadoop-env.sh, core-site.xml, hdfs-site.xml, mapred-site.xml. hadoop-env.sh contains all the Environment variables which are required for running Hadoop. All the default values are fine, Only we have to modify the JAVA_HOME=“The location of Java Home Directory” Core-site.xml contains all the cluster specific information like io, temp directory, sorting, file system uri etc. Hdfs-site.xml contains all the parameters which are specific to HDFS like name node directory, data node directory...