Institute management system using java, Thesis of Information Technology

Institute management system using java programming

Typology: Thesis

2018/2019

Uploaded on 12/21/2019

saugat12
saugat12 🇳🇵

1

(1)

2 documents

1 / 110

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS4001NI Programming
Islington College
Programming
CS4001NI
Coursework 2
Submitted By: Submitted To:
Student Name: Saugat Poudel Mr. Bhim Bahadur Sunar
ID: 17031123 Lecturer, IT
Group: L1C9
Date: 2018/22/4
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
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

Download Institute management system using java and more Thesis Information Technology in PDF only on Docsity!

Islington College

Programming

CS4001NI

Coursework 2

Submitted By: Submitted To:

Student Name : Saugat Poudel Mr. Bhim Bahadur Sunar ID: 17031123 Lecturer, IT Group: L1C Date: 2018/22/

Table of Contents

    1. Introduction:
    1. Class Diagram:
    • 2.1 Class Training Institute (Child Class)
    1. Pseudo Code:
    • 3.1. Pseudo Code for class Training Institute:
    1. Method description:
    • 4.1. Class Training Institute (Child Class):
    1. Testing:
    • 5.1. Testing no 1:
    • 5.2. Testing No.2.1:
    • 5.3. Testing No.2.2:
    • 5.4. Testing No. 2.3:
    • 5.5 Testing No. 2.4:
    • 5.6. Testing No 2.5:
    • Testing No.3.
    • Testing no.4:
    1. Error detection:
    • 6.1 Error detection no.1:
    • 6.2. Error no.2:
    • 6.3. Error no.3:
    1. Conclusion:
    1. Appendix
    • 8.1. Codes of course class:
    • 8.2. Codes of professional class:
    • 8.3. Codes of certification class:
    • 8.4. Codes of training institute class:
    1. Appendix 2:
    • 9.1. 1. Course Class (Parent Class):
    • 9.1.2. Professional Class (Child class):
    • 9.1.3. Certification class (Child class):
  • 9.2. Pseudo Code:
    • 9.2.1. Pseudo code for course class:
    • 9.2.2. Pseudo code for Professional class:
    • 9.2.3. Pseudo Code for Certification Class:...................................................................
  • 9.3. Method Description:
    • 9.3.1. Class Course (Parent Class):
    • 9.3.2. Class Professional (Child Class):
    • 9.3.3. Class Certification (Child class):
  • Table 1 testing no.1 Table of tables:
  • Table 2 testing No.2.1 professional Generator
  • Table 3 Testing No. 2.2 Certification add...............................................................................
  • Table 4 enrol student to professional.
  • Table 5testing 2.4. Complete student to professional.
  • Table 6 testing no. 2.5 enrol student to certification course.
  • Table 7 testing 3 professional course number..........................................................................
  • Table 8 testing no.4 Certification course number.
  • Table 9 class diagram of course class.
  • Table 10professional class diagram
  • Table 11 Certification class diagram.
  • Figure 1 testing 1 command line Table of figures:
  • Figure 2 Testing 1. GUI from Cmd.
  • Figure 3 testing no 2.1 professional add.
  • Figure 4 testing no. 2.1. professional display button.
  • Figure 5 testing no 2.2 Certification add.
  • Figure 6 testing no.2.2 display value for Certification.
  • Figure 7 testing no.2.3. enrol student to professional.
  • Figure 8 display enrol student to professional.
  • Figure 9 testing no. 2.4. Complete Student to professional.
    • Figure 10 testing no.2.5. Enrol to certification course.
  • Figure 11 testing no. 2.5. Display Enrol to certification Course
  • Figure 12 testing no.3 Professional valid course number.
  • Figure 13 Testing No.3 professional not valid course number.
  • Figure 14 testing no. 4 certification valid course number.
  • Figure 15 testing no. 4 not valid course number for certification course.
  • Figure 16 error no. 1 compilation error.
  • Figure 17 error no.1 compilation error fix.
  • Figure 18 Error no. 2 daily hour
  • Figure 19 error no.2 daily hour fixed.
  • Figure 20 Error No. 3 number format error.
  • Figure 21 error no. 3 number format error fixed.

