Cour Code: 062001
Cour Title: The C Programming Langauge
Credits: 3
Hours: Lecture 48 Hours, Labwork 24 Hours
Major: Computer Science, Software engineering
Written by: Kun ZHANG
Written Time: 2014-8-12
Reviewed by:
I. Instroduction of the cour
The C Programming Language is a specified option cour for the studies of software engineering. Basic C language concepts, uful C techniques are introduced in this cour.
C is widely available on PCs, workstations, and mainframes throughout the world, so by learning C programming, students can improve their ability of programming and make preparations for the further software developing such as in C++, Java etc.
The cour is conducted bi-linguistically. Textbook of English version is introduced into the teaching and learning activities.
II. Basic Object of the cour
After cour learning, the students should:
(1) be familiar with the basic concepts and grammars in C language;
(2) be familiar with the concepts of modular programming;
(3) obtain the basic C programming;
III. Keys in the cour teaching and learning
Types, Operators, Expressions, Control Flows, Function and Program Structure, Pointers and Arrays, Structures are the trunk of the cour, as a result, more attentions should be paid on them in the teaching. For the students, more efforts are expected in the learning of Functions, Pointers, as well as Structures.
IV. Cour Contents
用负荆请罪造句
Chapter 1 - A Tutorial Introduction (4H+2H)
1.1 Getting Started
1.2 Variables and Arithmetic Expressions
1.3 The for statement
1.4 Symbolic Constants
1.5 Character Input and Output
1.6 Arrays
1.7 Functions
1.8 Arguments - Call by Value
1.9 Character Arrays
1.10 External Variables and Scope
Chapter 2 - Types, Operators and Expressions (8H+4H)
2.1 Variable Names
2.2 Data Types and Sizes
2.3 Constants
2.4 Declarations
2.6 Relational and Logical Operators
2.7 Type Conversions
春节英语作文2.8 Increment and Decrement Operators
2.9 Bitwi Operators.
2.10 Assignment Operators and Expressions
2.11 Conditional Expressions
2.12 Precedence and Order of Evaluation.
Chapter 3 - Control Flow (10H+6H)
3.1 Statements and Blocks
3.2 If-El
3.3 El-If
3.4 Switch
3.5 Loops - While and For
3.6 Loops - Do-While
3.7 Break and Continue
3.8 Goto and labels
Chapter 4 - Functions and Program Structure (10H+4H)
4.1 Basics of Functions
4.2 Functions Returning Non-integers
4.3 External Variables
4.4 Scope Rules
4.5 Header Files
谷维素片的作用4.6 Static Variables 5
4.7 Register Variables
相信的英语
4.8 Block Structure
4.9 Initialization
4.10 Recursion
4.11 The C Preprocessor
4.11.1 File Inclusion
4.11.2 Macro Substitution
4.11.3 Conditional Inclusion
Chapter 5 Pointers and Arrays (8H+4H)
5.1 Pointers and Address
5.2 Pointers and Function Arguments
5.3 Pointers and Arrays
5.4 Address Arithmetic
5.5 Character Pointers and Functions
5.6 Pointer Arrays; Pointers to Pointers
5.7 Multi-dimensional Arrays
5.8 Initialization of Pointer Arrays
5.9 Pointers vs. Multi-dimensional Arrays
5.10 Command-line Arguments
5.11 Pointers to Functions乙卯重五诗
5.12 Complicated Declarations
Chapter 6 Structures (4H+2H)
6.1 Basics of Structures
6.2 Structures and Functions
6.3 Arrays of Structures
6.4 Pointers to Structures
6.5 Self-referential Structures
6.6 Table Lookup
6.7 Typedef
6.8 Unions
6.9 Bit-fields.
Chapter 7 Input and Output (4H+2H)
7.1 Standard Input and Output
7.2 Formatted Output - printf
7.3 Variable-length Argument Lists
7.4 Formatted Input - Scanf
7.5 File Access
7.6 Error Handling - Stderr and Exit
7.7 Line Input and Output
7.8 Miscellaneous Functions
7.8.1 String Operations
7.8.2 Character Class Testing and Conversion
7.8.3 Ungetc
7.8.4 Command Execution
7.8.5 Storage Management
gotohell
7.8.6 Mathematical Functions
7.8.7 Random Number generation
砂轮机操作规程V. Labworks ( 20 Hours)
Labwork 1 First C program (2 Hours)
Labwork 2 Type Operator Expressions (4 Hours)
Labwork 3 Control Flow (6 Hours)
Labwork 4 Functions and Program Structure (4 Hours)
Labwork 5 Pointers and Arrays (4 Hours)
Labwork 6 Structures (2 Hours)
Labwork 7 Input and Output (2 Hours)
VI. Textbook and References
Textbook:
(1) Brian W.Kernighan,Dennis Ritchie, The C Programming Language 2nd Ed, Prentice Hall/Pearson,USA,清华大学出版社影印版, 2000年
References:
三宽教育(1) Al Kelley,Ira Pohl,A Book on C:Programming in C,Fourth Edition,Addison Wesley/Pearson, USA,机械工业出版社影印版,2004年