Lab Exercises
The labs are structured in a Pre-Lab section and the core lab assignment. Work on the Pre-Lab before coming to the lab!
Grading: Lab Reports
You will need to write a report each week, which should not be more than 5 pages and in PDF format, with your name on it. The report must be in English or German. In consists of two parts:
- The report on the lab assignment (Pre-Lab and Lab), spell-checked and using complete sentences, explaining what you did in the exercise session, that is, the process. Screenshots are welcome. This part may be written together with others in your team and exchanged within your team. Thus, include the name of all authors in this part. The lab report should include:
- Answers to all pre-lab questions
- Answers to the questions from the assigments
- A description of how you tested your code solutions
- Complete transparency on who did what
- The strategy you chose for working in a team & how it worked out (OR if you worked alone: a reflection on your own working strategy)
- Details on which challenges you encountered, how you tried to solve them & their solution (OR if you did not encounter any challenges: a reflection on the exercises themselves)
- A summary of what you did & learned in the lab
- A reflection on what you learned during the session, which is your personal, individual summary.
Additionally, you upload a zip of your solution’s source code.
Both must be submitted individually to the Moodle area by 22:00 before the next lab.
The results of your lab will be presented by one randomly selected member of the group in the next lab.
Here are some general guidelines on lab reports.
Exercises
- Exercise 00: Lab Startup, source code: https://github.com/htw-imi-info1/kara
- Exercise 01: Programming Kara, source code: https://github.com/htw-imi-info1/exercise01-kara
- Exercise 02: TicketMachine, source code: https://github.com/htw-imi-info1/exercise02
- Exercise 03: Book Exercise, source code: https://github.com/htw-imi-info1/exercise03
- Exercise 04: Rock Around the Clock, source code: https://github.com/htw-imi-info1/exercise04
- Exercise 05: A Better Notebook, source code: https://github.com/htw-imi-info1/exercise05
- Exercise 06: Lambda Functions, source code: https://github.com/htw-imi-info1/exercise06-archived
- Exercise 07: Lotto and Technical Support, source code: https://github.com/htw-imi-info1/exercise07-archived
- Exercise 08: Bouncing Balls, source code: https://github.com/htw-imi-info1/exercise08
- Exercise 09: Testing with JUnit, source code: https://github.com/htw-imi-info1/chapter09_testing
- Exercise 10: The World of You, source code: https://github.com/htw-imi-info1/exercise10
- Exercise 11: Keeping Track of Stuff
- Exercise 12: Pick up and Carry
What happens in a lab?
Programming is something you can’t learn out of a book – you have to try out things yourself and practice! Therefore, this class will have lots of exercises. In the Labs you will have opportunity to work on them, and, most importantly, ask questions or discuss it with others if something is unclear to you or you are stuck somewhere.
Structure of the Exercises
Each exercise has a Pre-Lab section. Preperatory work that you are expected to complete - together with reading through the whole exercise - before coming to lab.
Group Work
Labs and lab reports will be done in groups of three or four. These groups will be formed at random at the beginning of each lab.
During the lab after you handed in your report, one randomly selected member of each group will present the groups results to an instructor. See the below table to determine which time slot is associated with the game card your group picked. E.g. your group picked hearts 4, so you will present 13:30 - 13:40.
Card | Time Slot |
---|---|
❤️ A | *13:00 |
❤️ 2 | *13:10 |
❤️ 3 | *13:20 |
❤️ 4 | *13:30 |
❤️ 5 | *13:40 |
❤️ 6 | *13:50 |
❤️ 7 | *14:00 |
❤️ 8 | *14:10 |
❤️ 9 | *14:20 |
♣️ A | *14:30 |
♣️ 2 | *14:40 |
♣️ 3 | *14:50 |
♣️ 4 | *15:00 |
♣️ 5 | *15:10 |
♣️ 6 | *15:20 |
FAQ
I could not attend the lab…
We expect you to do the exercises anyway and hand in a lab report.
I have another problem!
Talk to us! You can even do it anonymously on Moodle.