FHTW Berlin

FHTW Berlin
Fachbereich 4
Internationale Medieninformatik
PROG1: Programmierung I
Wintersemester 03/04


Laboratory 4: Statements and Classes



This week's exercise is a recitation, we will be going through some of the end-of-chapter exercises on statements and classes. The sub-numbering is all screwed up in these chapters, have patience.

1. Start off with a short review of expressions: do exercise 4 from chapter 5 and give examples for the expressions required.
2. Now go through exercise 4 and 5 from chapter 6.
3. Get into groups of two and do exercise 2 and 3 from chapter 6, the blocks and the balloons. Discuss your results with another group. Did you do it similarly?
4. Start reading the lab for next week and start answering the seven questions. Can you write your Dud class? You will need to bring the results from all the questions with you as your pre-lab. Please read through the entire lab before coming to class!


This course is an adaption for the Fachhochschule für Technik und Wirtschaft , Berlin by Prof. Dr. Debora Weber-Wulff of a part of Prof. Dr. Lynn Andrea Stein's Rethinking CS101 project produced while she was at the MIT AI Lab belonging to the Department of Electrical Engineering and Computer Science (EECS) at the Massachusetts Institute of Technology. She is now with Franklin W. Olin College of Engineering. The copyright for all materials belongs to Lynn Andrea Stein, this adaptation is used by permission. All rights reserved.
A textbook is in preparation by Morgan Kaufmann Publishers


Questions or comments: <weberwu@fhtw-berlin.de>