Skip to content

Farouk12385/coding-java-university-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 AFZ University System

Java License Status

🏛️ ourbackend.java (Main Controller)

Student Management

Method Parameters Description
addStudent int studentID Adds new student after validation
removeStudent int studentID Removes student and all enrollments
verfiyStudent int studentID Checks if student exists (returns boolean)
GetLaststudentadded None Returns last added student ID

Course Management

Method Parameters Description
addCourse int courseID Adds new course after validation
removeCourse int courseID Removes course and all enrollments
verfiyCourse int courseID Checks if course exists (returns boolean)
GetLastCourseAdded None Returns last added course ID

Enrollment System

Method Parameters Description
enrollStudentinCourse int studentID, int courseID Enrolls student if valid
removeEnrollment int studentID, int courseID Removes specific enrollment
undoEnrollment None Reverts last enrollment action
redoEnrollment None Reapplies undone enrollment

Reporting

Method Parameters Description
listAllCoursesByStudent int studentID Prints all courses for student
listAllStudentsByCourse int courseID Prints all students in course
sortStudentID int courseID Sorts students by ID for a course
sortCourseID int studentID Sorts courses by ID for a student

Status Checks

Method Parameters Description
isFullCourse int courseID Checks if course reached 30 students
isNormalStudent int studentID Checks if student has 2-7 courses

👨‍🎓 Student.java (Model)

Method Description
Student(int studentID) Constructor with ID initialization
Student(int studentID, Student nextStudent) Constructor with next node reference
isEnrolledInCourse(int courseID) Checks enrollment status
addCourse(int courseID) Adds course to student's list
removeCourse(int courseID) Removes course from student's list

📚 Courses.java (Model)

Method Description
Courses() Default constructor
Courses(int courseID) Constructor with course ID
Courses(int courseID, Courses nextCourse) Constructor with next node reference
addStudent(int studentID) Increments enrollment count
isStudentEnrolled(int studentID) Placeholder for enrollment check

🔄 EnrollmentAction.java (Helper)

Method Description
EnrollmentAction(int studentID, int courseID) Tracks enrollment transactions

🖥️ Uni.java (Main Application)

Method Description
main(String[] args) Entry point with menu system

📊 UML Diagram

UML Diagram

Team Progress

Method ID Description Implemented By Team
0 Main Farouk
1 Add Student Team #1
2 Add Course Team #1
3 Remove Student Team #1
4 Remove Course Team #1
5 Get Last Student Added Team #1
6 Get Last Course Added Team #1
7 Enroll Student in Course Rashad
8 Remove Enrollment Farouk (mmultiverse)
9 List Courses by Student Ayman
10 List Students by Course Ayman
11 Sort Students by ID Zeyad
12 Sort Courses by ID Hassouna
13 Check if Course is Full Aly
14 Check Student Type Aly
15 Undo/Redo Enrollment Stack Adham

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages