DM563 – Solutions to Exercises

Git Repository

You can always find the latest version of the solutions on https://github.com/miscellus/cp2020.

Remember to keep an eye on the Discord server. I will not post a link here, but you can find a link on Blackboard.

Each week after exercise class, I will upload a zip archive of the solutions for that week; included will be the solutions we make together and my original solution.

Course resources

Fabrizio's website for the course:
fabriziomontesi.com/teaching/cp-2020/

The git repository for the course:
github.com/fmontesi/cp2020

External resources

Here is a good (but long) video about generics in Java:
youtube.com/watch?v=9tHLV0u87G4

This article attempts to explain streams and lambda expressions in a pedagogical way (ad-blocker might be advised):
www.dummies.com/programming/java/using-streams-lambda-expressions-java/

A decent guide to Java's ExecutorService framework:
www.baeldung.com/java-executor-service-tutorial

A video about ForkJoinPools in Java:
youtube.com/watch?v=5wgZYyvIVJk

A video tutorial on stopping threads early in Java:
youtube.com/watch?v=6HydEu75iQI

A video introduction to CompletableFuture in Java 8:
https://www.youtube.com/watch?v=ImtZgX1nmr8

If you have questions

Send me (Jakob) an e-mail: jakkj16@student.sdu.dk