Create a student record management system With JAVA
using linked list and queue using Java language and (oracle or any) database to save files and GUI Java swing to create background
The program will have the following properties:
A. Register students ( assume each students has ID, first name, last name and middle name)
B. Register students with courses ( course no ,course title chr )
C. Able to maintain grade on which course they are registered
D. Searches students by ID displays if found
E. Searches by course name
F. Sorts student name in alphabetical order
G. Displays the details of all students
H. Deletes a student by id
I. Deletes a course by courseNumber
J. Handles errors in informative ways
import java.util.*; public class Student { public static void main(String[] args) { int i, q, z, c, b; int x=0; String[] name = new String[30]; int[] age = new int[30]; String[] course = new String[30]; String[] year = new String[30]; String[] section = new String[30]; int menuChoice; Scanner input = new Scanner (System.in); start: do{ System.out.println("\t\t\tStudent Record Menu"); System.out.println("\t\t1. Add Student\t2. View Students\t3. Search Student\t4. Exit"); System.out.println("Enter a choice: "); menuChoice = input.nextInt(); if (menuChoice==1) { for (z=x; z<=29; z++) { System.out.println("Full name:"); name [z] = input.nextLine(); System.out.println("Age:"); age [z] = input.nextInt(); System.out.println("Course:"); course [z] = input.next(); System.out.println("Year:"); year [z] = input.next(); System.out.println("Section:"); section [z] = input.next(); x++; continue start; } } else if (menuChoice==2) { for (i=0; i<x; i++) { System.out.println(name[i] + age [i] + course [i] + year [i] + section [i]); } } } while (menuChoice<4); } }
Get Answers For Free
Most questions answered within 1 hours.