Text Book:
Deitel & Deitel, C How to Program, Prentice Hall
Reference Book:
Kernighan & Ritchie, The C Programming Language, Prentice Hall
Web Site:
http://www.cmpe.boun.edu.tr/courses/cmpe150/fall2008
Grading (for non-cmpe students):
% 30 midterm 1
% 30 midterm 2
% 40 final
Thus the formula is:
( 30*midterm_1_grade + 30*midterm_2_grade + 40*final_grade )/100
Grading for computer engineering (cmpe) students:
Projects are mandatory for computer engineering students. The grade calculation formula for cmpe students is:
( 30*midterm_1_grade + 30*midterm_2_grade + 40*final_grade
-15 + 5*project_1_grade + 5*project_2_grade + 5*project_3_grade )/100
That is: cmpe students start with 15 points penalty. In order to get those 15 points back, they MUST submit the projects (5% each project).
Although projects are not mandatory for other (non-cmpe) students, we strongly advice them to do and submit projects since we have a very strong tendency to ask AT LEAST 1 question very similar to project in the exams.
Course Outline:
Weeks:
1- introduction, 
   printf, scanf, 
   variables, 
   operators (+-*/%), 
   constants
2- data types, 
   assignment type conversions, 
   type casting, 
   increment-decrement operators (++,--) and post-increment pre-increment, 
   type casting 
3- if, 
   nested if,
   logical operators,
   switch
4- while, 
   for, 
   do-while
5- nested loops, 
   break, 
   continue
6- functions, 
   scope,
   macro-substitution
7- pointers, 
   variable parameters (aka. call by reference or pointers as function arguments)
8- arrays,
   passing arrays to functions,
   sorting and binary search
9- strings
10- multi-dimensional arrays
11- structs
12- review
    
Additional Notes:
Lab attendance will not be taken. However you are strongly adviced to attend to labs especially if you are taking this course for the first time.
At lab sections: