0% found this document useful (0 votes)
8 views3 pages

Inbound 1279725769684558610

The document outlines the design and implementation of a Student Information System in Java, allowing users to manage student records through a menu-driven interface. Users can add, update, view, and delete student records, with specific requirements for data input and formatting. The program follows object-oriented practices and utilizes arrays to store student information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views3 pages

Inbound 1279725769684558610

The document outlines the design and implementation of a Student Information System in Java, allowing users to manage student records through a menu-driven interface. Users can add, update, view, and delete student records, with specific requirements for data input and formatting. The program follows object-oriented practices and utilizes arrays to store student information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Design and create a Student Information System in Java that allows users to Add,

Update, delete, and View student records using arrays. The program should be menu-
driven, repeat until the user chooses to exit, and follow object-oriented practices
with classes and methods.

1. Student Record Creation


-Allow multiple student records using an array of student fields
-When creating a student record:
-The user inputs the First Name, Middle Name, and Last Name (String).
-Display the full name in UPPERCASE using toUpperCase().
-The user inputs Gender (String), Age (int), and Monthly Salary as a String.
-Parse the salary to int using Integer.parseInt().
-Generate a Student ID in the format UNP-1001, UNP-1002, etc.
-Store the record in the array.

2. Student Operations (Menu-Driven)


-Once a student record is created, display the following Student Menu repeatedly
until the user chooses to exit:

=== Student Menu ===


1. Add Student
2. Update Student
3. View Student Record
4. Exit

3. Update Student
-Prompt the user to input the record slot number to update.
-If the slot contains a valid student:
-Ask for new First Name, Middle Name, Last Name, Gender, Age, and Monthly
Salary.
-Update the details and display the updated full name in toUpperCase().
-Show a success message.
-If the slot is invalid, display Error: Empty Slot.

4. View Student Record


-Show all 8 student slots.
-If a slot is empty, display Slot X: Empty.

Note: Use different class such as (main, main option, add records, update records,
view records, etc...)

=======================================================

Sample Output:

===================================================================================
===========
Welcome to University of Northern Philippines
===================================================================================
===========

(1) View
(2) Update
(3) Delete
(4) Add
(5) Payroll
(6) Exit
Enter the number of your choice: 4
===================================================================================
Welcome to University of Northern Philippines
===================================================================================
===========
ID Number First Name Middle Name Last Name Gender
Age
(1) Empty Empty Empty Empty Empty 1
(2) Empty Empty Empty Empty Empty 1
(3) Empty Empty Empty Empty Empty 1
(4) Empty Empty Empty Empty Empty 1
(5) Empty Empty Empty Empty Empty 1
(6) Empty Empty Empty Empty Empty 1
(7) Empty Empty Empty Empty Empty 1
(8) Empty Empty Empty Empty Empty 1
===================================================================================
===========
Enter the slot you want to ADD: 1

Enter First Name: Eddiemar


Enter Middle Name: Garcia
Enter Last Name: Sinco
Enter Gender: Male
Enter Age: 123
Enter Monthly Salary: 12345678

Student Information has been Save Sucessfully!!

(1) View
(2) Update
(3) Delete
(4) Add
(5) Payroll
(6) Exit

Enter the number of your choice: 1


===================================================================================
Welcome to University of Northern Philippines
===================================================================================
===========
ID Number First Name Middle Name Last Name Gender
Age
(1) UNP-1001 Eddiemar Garcia Sinco Male
123
(2) Empty Empty Empty Empty Empty 1
(3) Empty Empty Empty Empty Empty 1
(4) Empty Empty Empty Empty Empty 1
(5) Empty Empty Empty Empty Empty 1
(6) Empty Empty Empty Empty Empty 1
(7) Empty Empty Empty Empty Empty 1
(8) Empty Empty Empty Empty Empty 1
===================================================================================
===========

(1) View
(2) Update
(3) Delete
(4) Add
(5) Payroll
(6) Exit

Enter the number of your choice:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy