100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CS4001NI Programming Coursework 1- Study Guide 3 $6.49
Add to cart

Other

CS4001NI Programming Coursework 1- Study Guide 3

 0 purchase
  • Course
  • Institution

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

Preview 4 out of 76  pages

  • March 2, 2022
  • 76
  • 2020/2021
  • Other
  • Unknown
avatar-seller
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Erickgoose. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $6.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

62774 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 15 years now

Start selling
$6.49
  • (0)
Add to cart
Added