Software Development 2 Assignment Two Semester 2, 2026 | Griffith College Dublin

Software Development 2 Assignment Two

Course: BSCH In Computer Science
Stage/Year: 2
Module: Software Development 2
Semester: 2
Assignment Number: 2
Date of Title Issue: 17/02/2026
Proposal deadline: 01/03/2026
Assignment Submission: Upload to Moodle
Assignment Weighting: 6%

Assignment Title – SD2 Worksheet Two: Unit Tests and version control

Assignment Instructions

This worksheet is to help you become familiar with the basics of

  • Writing unit tests
  • Test Driven Development with Git

This worksheet is worth 6% of your CA

Submit before 25/02/26 23:59

Create a new project in Eclipse(or other IDE) called SD2_LabTwo_<studentnumber> • With <studentnumber> being your student number i.e.   SD2_LabTwo_323212.

For this exercise you will need to set up a GitLab or GitHub repository and share it with your lecturer as a Developer. Make sure to grant your lecturer developer level access to the repository.

After writing each unit test and before writing the implementation you will need to make a commit. It is an absolute requirement of the worksheet that you commit after each completion of a unit test and implementation. You will lose marks if your repository does not reflect this.

Task 

  • Create two files “ConversionsTest.java” and “Conversions.java” and commit them to the repository.
  • In Conversions.java add method stubs and only the stubs for the methods below, once you have written all stubs commit them to the repository. Do not implement the methods until after the tests are written.
    • public double euroToDollar(double euro) o public double dollarToEuro(double dollar) o public int stringToInteger (String val) o public String integerToString (int val)
    • public String switchCase() // change uppercase to lowercase and vice versa
    • Include screenshots of the method stubs below
  • In ConversionsTest.java add Unit tests for each method. o Each unit test must perform at least three tests on the method involved.
    • Test different ranges (positive, negative, null values, etc..) o Write them one at a time as you will need to commit after writing each
    • For each individual unit test, after writing the tests, run it and it should fail, then commit it to the repository.
    • In Conversions.java implement the appropriate method so it will pass the unit test, once it succeeds commit it to the repository.
    • do not move onto the next test until the previous one has succeeded and has been committed.
    • Continue until all tests have been completed.
    • For each unit test include screenshots below of
      • the unit test
      • the tests failing
      • the method implementation
      • the tests succeeding

Marks

o Unit tests (25 marks)
o Implementation (25 marks)
o Comments and Coding Standards (10 marks)
o Repository with proper commit history (40 marks)

Comments and Coding Standards

Comments

  • Include a comment at the top of the file with your name and student number.

Add a comment for each coding task explaining what the code does.

Follow coding standards: 

  • Lowercase for variable names.
  • Uppercase for the class name.
  • All uppercase for constants.
  • Use naming standards.
  • Indent your code.

Zip the whole project folder and upload your folder on Moodle as SD2_LabTwo_StudentNumber.zip.

Note that it is an absolute requirement of the worksheet that you commit after each completion of a unit test and implementation. You will lose marks if your repository does not reflect this.

Learning Outcomes  

This assignment is assessing the following programme and related module learning outcomes: Programme and related module learning outcomes that this assignment is assessing.

  1. Install, configure, and utilize a testing framework for a software project.
  2. Use technical design and implementation skills.

Artificial Intelligence Assessment Scale (AI AS):  

AI Assessment Scale Framework:

https://www.griffith.ie/sites/default/files/2025-05/f-6.5-aiin-learner-assessment-policy.pdf”

This assignment is subject to AI permission option:

AI for Editing                [X ]

Assignment Specific AI Instructions: 

  • AI may be used to assist in bug fixing or to check for issues in your code before submission.
  • AI may not be used to generate project code or comments. All submitted code should be your own work.
  • If unauthorized or undeclared AI use is found, you will be required to explain your submission to show understanding of the code.

Please note:

  • All AI generated content and process must be declared.
  • Any task that is not listed as permitted may be assumed to be prohibited.

If it is determined that a learner has used an AI tool in any way that is not permitted by the chosen level, then they will be subject to the disciplinary procedures listed in the Academic Integrity and Misconduct policy regarding the misuse of AI in assignments.

Penalties

Late Penalties:

Standard penalties will be applied to work that is submitted late, as per faculty guidelines. https://moodle.griffith.ie/mod/resource/view.php?id=18202  

Penalties that apply to this assignment: 

All code should be submitted as .java files.

Submission of text files, .class files or other file types will incur a 20% penalty.

Submission of file types that cannot be graded such as .jar files will result in resubmission, late penalties will apply to any resubmissions.

Not providing access to git repository will result in a loss of marks.

Uncommented code may result in no marks.

AI generated comments and code may result in no marks.

Assessment Criteria

Assessment criteria applied to this assignment:

 

Conversions Class stubs

10
 Test at least 3 sets of values for  each ConversionTests unit tests 25
Implementation for each method 15
 

Repository 

Git repo shared

 

 

5

Commit with stubs 5
Commit for each unit test 10
Commit for each implementation 10
Commit in correct order stub->unit test>implementation-> next unit test 10
 

Comments

 

5

Coding standards 5
 

Total

100

Submission Instructions and Plagiarism

Plagiarism:

All work must be your own. Any cases of suspected plagiarism will be thoroughly investigated and may be brought in for VIVA. All parties involved in cases of plagiarism will receive a 0 and their student record marked accordingly. Any submission that is found to be plagiarised will receive a grade of 0 without the possibility of resubmission.

By submitting your assignment you accept that you understand what plagiarism is and that your assignment is not plagiarised in any way. 

Instructions for submission

All work must be submitted via the submission point on Moodle, email submissions not accepted.

Submit all files as a zip file to Moodle in the format

SD2_LabTwo_number.zip

e.g. SD2_LabTwo_1000323

Need Expert Help

Many Griffith College Dublin students find the Software Development 2 Assignment Two (SD2 Worksheet Two) challenging because writing unit tests, implementing Java methods, managing Git repositories, and following Test-Driven Development (TDD) require strong programming and version control skills. But there is no need to worry, as Ireland Assignment Helper provides reliable Java Programming Assignment Help aligned with Griffith College Dublin requirements. You can also explore software development 3 assignment for clarity. Order today assignment help and receive a 100% custom, human-written Software Development assignment solution, prepared only for you.

The post Software Development 2 Assignment Two Semester 2, 2026 | Griffith College Dublin appeared first on Ireland Assignment Helper.