Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Overig

CS4001NI Programming Coursework 1- Study Guide 3

Beoordeling
-
Verkocht
-
Pagina's
76
Geüpload op
02-03-2022
Geschreven in
2020/2021

This document is the coursework of the module Programming. The coursework was written as a part of BSC. program at London Metropolitan University.

Instelling
Vak

Voorbeeld van de inhoud

CS4001NA Programming




Module Code & Module Title
CS4001NA Programming


Assessment Weightage & Type
30% Individual Coursework


Year and Semester
2019-20 Autumn

Student Name: Abhinav Adhikari
London Met ID:
College ID: NP01CP4A190140
Assignment Due Date: 17/04/2020
Assignment Submission Date:
7/05/2020




I confirm that I understand my coursework needs to be submitted online via Google Classroom
under the relevant module page before the deadline in order for my assignment to be accepted and



1
Abhinav Adhikari

, CS4001NA Programming

Table of Contents
Table of Figures .............................................................................................................. 4
Introduction...................................................................................................................... 5
Class Diagram: ................................................................................................................ 6
Pseudocode .................................................................................................................... 7
Method Description ....................................................................................................... 27
NewFrom() ................................................................................................................. 27
FullTimeForm() .......................................................................................................... 27
PartTimeForm() ......................................................................................................... 27
actionPerformed() ...................................................................................................... 27
Testing:.......................................................................................................................... 28
Test1: ......................................................................................................................... 28
Test2: ......................................................................................................................... 29
Test3: ......................................................................................................................... 31
Test4: ......................................................................................................................... 33
Test5: ......................................................................................................................... 35
Test6: ......................................................................................................................... 36
Test7: ......................................................................................................................... 38
Error Detection and Correction ...................................................................................... 41
Error 1: ....................................................................................................................... 41
Error 2 ........................................................................................................................ 42
Error 3 ........................................................................................................................ 43
Conclusion..................................................................................................................... 44
Appendix ....................................................................................................................... 45




3
Abhinav Adhikari

, CS4001NA Programming

Table of Figures
Figure 1: program has been complied ........................................................................... 28
Figure 2: adding the vacancies for full time employees ................................................. 30
Figure 3: full time staff is added..................................................................................... 30
Figure 4: appointing the full time staff ............................................................................ 32
Figure 5: full time staff has been appointed ................................................................... 32
Figure 6: adding the vacancies for part time staff .......................................................... 34
Figure 7: part time staff has been added ....................................................................... 34
Figure 8: to appoint the part time staff ........................................................................... 35
Figure 9: part time staff has been appointed ................................................................. 36
Figure 10: terminate was clicked ................................................................................... 37
Figure 11: vacancy number was asked and given ......................................................... 37
Figure 12: termination was done ................................................................................... 38
Figure 13: the fields were left empty .............................................................................. 39
Figure 14: incorrect data were given ............................................................................. 39
Figure 15: same vacancy number was given again ....................................................... 40
Figure 16: detection of error 1 ....................................................................................... 41
Figure 17: correction of error 1 ...................................................................................... 41
Figure 18: detection of error 2 ....................................................................................... 42
Figure 19: correction of error 2 ...................................................................................... 42
Figure 20: detection of error 3 ....................................................................................... 43
Figure 21: correction of error 3 ...................................................................................... 43




4
Abhinav Adhikari

, CS4001NA Programming

Introduction
This coursework is for creating a program to hire full and part time staff. There are
four different classes in this program. Staffhire is a parent class of two child classes,
FullTimeStaffHire and PartTimeStaffHire. INGNepal is also another class in the
program. So, we are hiring these staffs for INGNepal which is a company. This
program is mainly about creating a GUI (Graphical Users Interface). This is created
in the class INGNepal. We actually hire full time and part time staffs through the GUI
created in the class INGNepal. To create any program there are different
programming languages. This particular program can also be created using many
programming languages, but for this one, Javsa is used.

As we all know, Java is a programming language. It is owned by oracle and was
created in 1995. There are more than 3 billion devices running Java programming
language. It is used to create and run Mobile, Desktop and web applications as well
as games, database connection and much more. Java can be run in different
platforms like windows, Mac, Linux, Pi, etc. it is considered as one if the most easy
and accessible programming languages out there as it is an open-source and free.
It is very efficient, secure and powerful. Java is a very similar to C and C++, so it
can be easy to switch from one language to another. (W3 Schools)




5
Abhinav Adhikari

Geschreven voor

Instelling
Studie
Vak

Documentinformatie

Geüpload op
2 maart 2022
Aantal pagina's
76
Geschreven in
2020/2021
Type
OVERIG
Persoon
Onbekend

Onderwerpen

€6,23
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kan je een ander document kiezen. Je kan het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
Erickgoose

Maak kennis met de verkoper

Seller avatar
Erickgoose London Metropolitan University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
4 jaar
Aantal volgers
1
Documenten
31
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen