CGS2423 Section 01
C For Engineers
Spring 2002
[an error occurred while processing this directive]
| 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 |
[an error occurred while processing this directive]
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