1. Introduction: While introducing about this project, it was based on real world programming. In this project we developed a program which can now display the Layout Form of a training institute where one or a multiple student can enrol for different courses namely Professional and Certification. This project is helpful to the Institutes and Collages to collect the information detail of a respective students who are going to enrol or enrolling in their respective course. Here In this project we made a form where a detail of two different courses were given and according to the students demand they can fill their enrollment idea on the form and submit it to the Institute department. In our previous course work we programmed the features of two different courses namely professional and Certification, we also had a course class which was the parent class and these two professional and certification class were child classes. Previously we made a functionality of that two classes and displayed the information by inspecting them in the program but it was not user friendly and hard to run for none IT back ground student and in this project work we made the layout of that same courses and kept them as a form where we used different name with text field to insert the requirement and buttons to submit and enroll the course. In this project I used array list to store the information of respective student according to the course. There are two course options for each student to enroll student simply choose a course and insert the given requirements and details of their own according to the information asked in the form and submit by clicking the buttons the appropriate messages are also shown if the student mistakenly input the wrong value and value which are not valid and ask to give another input with the dialogue box. After submitting the form by displaying all button student all the details of information stored can be visible in the txt file also can be printed in hardcopy. The information will be further stored in the array list. We made a GUI according to our older coursework format and we added the button functionality with text box now a student can choose the respective course and append the required information asked in the form like their name course no etc. and can submit within it. This program is helpful to the school and institute where students can enroll by filling the form of that respective course. Here to enroll in the professional course one should fill the form according to the question asked and will be submitted to the institute and this form will also store the information and gives the suitable output in the text file. To make this program I used java as programming language and Blue J for running java to my computer.

2. Class Diagram: 2.1 Class Training Institute (Child Class) Training Institute Instance variables: +f : JFrame +ProfessionalCourse : JLabel +ProfessionalDescription : JLabel +ProfessionalInstructor : JLabel

  • ProfessionalCourseDuration : JLabel +ProfessionalDailyHour : JLabel +ProfessionalFee : JLabel +ProfessionalDownPayment: JLabel +ProfessionalCourseNo : JLabel +ProfessionalStudentName : JLabel +ProfessionalEnrollDate : JLabel +ProfessionalRoom : JLabel +CertificationCourse : JLabel +CertificationLine : JLabel +CertificationDescription : JLabel +CertificationInstructor : JLabel +CertificationCourseDuration : JLabel +CertificationDailyHour : JLabel +CertificationFee : JLabel +CertificationDownPayment : JLabel +CertificationCourseNo : JLabel +CertificationStudentName : JLabel +CertificationStartDate : JLabel +CertificationExamDate : JLabel

+CertificationExamCenter : JLabel +CertificationAwardedBy : JLabel +CertificationValidDuration : JLabel +ProfessionalDescriptionBox : JTextField +ProfessionalInstructorBox : JTextField +ProfessionalCourseDurationBox : JTextField +ProfessionalCourseNoBox : JTextField +ProfessionalDailyHourBox : JTextField +ProfessionalFeeBox : JTextField +ProfessionalDownPaymentBox : JTextField +ProfessionalStudentNameBox : JTextField +ProfessionalEnrollDateBox : JTextField +ProfessionalRoomBox : JTextField +CertificationDescriptionBox : JTextField +CertificationInstructorBox : JTextField +CertificationCourseDurationBox : JTextField +CertificationDailyHourBox : JTextField +CertificationFeeBox : JTextField +CertificationDownPaymentBox : JTextField +CertificationCourseNoBox : JTextField +CertificationStudentNameBox : JTextField +CertificationStartDateBox : JTextField +CertificationExamDateBox : JTextField +CertificationExamCenterBox : JTextField +CertificationAwardedByBox : JTextField +CertificationValidDurationBox : JTextField +ProfessionalAdd : JButton +ProfessionalComplete : JButton +ProfessionalEnrollStudent : JButton

