Past Software Development 1 examinations

Solutions to implementation tasks are being provided below https://gitlab.mi.hdm-stuttgart.de/goik/GoikLectures/-/tree/master/Klausuren/Sd1.

Caution

This repository contains symbolic links not being implemented by Microsoft Windows file systems e.g. NTFS. Use direct downloads of corresponding exam.zip like in e.g. the section called “Preparation” instead.

Each sub folder contains:

  1. An Exam Folder containing the original implementation tasks.

  2. A Solve folder containing a proposed solution.

The number of points reached by passing the automated tests can be obtained by command line execution. Example:

> unzip solution.zip
Archive:  solution.zip
   creating: Exam/
   ...
> cd Exam
> mvn  compile test-compile
[INFO] Scanning for projects...
[INFO] ...

> mvn -Dmaven.test.skip=true package
[INFO] Scanning for projects...
[INFO]  ...

This generates an executable Jar file like e.g. target/Test001-0.9-fat-tests.jar yielding the number of points:

> java -jar target/Test001-0.9-fat-tests.jar 
               Task 1: 12/14
  TestGetMinimumOfTwo: 6/6
TestGetMinimumOfThree: 2/4
          TestSleepIn: 4/4