C Programming course homepage - 2006/B

 

Lecturer:

E-mail:

armon@post.tau.ac.il

Office phone:

6405231

Office hour:

Monday 14:00-15:00

Message board

9/3/06

Good luck!

15/3/06

Lesson in computer-room: Remember that the lesson tomorrow is in Handasat-Tochna, room 8 (there's a map in the first presentation). Those with family name starting with Aleph-Lamed ahould come at 16:00. The others should come at 17:00. This is a one-time change (the next lessons will be as usual in Orenstein 111, 16:00-18:00).

1/5/06

Exercise 6: Note that only in Seif Bet of each of the questions you are required to write the 'main' (Seif Aleph only requires writing a function, which is used by the program in Seif Bet).

4/5/06

No lesson next week (it's Yom-Hastudent, 11/5). Next lesson will be on 18/5/06. Have fun :-)

4/5/06

Extension for exercise 6: Exercise 6 can be submitted next week (until Thursday, 11/5). It can be submitted in my mailbox: Schreiber first floor, in front of the elevators, mailbox number 286 (remember that we have Hovat-Hagasha).

4/5/06

Individual work: Please make sure you follow the rules and each of you writes the programs on his own. This is important for your success. If you have difficulties - send me an email or come to the office-hour. It's ok to talk with others about the exercise, but it's not ok to pass your programs to another student. Starting from Ex. 6, joint work will be considered non-submitted for all the students involved. Those who didn't do Ex.5 according to the rules won't lose points for it this time - under the condition that they submit the rest of the exercises according to the rules. I hope there won't be any further cases and we won't have to take any steps about this.

14/5/06

Office-hour: This Monday, 15/5, my office-hour (shaat-kabala) will be on 18-19 instead of 14-15. As usual, those who want to come but the hour isn't convenient for them can send me an email and coordinate another time.

18/5/06

Shiur-Hashlama will be on friday, 9/6, during 10:30-12:30, at Orenstein 111 (the usual room). This is instead of the lesson on 1/6 which we loose because of Erev-Shavuot.

15/6/06

Function lists: I post here lists of functions from math.h and string.h. As I said in the lesson, you only need to know the functions from there which were mentioned in the presentations (the others are just for your general knowledge).

15/6/06

A sample exam can be found here (this is just an example of the structure and style). You can also find here a suggested solution. Of course there are many options to solve each question. Also note that your exam is on what you learned, and you don't have to solve previous exams in order to succeed. Explanations and recommendations about your own exam appear in the last lesson's presentation.

15/6/06

The exam (Moed Aleph) is on 30/6/06 (Friday) at 9am. The usual office-hour will still take place in the next two weeks (Monday, 14:00-15:00), and there will be more office hours on 28/6 (Wednesday) at 12:00-14:00. You can also coordinate another time by email.
Good luck!

18/6/06

I put graded exercises which no one took in Schreiber 114 (there is now a shelf there for our course, at the right side). This room is open sun-thu until 15:30 (it's on the first floor). I'll update you when the last exercises are graded and returned (it should be by the end of this week).

22/6/06

Last exercises: All the exercises submitted by the end of the semester were graded and returned. You can find the grades in the table below as usual, and these exercises will also be in Schreiber 114 on Sunday (currently they are in my mailbox in Schreiber first floor). Late submissions of Ex.10 (submitted this week) will be graded and returned before the exam.

26/6/06

Last exercises: All the exercises were returned and they are now in Schreiber 114. Their grades were updated in the file below.

29/6/06

The exam is tomorrow at 9. I hope you learn all the material well, and I wish you good luck !

16/7/06

Exam and grades: A suggested solution can be found here. The exam itself can be found here. I added 7 points to the exam grades.
Feel free to contact me regarding any further questions.
I enjoyed teaching you and I wish all of you success.

25/8/06

Moed Bet: A suggested solution can be found here. The exam itself can be found here. I added 7 points to the exam grades, after giving a weight of 90% to the 3 best questions (and only 10% to the other one).
Feel free to contact me regarding any further questions.

 

Course Presentations

Week

Class

Handouts

Slides

Exercises 

9/3/06

Introduction: Computers and programming languages; First C programs.

 

Syllabus

 

 

Lesson1

 

Exercise1

Solution1

Grades

 

16/3/06

Practicing programming

 

Compiling with Visual Studio

 

Installing lcc at home and compiling with it

 

 

Lesson2

 

Exercise2

Solution2

Grades

 

23/3/06

Using variables

 

 

Lesson3

 

Exercise3

Solution3

Grades

 

30/3/06

More about variables;
Flow control: if, else, logical operators, switch

 

 

Lesson4

 

Exercise4

Solution4

Grades

 

6/4/06

Loops

 

 

Lesson5

 

Exercise5

Solution5

Grades

 

27/4/06

Functions

 

 

Lesson6

 

Exercise6

Solution6

Grades

 

4/5/06

Arrays

 

 

Lesson7

 

Exercise7

Solution7

Grades

 

18/5/06

Strings

 

lcc debugger instructions

 

Lesson8

 

Exercise8

Solution8

Grades

 

25/5/06

Pointers

 

 

Lesson9

 

Exercise9

Solution9

Grades

 

8/6/06

Structures

 

 

Lesson10

 

 

9/6/06

Structures
Dynamic alloctaion

 

 

Lesson11

 

Exercise10

Solution10

Grades

 

15/6/06

Summary lesson

 

 

Summary

 

 

Books

 

  •  C How to program / Deitel and Deitel (3rd Edition)

 

 

  • A Book on C / Kelley and Pohl (3rd or 4th Edition)

 

 

  • The C Programming Language  / Kernighan and Ritchie