100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Other

CS4001NI Programming Coursework 1- Study Guide 3

Rating
-
Sold
-
Pages
76
Uploaded on
02-03-2022
Written 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.

Institution
Course











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
March 2, 2022
Number of pages
76
Written in
2020/2021
Type
Other
Person
Unknown

Subjects

Content preview

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
$6.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
Erickgoose

Get to know the seller

Seller avatar
Erickgoose London Metropolitan University
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 year
Number of followers
1
Documents
31
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions