Posts

***Grading System for IPAM, University of Sierra Leone***

  🎓 Building a Java Grading System for IPAM, University of Sierra Leone 🔸 Intro: Why This Matters At IPAM, grades aren’t just numbers—they’re defining moments. And honestly? Manually calculating grades is outdated. With a few lines of Java, we can flip that whole process into something faster, fairer, and future-ready. This blog post breaks down  how to design a grading system tailored for IPAM  using basic Java logic. 🔸 What the System Should Do We’re building a  grading assistant  that takes raw scores, does the math, checks against grade bands, and gives meaningful feedback. Here’s what this little beast will handle: Takes inputs: assignments, midterm, final exam marks Applies correct weightings ( 25%, 5%, 70%) Calculates a  weighted average Outputs a grade: A, B, C, D, F Drops a message that feels human (not robotic) This isn't just numbers — it's building  a system that speaks  to students. 🔸 Grade Logic: What’s the Rulebook? Let’s set th...

***GRADE CHECKER***

🎓 Java Program: Displaying Messages Based on Module Grades 🔹 Introduction Grading systems are a big part of academic life, and in the world of programming, replicating that system can teach us a lot about how computers make decisions. In this post, we’ll walk through the thought process behind a simple Java program that takes a module grade entered by the user and displays the appropriate feedback or message based on that grade. This task might seem straightforward, but it involves core programming skills like input handling , conditional statements , and logical flow — all essential for building real-world applications. 🔹 What the Program Is Designed to Do Here’s what the program does from start to finish: Prompts the user to enter a module grade (for example: 85, 72, 60, etc.) Evaluates the input and determines which grade range it falls into Displays a message based on performance (e.g., “Distinction”, “Pass”, “Fail”) Helps the user interpret their academic result...

***EVEN OR ODD NUMBER DETERMINER**

 THIS PROGRAM DETERMINE WHETHER A NUMBER IS ODD OR EVEN, DUE TO THE INPUT OF ANY NUBER BY THE USER Pseudo Code. 1. Accept input from user (Use scanner class to accept the input (Scanner sc= new scanner();) ). 2. Store input as num (int num= sc.nextInt(); ). 3. Use if- else statement (with the condition (num%2=0) ). 4. Print out the result import java . util . Scanner ; public class EvenOddhecker {     public static void main ( String [] args ){         System . out . println ( "THIS PROGRAM CAN TELL IF A NUMBER IS ODD OR EVEN" );         Scanner sc = new Scanner ( System . in );         System . out . println ( "ENTER ANY NUMBER OF YOUR CHOICE: " );         int num = sc . nextInt ();           if ( num % 2 == 0 ){             System . out . println ( "YOU ENTERED " + num + ", BUT IT IS AN EVEN NUMBER" );       ...

***JAVA PLAIN SHAPES CALCULATOR***

**TILE CHECHKER**

Image
TILE CALCULATOR IN JAVA  A Practical Program for Everyday Use When it comes to interior design, construction planning, or even basic renovation work, one common question always pops up: How many tiles do I need to cover this room? That’s exactly what this program answers—and in the most efficient, beginner-friendly way possible. This Java-based Tile Calculator accepts input from the user to determine the dimensions of both the tiles and the room. It then calculates the total area of the room and divides it by the area of a single tile to determine the exact number of tiles required . To ensure you don’t come up short, it uses Java’s Math.ceil() method to round up the number of tiles—because you can’t buy half a tile in real life! But that’s not all. The program also includes an optional feature that lets the user calculate how many boxes of tiles they’ll need based on how many tiles come in each box—a common real-world consideration. With a simple “Yes or No” prompt, the p...

**IDE's (INTEGRATED DEVELOPMENT ENVIRONMENT) ***

Image
Definition of an IDE An Integrated Development Environment (IDE) is a software application that provides developers with a comprehensive suite of tools to write, compile, debug, and manage code efficiently within a unified interface.

**JAVA**

 What is Java? Java is a high-level, object-oriented programming language that was designed to be simple, secure, and platform-independent. In other words: You write Java code once, and it can run anywhere — on any computer, phone, server, or smart device — as long as it has a Java Virtual Machine (JVM) installed. That’s the magic of Java. You don’t need to write separate versions of your app for Windows, Mac, Linux, Android — Java runs on all of them.  Java is Both a Language and a Platform  The Language Java’s syntax is clean and readable (similar to C++ but less confusing). It's object-oriented , which means you write code using "objects" and "classes" — like building blocks. It’s strongly typed and compiled — it catches errors before your program even runs. The Platform Java includes: JVM (Java Virtual Machine) – runs Java programs on any device. JRE (Java Runtime Environment) – contains JVM + libraries needed to run Java a...