Back to Projects Expert Systems • Academic Intelligence • Decision Support

University Course Advisor — Rule-Based Expert System

An intelligent academic decision support system that evaluates student eligibility, calculates 100-point weighted multi-factor matches, generates explainable recommendations, and integrates live USD/EGP currency conversion.

Executive Summary

University students frequently struggle to select optimal elective courses aligned with their career ambitions, current GPA, and existing skillset. I engineered a Rule-Based University Course Advisor Expert System built on a classical 4-tier knowledge architecture (Knowledge Base → Inference Engine → Explanation Engine → UI Application). The system systematically filters 23 accredited courses across 6 academic disciplines, executes strict prerequisite/GPA eligibility rules, calculates a 100-point multi-attribute weighted match score, and delivers transparent, personalized justifications explaining exactly why a course was recommended. Additionally, it integrates a Live Exchange Rate API to convert course costs from USD to Egyptian Pounds (EGP) in real time.

Domain Academic Technology & AI Systems
Role Expert System Architect & Frontend Dev
Stack JavaScript (ES6+) • Rule Engine • REST API
Core Engine 23 Courses • 100-Pt Scoring • Live EGP API
Expert System Analysis Output — Explainable Recommendation & Live Currency API
Live System Output
University Course Advisor Expert System Results

Classical Expert System Architecture

A deterministic, transparent decision-making pipeline designed for academic advising.

1. Knowledge Base

Encapsulates domain facts and rules: 23 catalog courses, 5 career paths, 5 learning goals, prerequisite chains, minimum GPA constraints, and categorized skill ontologies.

2. Inference Engine

Executes two-stage reasoning: filters out ineligible courses based on standing and GPA, then applies multi-criteria mathematical scoring (100 pts) across eligible options.

3. Explanation Engine

Converts numeric inference scores into human-readable justifications. Explains exact career alignment, academic fit, skill synergy, and actionable unlocks for locked courses.

4. Live Currency API

Fetches live USD/EGP exchange rates asynchronously to dynamically compute local course enrollment tuition alongside standard international pricing.

4-Step Student Profiling & Decision Journey

Explore the complete user journey from profile input to the transparent Expert System evaluation.

Step 1: Academic Standing & Cumulative GPA Profile Stage
Course Advisor Step 1 - Academic Info

Academic Standing & Currency Status

Captures the student's foundation: Academic Year (Level 1 to Level 4) and Cumulative GPA (0.00 – 4.00), while establishing the real-time currency conversion handshake.

Academic Level Validation: Categorizes undergraduate progression (First Year to Senior) to establish course eligibility bounds.
GPA Baseline Enforcement: Validates minimum GPA prerequisites required for advanced and specialized elective courses.
Real-Time API Indicator: Live header badge confirms active currency gateway status (e.g., Live 1 USD = 52 EGP).
Step 2: Target Career Pathway Selection Career Alignment
Course Advisor Step 2 - Career Goal

Career Pathway Intent Mapping

Allows students to select their primary professional aspiration, which carries the highest single weighting (25 points) in the Expert System evaluation.

Supported Tracks: Data Analyst, Business Analyst, Software Developer, Project Manager, and Cybersecurity Specialist.
Interactive Selection Cards: Clean visual chips with clear icon cues and highlighted selection states.
Direct Knowledge Base Mapping: Connects directly to career competency ontologies defined in the system.
Step 3: Categorized Skills & Subject Interests Skill Ontology
Course Advisor Step 3 - Skills and Interests

Categorized Skill & Subject Matrix

Presents skills and subject interests grouped into logical academic domains rather than an unorganized generic list, capturing prior knowledge and genuine academic passion.

Categorized Domains: Data & Analytics (8 skills), Programming & Development (6 skills), Database (4 skills), Business & Analysis (5 skills), and Management (6 skills).
Prerequisite Fulfillment: Evaluates whether student skills meet strict prerequisite rules for advanced technical courses.
Synergy Scoring: Computes skill overlap (20 pts) and subject interest resonance (10 pts).
Step 4: Learning Goal & Weekly Study Commitment Preferences
Course Advisor Step 4 - Learning Goal

