100% tevredenheidsgarantie Direct beschikbaar na betaling Zowel online als in PDF Je zit nergens aan vast
logo-home
CS4001NI Programming Coursework - Study Guide €6,32   In winkelwagen

Overig

CS4001NI Programming Coursework - Study Guide

 7 keer bekeken  0 keer verkocht
  • Vak
  • Instelling

The document is about the coursework of the module programming in London Metropolitan University. It is cw1.

Voorbeeld 4 van de 47  pagina's

  • 2 maart 2022
  • 47
  • 2020/2021
  • Overig
  • Onbekend
avatar-seller
Module Code & Module Title
CS4001NI Programming


Assessment Weightage & Type
30% Individual Coursework


Year and Semester
2018-19 Autumn


Student Name: Prajun Lungeli
London Met ID: 18029493
College ID: NP01CP4A180010
Assignment Due Date: 25th January 2019

Assignment Submission Date: 25th January 2019




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 marked.
I am fully aware that late submissions will be treated as non-submission and a mark of zero will be
awarded.

,Contents

Introduction ................................................................................................................................... 1
Class Diagram ............................................................................................................................... 2
• Developer Class ................................................................................................................ 2
• SeniorDeveloper class ..................................................................................................... 3
• JuniorDeveloper class ..................................................................................................... 4
Pseudocode ................................................................................................................................... 5
• Developer class ................................................................................................................. 5
• SeniorDeveloper class ..................................................................................................... 6
• JuniorDeveloper class ..................................................................................................... 9
Method Description .................................................................................................................... 13
• Developer Method ........................................................................................................... 13
• SeniorDeveloper Method ............................................................................................... 14
• JuniorDeveloper Method ............................................................................................... 15
Test ................................................................................................................................................ 16
• Test 1 ................................................................................................................................. 16
• Test 2 ................................................................................................................................. 20
• Test3 .................................................................................................................................. 22
• Test4 .................................................................................................................................. 26
Error .............................................................................................................................................. 28
• First error .......................................................................................................................... 28
• Second error .................................................................................................................... 28
• Third error......................................................................................................................... 29
Conclusion ................................................................................................................................... 30
Appendix ...................................................................................................................................... 31
• Developer class code ..................................................................................................... 31
• SeniorDeveloper class code ......................................................................................... 33
• JuniorDeveloper class code ......................................................................................... 38
References ................................................................................................................................... 43

,Table of figures
Figure 1: Java ................................................................................................................................. 1
Figure 2: BlueJ IDE ........................................................................................................................ 1
Figure 3: Running SeniorDeveloper constructor ........................................................................ 16
Figure 4: Adding value to instance variable through constructor ............................................. 17
Figure 5: Inspecting SeniorDevloper class ................................................................................. 17
Figure 6: Running hireDeveloper method................................................................................... 18
Figure 7: Filling data through hireDeveloper method ................................................................ 18
Figure 8: Displaying message after hiring developer ................................................................ 19
Figure 9: Re-inspecting SeniorDeveloper class ......................................................................... 19
Figure 10: Inspecting SeniorDeveloper class ............................................................................. 20
Figure 11: Running contractTermination method ...................................................................... 21
Figure 12: Displaying message after termination of contract .................................................... 21
Figure 13: Re-inspecting SeniorDeveloper class ....................................................................... 21
Figure 14: Running JuniorDeveloper class constructor............................................................. 22
Figure 15: Adding value to instance variable through JuniorDeveloper constructor .............. 23
Figure 16: Inspecting JuniorDeveloper class ............................................................................. 23
Figure 17: Running appointDeveloper method .......................................................................... 24
Figure 18: Filling data through appointDeveloper method ........................................................ 24
Figure 19: Displaying message after appointing developer ...................................................... 25
Figure 20: Re-inspecting JuniorDeveloper class ....................................................................... 25
Figure 21: Running devInfo method ............................................................................................ 26
Figure 22: Displaying information of SeniorDeveloper class .................................................... 27
Figure 23 : Running juniorDevInfo method ................................................................................. 27
Figure 24: Displaying information of JuniorDeveloper class ..................................................... 27
Figure 25 : First error.................................................................................................................... 28
Figure 26: First error correction ................................................................................................... 28
Figure 27: Second error ............................................................................................................... 28
Figure 28: Second error correction ............................................................................................. 29
Figure 29: Third error ................................................................................................................... 29
Figure 30: Third error correction.................................................................................................. 29

, Table of Tables

Table 1: Developer class diagram ......................................................................................... 2
Table 2: SeniorDeveloper class diagram ............................................................................... 3
Table 3: JuniorDeveloper class diagram ............................................................................... 4
Table 4: Developer class method description ...................................................................... 13
Table 5: SeniorDeveloper class method description ............................................................ 14
Table 6: JuniorDeveloper class method description ............................................................ 15
Table 7: first test ................................................................................................................. 16
Table 8: second test ............................................................................................................ 20
Table 9: third test ................................................................................................................ 22
Table 10: fourth test ............................................................................................................ 26

Voordelen van het kopen van samenvattingen bij Stuvia op een rij:

√  	Verzekerd van kwaliteit door reviews

√ Verzekerd van kwaliteit door reviews

Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!

Snel en makkelijk kopen

Snel en makkelijk kopen

Je betaalt supersnel en eenmalig met iDeal, Bancontact of creditcard voor de samenvatting. Zonder lidmaatschap.

Focus op de essentie

Focus op de essentie

Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper Erickgoose. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €6,32. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 64438 samenvattingen verkocht

Opgericht in 2010, al 14 jaar dé plek om samenvattingen te kopen

Start met verkopen
€6,32
  • (0)
  Kopen