C Programming course - TA page (0509.1821.12)

Vintage computer 

Lecturer: Amitai Armon
Course main homepage


Teaching assistant:          Olga Sorkine
Class time:                       Monday
16:00 - 18:00
Place:                                Software engineering, room 008
Office hour:                      Tuesday
11:00 - 12:00, Schreiber 002. Please coordinate by e-mail before coming.


Teaching assistant:          Ofer Pasternak
Class time:                       Thursday
16:00 - 18:00
Place:                                Software engineering, room 008
Office hour:                      Wednesday
13:00 - 14:00, Schreiber 12 (Shelter). Please coordinate by e-mail before coming.



Teaching assistant:          Shachar Harussi
Class time:                        Wednesday 12:00 - 14:00
Place:                                Software engineering, room 008
Office hour:
                      Sunday 16:00 - 17:00, Schreiber 009. Please coordinate by e-mail before arrival.

Email:                               mailto:harussis@post.tau.ac.il?subject=c course question


 

Message board

 

Date

Message

13/02/2006

The graded exercise 13 can be found on the shelves in Wolfson ground-floor (at the end of the left corridor, behind the elevators). Ofer's
group: shelf 144; Olga's group: shelf 145; Shachar's group: shelf 146. Old exercises and appeals from ALL the groups are in a separate 
envelope on shelf 144. 
 
The updated grades file can be found below. In case of any problems with the exercises or grades, please contact your metargel (both Olga 
and Ofer aren't here currently, so their groups can contact the lecturer instead).
 

Good luck!

30/01/2006

Ex13: the function add_item from list.c assumes that the "next" pointer of the item to be added is NULL

16/01/2006

Ex12: note that your list_max function should work for any linked list. You cannot assume that the list is sorted when implementing this function, even if you test it in main() with a sorted list.

12/01/06

The debugging instructions for LCC are here:

09/01/06

The grades file is updated (see the link below this table)

26/12:2005

Ex9 question 2: you may assume that the array is sorted; you don't have to get the array as user-input (it's OK to define "hard coded" arrays in main and test the function on them). If you do wish to get the array from the user, define some bound on its size, say, 100.

26/12/2005

Please not that Shachar's office hours have changed! (see above)

25/12/2005

Guidance for Ex.8, question 2: For each place in str, use a (nested) loop to check if the string sub starts in this place (if so, the string repl should be written there instead of sub). One option is to do the replacements in the original string str, but remember to keep two indices: one for the place you reached in reading str, and the other for the place where you should write into str. Another option is to build the new string in another array (don't forget the '\0'), and then copy it character-by-character to the original string.

14/12/2005

The grades of Ex5 have been published (see the link below this table)

13/12/2005

NOTE: in the bonus question of Ex7, you may assume that the maximal length of the input string is 100

08/12/2005

28/11/2005

NOTE: in exercise 5 question 1, the numbers should be positive (check that).

28/11/2005

Grades posted here.

25/11/2005

The solution for exercise 2 is posted

17/11/2005

The grades and the solution for exercise 1 are posted (see the table below)

31/10/2005

Welcome to the course!

 

 

Exercise grades

 

 

Exercise material:

 

Date

Slides

Handouts

Code

Homework

Solutions

Topics

31/10/2005

ex1.ppt

Working with VC++6.0,

Installing and working with LCC compiler

ex1code.zip

ex1.doc

sol1.doc

Computer structure, first C program

07/11/2005

ex2.ppt

 

ex2code.zip

ex2.doc

q2.1, q2.2

Variables

14/11/2005

ex3.ppt

 

ex3code.zip

ex3.doc

q3.1, q3.2

Control statements (if, switch)

21/11/2005

ex4.ppt

 

ex4code.zip

ex4.doc

ex4sol.zip

Loops

28/11/2005

ex5.ppt

Basic functions from math.h

ex5code.zip

ex5.doc

q5.1, q5.2

Functions, debugging

05/12/2005

ex6.ppt

 

ex6code.zip

ex6.doc

q6.1, q6.2

Arrays

12/12/2005

ex7.ppt

Basic functions from string.h

ex7code.zip

ex7.doc

q7.1, q7.2, q7.3

Strings

19/12/2005

ex8.ppt

 

ex8code.zip

ex8.doc

ex8.sol.zip

Pointers

26/12/2005

ex9.ppt

 

ex9code.zip

ex9.doc

q9.1, q9.2

Recursion

02/01/2006

ex10.ppt

 

ex10code.zip

ex10.doc

sol_ex10.zip

Review: pointers, strings and recursion

09/01/2006

ex11.ppt

Debugging with LCC

ex11code.zip

ex11.doc

sol_ex11.zip

Dynamic allocation and structures

16/01/2006

ex12.ppt

 

ex12code.zip

ex12.doc

ex12 solution

Linked lists

23/01/2006

same

 

same

ex13.doc

list.c

q13.1, q13.2

Linked lists continued

30/01/2006

ex14.ppt

 

ex14code.zip

 

 

Review practice

 

Liam's class:

Slides

Code: all (zip), Student_Package2.c