Learning Preferences & Workload Fit

Aligns course pedagogical difficulty with the student's available study time and primary learning intent to prevent academic overload.

Learning Goals: Career Preparation, Practical Skills, Academic Development, Advanced Learning, and Exploring a New Field.
Workload Feasibility: Matches low (1–3 hrs/wk), medium (4–7 hrs/wk), or high (8+ hrs/wk) commitment with course expected workload.
Overload Prevention: Penalizes high-workload courses if the student only has 1–3 hours available weekly.
Step 5: Explainable Recommendation & Live Currency Conversion Expert Output
Course Advisor Step 5 - Expert Recommendation

Transparent Recommendation & Currency API

The final output demonstrates explainable academic advising: showing the exact 73% match score, personalized reasoning, Advisor Insight, course prerequisites, and live USD to EGP pricing.

73% Match Score (Introduction to Data Analytics): Computed dynamically from the 100-point weighted scoring model.
4 Multi-Factor Justifications: Explicitly breaks down Career Goal fit, Skill background, Academic eligibility, and Learning Goal alignment.
Live Currency Conversion: Converts $120 USD into 6,263 EGP at the live rate of 1 USD = 52 EGP.

How the Expert System Computes Results

A transparent, deterministic 100-point mathematical scoring model with zero black-box hallucination.

Stage 1: Strict Eligibility Filtering

Before any course receives a numerical score, the Inference Engine evaluates whether the student meets hard academic constraints:

  • Prerequisite Chains: Have required foundational courses been completed?
  • Academic Level: Is the student in the required university year (Level 1–4)?
  • Minimum GPA: Does the cumulative GPA satisfy the course threshold (e.g., 2.00, 2.50, 3.00)?
  • Mandatory Skills: Does the student possess prerequisite technical skills?

Note: Courses failing eligibility are routed to "Courses to Unlock Later" with explicit guidance on what requirements the student needs to fulfill.

Stage 2: 100-Point Weighted Evaluation

Eligible courses are scored across 6 weighted dimensions reflecting holistic academic advising:

Career Goal Alignment 25 Points
Skill Match & Synergy 20 Points
Academic Level Fit 15 Points
Learning Goal Alignment 15 Points
Study Time Commitment Fit 15 Points
Subject Interest Resonance 10 Points

Live Currency Exchange Rate API Integration

Connecting academic course catalogs with real-time financial foreign exchange data.

Real-Time Financial Conversion

While university course catalogs and international certifications store baseline tuition in US Dollars (USD), Egyptian undergraduate students need immediate clarity on local currency expenditure in Egyptian Pounds (EGP).

The system connects to a live Foreign Exchange REST API on application launch, retrieving the current USD/EGP rate (e.g., 1 USD = 52.00 EGP) and dynamically calculating exact tuition at the moment of recommendation.

Graceful Offline Resilience

The API client is engineered with defensive failure handling:

  • Live Connection: Displays the green active status dot and converts $120 USD → 6,263 EGP.
  • Network Fallback: If the currency API is temporarily unreachable or blocked by client firewalls, the system gracefully retains the baseline USD price without breaking the advising engine or throwing runtime exceptions.

The Explanation Engine: Transparent Reasoning

Eliminating opaque recommendations through structured, natural-language academic justifications.

Career Alignment Fact

"You selected Business Analyst as your target career path, and this course provides foundational knowledge directly applicable to that role."

Skill Background Synergy

"Your selected skills in Business Analysis and Project Management demonstrate strong readiness for this academic domain."

Academic Eligibility Validation

"Your Level 2 standing and GPA of 3.00 satisfy this course's academic requirements (requires Level 1, min GPA 2.00)."

System Engineering Summary

Intelligent, Explainable Academic Decision Support

The University Course Advisor demonstrates how structured rule-based Expert Systems provide transparent, trustworthy, and deterministic decision support in higher education. By combining strict academic eligibility verification, 100-point multi-attribute scoring, natural language explanation synthesis, and real-time currency API integration, the system serves as a reliable digital academic advisor.

Explore Other Projects Discuss Expert Systems