0% found this document useful (0 votes)
9 views2 pages

J1 L P0021

The document outlines an assignment to create a Java console program for managing student information using Object-Oriented Programming principles and ArrayList for data manipulation. The program must allow users to create, find, update/delete, and report on student data, including attributes like ID, name, semester, and course. Technical requirements include using core Java functions and classes, with specific guidelines for code design and functionality.
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)
9 views2 pages

J1 L P0021

The document outlines an assignment to create a Java console program for managing student information using Object-Oriented Programming principles and ArrayList for data manipulation. The program must allow users to create, find, update/delete, and report on student data, including attributes like ID, name, semester, and course. Technical requirements include using core Java functions and classes, with specific guidelines for code design and functionality.
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/ 2

LAB211 AssignmentType:Long AssignmentCode:J1.L.

P0021LOC:350Slot(s):5
Title
Create a Java console program to manage students.
Background Context
Write a program to manage information of student. The program implements
terminology of Object Oriented Programming (OOP) paradigm. OOP is one of the best
choosing ways to design software program.
In this assignment, we will use ArrayList to store list of student. In fact,
ArrayList is popular used to manipulate with data. ArrayList provides some useful
methods, such as: add(), remove(), sort() ., etc.

Program Specifications
A student information consists of ID, Student Name, Semester, Course Name (There
are only three courses: Java, .Net, C/C++). The program allows use to create list
of student, update/delete student information. On the other hand, use can search
student(s) and sort result by student name

1. Main Screen as below:

WELCOME TO STUDENT MANAGEMENT


1. Create
2. Find and Sort
3. Update/Delete
4. Report
5. Exit
(Please choose 1 to Create, 2 to Find and Sort, 3 to Update/Delete, 4 to Report and
5 to Exit program).
2. Function details:
There are 4 functions in Student Management Screen, as bellow:
1. Create: user creates student by inputting information from keyboard. Use has to
create at least 10 students, if number of students greater than 10, the program
shows a message: Do you want to continue (Y/N)? Choose Y to continue, N to return
main screen.
2. Find/Sort: Find and list student (by name) and sort by name, it should display:
Student name, semester and Course Name. User inputs student name or a part of
student name.
3. Update/Delete: The program allows user find a student by ID. After finding a
student by Id, a question is displayed (Do you want to update (U) or delete (D)
student. If user chooses U, the program allows user updating. Choose D for deleting
student.
4. Report: write a function to display student(s) with total Courses of this
student, as: Student name, Course and Total of Course, for example:

Student nameCourseNguyen Van AJavaNguyen Van AJavaNguyen Van B.NetNguyen Van BJava
The report as below:
Nguyen Van A | Java | 2
Nguyen Van B | Java | 1
Nguyen Van C | Java | 1
Technical Requirements
1. Using Object-Oriented programming style
2. Use only core Java functions and classes.

Guidelines

SlotTaskDescription1- Code Design


- Create studentStudent should create a Student class with attributes: id,
studentName, semester and courseName2- Find and sort studentShould
Collections.sort() and overwrite compare() method in Comparator interface3-
Update/Delete student4- Report5- Review programMentor reviews student�s program.

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