CGS2423  Section 01
C For Engineers
Spring 2002

Office
Room: ECS 316 Phone: (305) 348-3329 (FIU-D-DAY)
Regular mail: My mailbox is in the ECS building, 3rd floor, Computer Science, room 354
Office Hours
I have two types of office hours: general and advising. Everyone may see me during either type of hours, but advising students will be given priority during advising hours. All office hours are handled on a walk-in basis.
Mon, Wed Advising 5 - 6:30 pm General 12:45 - 1:45 pm
Tue, Thu Advising 1 - 3 pm General 3 - 5 pm
Internet Information
E-mail: downeyt@cs.fiu.edu Web: http://www.cs.fiu.edu/~downeyt
Homework Grading Policy

Each assignment (6 or 7)

0 to 20 points

Exams and Assignments
  Exam 1 Exam 2 Homework
% of Grade 30% 40% 30%
Dates Thursday, 2/21 Thursday, 4/25 930-1215 Various
Text
C Program Design for Engineers, Second Edition; Hanly and Koffman; Addison Wesley Longman, 2001
Room and Time
ECS-132 TR 1100-1215

Special Dates
No class: Monday, May 26 Drop Date: Monday, June 2

Attendance I recommend that you attend every class. Those who attend class have a better chance of passing the course.

Prerequisites None.

Late Assignment Policy Assignments are due at the START of class. You lose 1 point off the grade for every 6 hours. You may hand in a nassignment up to 1 week late, I will start the grading for very late assignments at 12 points (60%).

Working Together on Assignments is NOT ALLOWED. There is a large difference between discussing general aspects of the course and discussing specific aspects of an assignment. Do not discuss your solution of a problem with others. Assignments that are too similar will not be graded. With a second occurrence, you will earn an F in the course.

Course Content

Overview of Computers and Software
Copmuter components, computer software, software development method
Overview of C
Language Elements, variable declarations and data types, executable statements, gerneral form of a C program, formatting numbers in output, interactive mode and batch mode, common errors
Data Types, Operators, and simple functions
Representation of data types, arithmetic expressions, math functions, simple user-defined functions
Selection Structures: if and switch statements
Control structures, conditions, if, nested if, decision steps in algorithms, switch
Repetition and Loop Statements
Counting loops, while loops, computing a sum or a product in a loop, for, conditional loops, loop design, nested control structures, do-while and flag controlled loops, debuggging and testing
Modular Programming
Functions with input arguments, top-down design, outpur parameters using pointers, scope, recursion
Arrays
Declaring and referencing arrays, array subscripts, loops for sequential access, array arguments, character arrays as strings
Structure Types
User-defined structure types, structure as input and output parameters, structures as return values, parallel arrays and arrays of structures