C Programming course homepage - 2007/B

Lecturer:

E-mail:

armon@post.tau.ac.il

Office phone:

6405231

Office hour:

Wednesday 11:00-12:00 (please coordinate by email before coming)

Message board

1/3/07

Good luck!

6/3/07

Reminder: We meet tomorrow at the computer-room in Handasat-Tochna, room 8 (see map in the first presentation). This is a one-time addition for practicing programming.
Those whose first name starts with Aleph-Yud: 13:00-14:00.
Those whose first name starts with Kaf-Shin: 14:00-15:00.
See you tomorrow!

18/3/07

lcc difficulties: If you still have difficulties in using/installing the program then please send me an email with your exact problem description.

21/3/07

Remember to save your program before its first compilation.

11/4/07

You can submit Ex.4 next week if you're not going to be at the university tomorrow due to the strike (if the strike continues next week - you'll be able to submit it on our first lesson after the end of the strike). You can submit it in my mailbox in Schreiber, number 282, first floor in front of the elevators. Good luck!

8/6/07

A note about Ex.7: When you read a char from the input, make sure you skip the Enter typed before it (see the presentation of lesson 3, slides 9-12).

28/6/07

Exam: Moed Aleph will take place on 13/7/07 at 9:00.
Information about the exam (structure, material, etc.) can be found in the last presentation.

28/6/07

Last year's exams:
Moed A, Semester B, Tashsa"v: exam and solution.
Moed B, Semester B, Tashsa"v: exam and solution.

8/7/07

Returned exercises can be found in Schreiber 114 (open Sunday-Thursday, each day until 15:30).

10/7/07

All the exercises grades are in this file

27/7/07

Exam: 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 10% to the worst question.
For those who did not succeed or did not do the exam - learn well to moed bet and good luck.
I enjoyed teaching all of you and I wish you success.

 

Course Presentations

Week

Class

Handouts

Slides

Exercises

1/3/07

Introduction: Computers and programming languages; First C programs.

 

Syllabus

 

 

 

Lesson1

 

Exercise1 Solution1 Grades1

 

7/3/07

Practicing programming

 

Compiling with Visual Studio in class

 

Installing lcc at home and compiling with it

 

 

Practice

 

 

8/3/07

Using variables in C

 

 

 

Lesson2

 

Exercise2 Solution2 Grades2

 

15/3/07

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

 

 

 

Lesson3

 

Exercise3 Solution3 Grades3

 

22/3/07

Loops

 

 

 

Lesson4

 

Exercise4

Solution4 Grades4

 

24/5/07

Functions

 

 

 

Lesson5

 

Exercise5

Solution5 Grades5

 

31/5/07

Arrays

 

 

 

Lesson6

 

Exercise6

Solution6

 

7/6/07

Strings

 

lcc debugger instructions

 

 

Lesson7

 

Exercise7 Solution7 Grades6,7

 

14/6/07

Pointers

 

string.h functions

 

 

Lesson8

 

Exercise8 Solution8 Grades8

 

21/6/07

Structures

 

math.h functions

 

 

Lesson9

 

Exercise9 Solution9 Grades9

 

28/6/07

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