3. Pseudo Code: 3.1. Pseudo Code for class Training Institute: CALL TrainingForm() DO f= CREATE Frame("Training Form") ProfessionalCourse= CREATE TEXT FIELD("Professional Course") SETTING ProfessionalCourse Bounds TO (10,10,150,20) ADD (ProfessionalCourse) TO f SeparatorOne= CREATE LINE Separator() SETTING SeparatorOne Bounds TO (10,30,1000,3) ADD (SeparatorOne) TO f ProfessionalDescription=CREATE Label ("Course Name:") SETTING ProfessionalDescription Bounds TO (20,50,80,40) ADD (ProfessionalDescription) TO f ProfessionalDescriptionBox=CREATE TextField() SETTING ProfessionalDescriptionBox Bounds TO (120,60,450,20) ADD (ProfessionalDescriptionBox) TO f ProfessionalInstructor=CREATE Label ("Instructor:") SETTING ProfessionalInstructor Bounds TO (20,70,80,50) ADD (ProfessionalInstructor) TO f

ProfessionalInstructorBox=CREATE TextField() SETTING ProfessionalInstructor Bounds TO (120,85,450,20) ADD (ProfessionalInstructorBox) TO f ProfessionalCourseDuration=CREATE label ("Total Hours:") SETTING ProfessionalCourseDuration TO Bounds (20,95,150,70) ADD (ProfessionalCourseDuration) TO f ProfessionalCourseDurationBox= CREATE TextField() SETTING ProfessionalCourseDurationBox TO Bounds (120,118,110,20) ADD (ProfessionalCourseDurationBox) TO f ProfessionalDailyHour=CREATE Label ("Daily Hour:") SETTING ProfessionalDailyHour TO Bounds (250,95,200,70) ADD (ProfessionalDailyHour) TO f ProfessionalDailyHourBox=CREATE TextField() SETTING ProfessionalDailyHourBox TO Bounds (350,118,220,20) ADD (ProfessionalDailyHourBox) TO f ProfessionalFee=CREATE Label ("Fee:") SETTING ProfessionalFee TO Bounds (20,120,150,70) ADD (ProfessionalFee) TO f

ProfessionalEnrollDate= CREATE Label ("Enroll Date:") SETTING ProfessionalEnrollDate TO Bounds (20,240,150,70) ADD (ProfessionalEnrollDate) TO f ProfessionalEnrollDateBox=CREATE TextField() SETTING ProfessionalEnrollDateBox TO Bounds (120,260,110,20) ADD (ProfessionalEnrollDateBox) TO f ProfessionalRoom= CREATE Label ("Room#:") SETTING ProfessionalRoom TO Bounds (250,240,200,70) ADD (ProfessionalRoom) TO f ProfessionalDownPayment= CREATE Label ("Down Payment:") SETTING ProfessionalDownPayment TO Bounds (20,270,100,70) ADD(ProfessionalDownPayment) TO f ProfessionalDownPaymentBox=CREATE TextField() SETTING ProfessionalDownPaymentBox TO Bounds (120,290,110,20) ADD (ProfessionalDownPaymentBox) TO f ProfessionalRoomBox=CREATE TextField() SETTING ProfessionalRoomBox TO Bounds (300,260,270,20) ADD (ProfessionalRoomBox) TO f

