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

Other

CS4001NI Programming Coursework - Study Guide

 7 views  0 purchase
  • Course
  • Institution

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

Preview 4 out of 47  pages

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

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)

75323 documents were sold in the last 30 days

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

Start selling
$6.49
  • (0)
  Add to cart