FAQ

We will add frequently asked questions to the list below

There is an error in the JUnitTests

Sometimes JUnit cannot be resolved. To fix this, we need to add the JUnit to the build path:

  1. Right click on your project.
  2. Select 'Build path' and then 'Configure build path'.
  3. Select the Libraries tab
  4. Select 'Modulepath' and then click on the 'Add Library...' button on the right hand side of the window. Now you can add JUnit. Then click on 'Apply'.

Credits: @etterl

Useful Resources

Weekly Session Recaps

Here you will find my slides, notes, and any additional resources we've looked at during our exercise session.

Week 1 - 27/09/2023

This week we set up the git repositories and the Eclipse working environment. Additionally we also looked at a few EBNF exercises and played a Kahoot (link below)

Slides 1

Kahoot!

Week 2 - 04/10/2023

This week we reviewed the exercises from week 1 and discussed the exercises for the coming week. We also looked at some Java rules (short circuiting) and solved the exercise on slide 17 together (slides and solution below)

Slides 2

Solution (Slide 17)

Kahoot!

Week 3 - 11/10/2023

This week we reviewed the exercises from week 2 and discussed the exercises for the coming week. We looked at Java primitive types (mainly int, double) and their importance, solved an exercise together and discussed increment and decrement operators. (slides and solution below)

Slides 3

Solution "Folgen und Reihen" (Slide 23)

Kahoot!

Week 4 - 18/10/2023

This week we reviewed the exercises from week 3 and discussed common mistakes we found in your submissions of week 2. We also solved an exercise from a previous exam (2021). The goal of the exercise was to remove redundancy in Java code. The slides below contain some slides that we did not cover in this weeks session, but plan on covering next week.

Slides 4

Kahoot!

Week 5 - 25/10/2023

This week we reviewed the exercises from week 4 and discussed common mistakes we found in your submissions of week 3. We also looked at a strategy to solve Loop Invariants and had a short Arrays Recap. Unfortunately we didn't have much time to discuss the questions in the Kahoot so below you will find the explanations.

Slides 5

Kahoot!

Explanation

Week 6 - 01/11/2023

Like every week we reviewed the exercises and discussed common mistakes we found in your submissions of week 4. We also solved an EBNF exercise from a previous exam (HS21). In addition to that we also solved a loop invariant exercise together. The slides below contain some slides that we did not cover in this weeks session.

Slides 6

Kahoot!

Week 7 - 08/11/2023

We reviewed the exercises and discussed common mistakes we found in your submissions of week 5. We also solved an EBNF exercise from a previous exam (HS20). In addition to that we also discussed some Hoare Triple exercises from various previous exams. The slides below contain some slides that we did not cover in this weeks session, but they will be covered next week (Loop Invariants).

Slides 7

Kahoot!

Week 8 - 15/11/2023

This week we reviewed the exercises and discussed common mistakes we found in your submissions of week 6. We then recaped Java Access Modifiers (visibility), solved some loop invariants and played a Kahoot. In the end we looked at a short EBNF exercise from a very old exam (2016). WARNING: The precondition for the second loop invariant is n > 0 and not n >= 0 (Mistake should be fixed in the slides but might not appear for you)

Slides 8

Kahoot!

Week 9 - 22/11/2023

This week we reviewed the exercises and discussed common mistakes we found in your submissions of week 7. Then we looked at Java Inheritance and discussed the Bonus Exercise U08. We looked at an approach to solving the bonus exercise. Below you will find a PDF explaining two different approaches. The first approach can be difficult. If you are not very familiar with bit manipulations skip the first explanation and look at the second approach which should be easier to understand. I tried giving an intuition on how Hypercubes work, this might be helpful. If you have any questions, feel free to contact me :) (And of course we also played a Kahoot, link below)

Slides 9

Solutions for Bonus U08

Explanation with two Approaches (PDF)

Kahoot!

Week 10 - 29/11/2023

This week we reviewed the exercises and discussed common mistakes we found in your submissions of week 8. Then we looked at Polymorphism and played a Kahoot. The Kahoot focused on Polymorphism and Exceptions.

Slides 10

GraphExecution Erklärung (nicht von uns)

Kahoot!

Week 11 - 06/12/2023

This week we reviewed the exercises and discussed common mistakes we found in your submissions of week 9. Next we looked at A LOT of Inheritance, we also did a little EBNF. Solutions to the exercises we solved together can be found in the speaker notes of the slides.

Slides 11

Kahoot!

Week 12 - 13/12/2023

This week we reviewed the exercises and discussed common mistakes we found in your submissions of week 10. Then we looked at common exam exercises: Java Evaluation, Hoare Triple, Inheritance. There was a mistake in the first question of the Kahoot! but this has now been fixed.

Slides 12

Kahoot!

Week 13 - 20/12/2023

This was our last exercise session :( We played an XXL-Kahoot and gave you some tipps on how to prepare for the exams. We wish you relaxing """holidays""" and very successfull exams :)

Slides 13

Kahoot!