ProfessionalComplete=CREATE Button("Complete") SETTING ProfessionalComplete TO Bounds (280,290,130,20) ADD (ProfessionalComplete) TO f ProfessionalEnrollStudent=CREATE Button("Enroll Student") SETTING ProfessionalEnrollStudent TO Bounds (420,290,160,20) ADD (ProfessionalEnrollStudent) TO f CertificationCourse= CREATE Label ("Certification Course") SETTING CertificationCourse TO Bounds (10,330,150,20) ADD (CertificationCourse) TO f SeparatorTwo= CREATE Separator() SETTING SeparatorTwo TO Bounds (10,350,1000,3) ADD (SeparatorTwo) TO f CertificationDescription=CREATE Label ("Course Name:") SETTING CertificationDescription TO Bounds (20,350,80,40) ADD (CertificationDescription) TO f CertificationDescriptionBox=CREATE TextField() SETTING CertificationDescriptionBox TO Bounds (120,360,450,20) ADD (CertificationDescriptionBox) TO f

CertificationFee=CREATE LABEL ("Fee:") SETTING CertificationFee TO Bounds (20,430,150,70) ADD (CertificationFee) TO f CertificationFeeBox=CREATE TextField() SETTING CertificationFeeBox TO Bounds (120,450,110,20) ADD (CertificationFeeBox) TO f CertificationValidDuration=CREATE Label ("ValidDuration:") SETTING CertificationValidDuration TO Bounds (250,430,200,70) ADD (CertificationValidDuration) TO f CertificationValidDurationBox= CREATE TextField() SETTING CertificationValidDurationBox TO Bounds (350,450,220,20) ADD (CertificationValidDurationBox) TO f CertificationAdd=CREATE Button("Add") SETTING CertificationAdd TO Bounds (480,475,100,20) ADD (CertificationAdd) TO f CertificationCourseNo=CREATE Label ("CourseNo.#:") SETTING CertificationCourseNo TO Bounds (20,490,80,40) ADD (CertificationCourseNo) TO f

CertificationCourseNoBox= CREATE TextField() SETTING CertificationCourseNoBox TO Bounds (120,500,450,20) ADD (CertificationCourseNoBox) TO f CertificationStudentName=CREATE Label ("Student Name:") SETTING CertificationStudentName TO Bounds (20,510,100,40) ADD (CertificationStudentName) TO f CertificationStudentNameBox=CREATE TextField() SETTING CertificationStudentNameBox TO Bounds (120,525,450,20) ADD (CertificationStudentNameBox) TO f CertificationStartDate=CREATE Label ("Start Date:") SETTING CertificationStartDate TO Bounds (20,525,150,70) ADD (CertificationStartDate) TO f CertificationStartDateBox= CREATE TextField() SETTING CertificationStartDateBox TO Bounds (120,550,110,20) ADD (CertificationStartDateBox) TO f CertificationExamDate= CREATE Label ("Exam Date:") SETTING CertificationExamDate TO Bounds (250,525,200,70) ADD (CertificationExamDate) TO f

SETTING Size(600,1000) TO f SETTING Layout(null) TO f SETTING Visible(true) TO f ProfessionalAdd.addActionListener(this) CertificationAdd.addActionListener(this) ProfessionalComplete.addActionListener(this) ProfessionalEnrollStudent.addActionListener(this) CertificationEnrollStudent.addActionListener(this) CertificationClear.addActionListener(this) CertificationDisplayAll.addActionListener(this) END DO CALL actionPerformed(ActionEvent e) DO if (e.getSource()==ProfessionalAdd) DO addToProfessional() END DO else if(e.getSource()==CertificationAdd) DO addToCertification() END DO

else if(e.getSource()==ProfessionalComplete) DO CompleteProfessional() END DO else if(e.getSource()==ProfessionalEnrollStudent) DO ProfessionalEnrollStudent() END DO else if(e.getSource()==CertificationEnrollStudent) DO CertificationEnrollStudent() END DO else if(e.getSource()==CertificationClear) DO ClearAll() END DO else if(e.getSource()==CertificationDisplayAll) DO displayAll() END DO END DO CALL addToProfessional()