Student Management Application in Java, Exercises of Java Programming

A Java application developed to solve a small business problem related to student management. The application features a graphical user interface (GUI) with functionalities for reading and writing data from/to text files, working with a collection of student data (searching, finding min/max, sum, etc.), and handling errors to prevent the application from crashing. The design, implementation, and testing of the application, including the program structure, class explanations, important algorithms, and error handling. It also includes a test plan, test log, and screenshots of the application's features such as adding, editing, deleting, and sorting students by name. The document demonstrates the student's learning outcomes, such as understanding basic programming skills, the OOP paradigm, file handling, and GUI development, as well as the application of the MVC model and JUnit testing.

Typology: Exercises

2019/2020

Uploaded on 03/07/2023

alexsanderking
alexsanderking 🇻🇳

7 documents

1 / 34

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title
Submission date Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Student ID
Class Assessor name
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism.
making a false declaration is a form of malpractice.
Student’s signature
Grading grid
Grade (0-10)
1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22

Partial preview of the text

Download Student Management Application in Java and more Exercises Java Programming in PDF only on Docsity!

ASSIGNMENT 1 FRONT SHEET

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Student ID Class Assessor name Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagia making a false declaration is a form of malpractice. Student’s signature Grading grid Grade (0-10)

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date: IV Signature:

Unit Learning Outcomes LO1 Understand basic programming skills and OOP paradigm LO2 Understand how to detect errors and handle errors LO3 Understand how to working with files in applications LO4 Understand how to build GUI application Assignment Brief You have to develop an application to solve a small business problem. The problem requires a graphical user interface with features that required reading / writing data from text file, working with a collection of data (searching for item / min / max / sum / etc.). The application must handle errors so that it will not crash at end user side. The application also need to be fully tested before the production phase. You need to write a technical report about the development of the application. Content of the report should cover design, implementation and testing. In the end you need to demo your application, explain your code and answer technical questions.

Learning Outcomes and Assessment Criteria LO1 Understand basic programming skills and OOP paradigm LO2 Understand how to detect errors and handle errors LO3 Understand how to working with files in applications LO4 Understand how to build GUI application To get Pass (5 – 6.5 points)

  • Student can design and implement GUI for the application solve a specific problem
  • Student knows how to load and save data from file.
  • Student knows how to handle errors by using exceptions
  • Student knows how to write test plan, execute test cases and log results. To get Merit ( 7 – 8.5 points )
  • The application is well designed, user friendly and has logical flow of actions.
  • Can apply MVC in the application, can apply JUnit to test automatic
  • Errors are well handle to avoid program crashing, the test can cover as many as possible the errors in program To get Distinction (9 – 10 points) The application must show excellent design & implementation, runs without any errors, all inputs are validated, all errors are well handled including recover choice, rich features showing unique ideas, algorithms. Table of Contents

Answer

I. Introduction:

Currently, the use of word or excel to save information as well as manage students is more and more. This leads to manual student management that is difficult, delayed, and impossible to control the right amount. Therefore, I decided to create an application that supports student management in java. This app helps me to know the exact student information and also the number of students in that class. Here is my presentation of my application.

II. Requirement

The java program that I created has helped me with the following: I can enter data and can edit and delete them easily and understandably. Displays include the following values: +ID +NAME +PHONE +AGE +GENDER +EAMAIL And function keys like: Add new, edit, delete and sort by name. All information is displayed clearly for users to understand. Our program can reorder students with the function of sorting students by name. With an eye-catching interface that is easy to use, it is suitable for everyone from non-techies to tech-savvy people.

III. Wireframe UI design The basic interface of the program will include labels, corresponding to it are text fields and combo boxes for users to enter corresponding information. Besides, thereare buttons for users to interact with the entered data. Finally, a table to display theentered results. Implementation 1Explain program structure

1.Main interface Components in Jframe

2 Explain classes In this class, I have imported the respective libraries to use the variables that I created:

In this JFame class, I have imported the respective libraries to use the variables that I created Declare 2 values filltable and initTable to use for the following lines of code

This source code declares for users to rearrange the information in the table in order of name (a- z).

This source code declares for the user to edit the information that the user has entered in the table.

3 Explain important algorithms A. Adding student: