What's good, guys! I created this repository specifically for us Computer Science students at KNUST. We are all studying Java right now, and things can get tricky.
This repo serves as a central hub where I upload:
- ✅ Class Assignments (Solved)
- 📚 Past Questions (with Logic explained)
- 🛠️ Useful Utilities (Calculators, Grading Systems, etc.)
Feel free to clone this, study the code, and use it to understand the logic behind the assignments.
Here is what is currently available in the hub:
| Folder Name | Description | Status |
|---|---|---|
GradingSystem |
A KNUST-compliant grading system that handles Assessment, Exams, Condonement logic, and Fee validation. | 🟢 Completed |
AverageStandardDFact |
A utility to calculate Mean, Standard Deviation, and Factorials using Java loops and math logic. | 🟢 Completed |
VotingSystem |
A system which takes input of a user and checks if he or she is eligble to vote using if statements. | 🟢 Completed |
CheckDayStatus |
This program is to check the present day and then render an output using switches | 🟢 Completed |
CinemaTicketBooking |
this system allows users to select multiple ticket types and provides a final summary | 🟢 Completed |
KioskSystem |
... | ⏳ Pending |
ElectricityBillCalculator |
A local utility company requires a Java program to help residents estimate their electricity bills based on individual appliance usage. You are tasked with developing the ElectricityBillCalculator class. | 🟢 Completed |
FuelConsumptionAnalysis |
A logistics company tracks the daily fuel consumption of a single vehicle over a one-week period. You are required to write a Java program named FuelConsumptionAnalysis to process this data. | 🟢 Completed |
Atm |
A simplified ATM simulation system that allows a user to perform multiple transactions in one session | 🟢 Completed |
AverageTemperature/RefrigeratorWarehouse |
A refrigerated warehouse has 8 sensors. Write a program in Java to calculate the average temperature, ignore any sensor reading that is above 10°C, as those are considered "Sensor Errors." | 🟢 Completed |
CircuitBoardTesting |
A quality control engineer is testing circuit boards. Each board is subjected to a "Power Spike." After each spike,the engineer hecks the board's health. The process repeats as long as the board is functional and the engineer chooses to continue | 🟢 Completed |
CityTransitSystem |
A city transit system uses a prepaid card for bus rides. Each ride costs a flat fee, but the system also has a "Security Lockout" if user attempts to use a card with a zero or negative balance too many times. | 🟢 Completed |
HeatExperiment |
A science lab is running a series of heat experiments. You need to write a program that calculates the average temperature of each experiment and flags any that are "Unstable" | 🟢 Completed |
MaterialTesting_Q3 |
An engineering firm is testing the durability of a new building material. They apply pressure in cycles until the material reaches its "Failure Point." | 🟢 Completed |
WarehouseAnalysis |
A logistics company needs a tool to analyze the weight distribution of boxes in a warehouse shipment. You are required to write a Java program named WarehouseAnalysis that processes a fixed set of inventory data. | 🟢 Completed |
More Coming Soon... |
Stay tuned for more assignments! | ⏳ Pending |
- Clone the repo:
git clone [https://github.com/nonydev27/knust-java-hub.git](https://github.com/nonydev27/knust-java-hub.git)
- Navigate to a project folder:
cd knust-java-hub/GRADING_SYSTEM - Compile and Run (using Terminal):
javac Main.java java Main
Found a bug? Have a better way to solve a problem?
- Fork this repo
- Make your changes
- Submit a Pull Request!
Let's help each other pass this semester! 💯
