Programmierung
WS 18/19
Christoph Daniel Schulze, Prof. Dr. Reinhard von Hanxleden, Steven Smyth, Alexander Schulz-Rosengarten und Sören Domrös
Note: this page can be reached via https://infprogoo.de.
Your Main Source of Information: Our Wiki, including FAQs
For everything related to the course itself, we refer you to our wiki, which contains lots of useful (and important) information. In fact, go there right now and read your way through it.
Important: At the very least, perform all the necessary registrations described there as soon as humanly possible!
Material
Lecture
The slides posted here are initially those used in the previous edition of this class, but are updated throughout the semester. Typically, the slides with red titles and serif fonts are not shown during the lecture, but are delivered orally.
- Andreas Mühling: Vorstellung der Kohortenbefragung Informatik (KOI), pdf
- Lecture 1: Introduction (Chapter 1), pdf, pptx, Last update: 2018-11-12
- Lecture 2: Programming by example (Chapter 2), pdf, pptx, Last update: 2018-10-19
- Lecture 3: Expressions, Context-Free Grammars (Chapter 3), pdf, pptx, Last update: 2018-11-19
- Lecture 4: Statement Forms (Chapter 4), pdf, pptx, Last update: 2018-11-16
- Lecture 5: “Guide to Success” + Methods (Chapter 5), pdf, pptx, Last update: 2018-10-19
- Lecture 6: Objects and Classes (Chapter 6), pdf, pptx, Last update: 2018-10-19
- Lecture 7: Arrays and ArrayLists (Chapter 11), pdf, pptx, Last update: 2019-01-07
- Lecture 8: Objects and Memory (Chapter 7), pdf, pptx, Last update: 2018-10-19
- Lecture 9: Strings and Characters (Chapter 8), pdf, pptx, Last update: 2018-10-19
- Lecture 10: Detecting Bugs, Object-Oriented Graphics (Chapter 9), pdf, pptx, Last update: 2018-10-19
- Lecture 11: Collection Classes (Chapter 13), Computational Complexity, pdf, pptx, Last update: 2019-01-15
- Lecture 12: Files, Exception handling (Chapter 12.4), pdf, pptx, Last update: 2018-10-19
- Lecture 13: Event-driven Programs (Chapter 10), pdf, pptx, Last update: 2018-10-19
- Lecture 14: Wrap-Up - MVC, Concurrency, Race Conditions (Chapter 14), pdf, Last update: 2018-10-19
- Lecture 15: Going Beyond the ACM Library, pdf, pptx, Last update: 2019-02-13
Grateful acknowledgement: the slides are extended versions of the original slides provided by the author of our text book, Eric S. Roberts, reposted here with kind permission.
Recitation Class
Some of the slides shown in the recitation class as well as programs we work on together will be posted here. The solutions to the homework assignments will generally become visible in the iLearn system after the deadlines passed. Code from the used text book is found here.
- Recitation class 4
- Solution attempts and solution for homework assignment 2.3 pdf
- Recitation class 6
- The classes we wrote: MutableHuman, ImmutableHuman, and Glados.
- Recitation class 8
- The classes we wrote: LeftBoundedInterval and BoundedInterval.
- Recitation class 11
- The classes we wrote: CatalanCalculator, CatalanTester, MethodDecomposition, ClassDecomposition.
- Recitation class 13
- The classes we wrote: IterableTest and ExceptionalClass
- Bonus recitation class 1
- The Caged game
- Bonus recitation class 2
- The Caged game, but without Nicolas Cage and with enumerations
Past Midterm Tests and Final Exams
Here are the past midterm tests and final exams, along with our sample solutions. We recommend trying to work through the tests and exams yourself before looking at the answers.
- First exam WT18/19 (without answers)
- Midterm Test WS18/19 (without answers)
- First exam WT17/18 (without answers)
- Midterm Test WS17/18 (without answers)
-
Midterm Test WS17/18 (with answers) (Extra bonus content: the CrossedSquare class)
- First exam WT16/17 (without answers)
- Midterm Test WS16/17 (without answers)
- Second exam WT15/16 (without answers)
- First exam WT15/16 (without answers)
- Midterm Test WT15/16 (without answers)
- Midterm Test WT15/16 (with answers) (Ultimate bonus content: the Diamond class)