CSE 5A Syllabus
Introduction to Programming (C/C++)
Fall 2007
Lectures:
Tuesdays & Thursdays 9:30 - 10:50am
Center Hall 214
Discussion Sections:
Mondays: 1:00-1:50pm -- WLH 2204
Wednesdays: 2:00-2:50pm -- Center 214
Lab:
EBU3B B240 (basement of CSE building)
Instructor:
TAs/Tutors:
See the Lab Hours schedule for all the TAs/Tutors.
Textbook:
-
Stephen Kochan, Programming in C, 3rd Edition, SAMS Publishing, 2004.
References:
-
Samuel Harbison & Guy Steele, C: A Reference Manual, 5th Edition, Prentice Hall, 2002.
-
Brian Kernighan & Dennis Ritchie, The C Programming Language, 2nd Edition, Prentice Hall, 1988.
Grading:
| 5 Quizzes |
10% |
| 8 Programming HWs |
40% |
| 1 Midterm |
20% |
| 1 Final |
30% |
|
|
| A+/A/A- |
~90-100% |
| B+/B/B- |
~80-90% |
| C+/C/C- |
~70-80% |
| D |
~60-70% |
| F |
< 60% |
|
Schedule:
1) Introduction [Ch. 1]
Some Fundamentals [Ch. 2]
Programming, Higher-Level Languages, & Operating Systems
Compiling Programs
Writing a Program in C [Ch. 3]
Program Output
2) Variables, Data Types, and Arithmetic Expressions [Ch. 4]
Program Looping [Ch. 5]
For, While, & Do Statements
Program Input
3) Making Decisions [Ch. 6]
If, If-Else, & Switch Statements
Conditional Expression Operator
4) Arrays [Ch. 7]
Declaring & Initializing Arrays, Character Arrays
Multi-Dimensional Arrays
Common Programming Mistakes (So Far) [Appendix]
5) Functions and Variables [Ch. 8]
Arguments & Local Variables, Returning Function Results
Functions Calling Functions, Functions & Arrays
Global, Local/Automatic, and Static Variables
Recursive Functions
6) Structures [Ch. 9]
Initializing & Referencing Structures, Functions & Structures
Arrays of Structures, Nested Structures
7) Character Strings [Ch. 10]
Initializing & Displaying Character Strings, Testing for Equality
Inputing Character Strings, The Null String
Escape Characters, Character Conversions & Arithmetic Operations
Input and Output [Ch. 16]
Character I/O, Formatted I/O, File I/O
Back to
CSE 5A Home Page
[http://www.cse.ucsd.edu/users/ricko/CSE5A/]