Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Otro

CS4001NI Programming Coursework 1- Study Guide 3

Puntuación
-
Vendido
-
Páginas
76
Subido en
02-03-2022
Escrito en
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.

Institución
Grado

Vista previa del contenido

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

Escuela, estudio y materia

Institución
Estudio
Grado

Información del documento

Subido en
2 de marzo de 2022
Número de páginas
76
Escrito en
2020/2021
Tipo
OTRO
Personaje
Desconocido

Temas

$6.99
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor
Seller avatar
Erickgoose

Conoce al vendedor

Seller avatar
Erickgoose London Metropolitan University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
-
Miembro desde
4 año
Número de seguidores
1
Documentos
31
Última venta
-

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes