C语言大纲(双语)


2023年12月25日发(作者:网游排行榜)

Course Code: 062001

Course 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 course

The C Programming Language is a specified option course for the studies of software

engineering. Basic C language concepts, useful C techniques are introduced in this

course. 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 course is conducted bi-linguistically. Textbook of English version is introduced into

the teaching and learning activities.

II. Basic Object of the course

After course 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 course teaching and learning

Types, Operators, Expressions, Control Flows, Function and Program Structure,

Pointers and Arrays, Structures are the trunk of the course, 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. Course Contents

Chapter 1 - A Tutorial Introduction (4H+2H)

1.1

1.2

1.3

1.4

1.5

Getting Started

Variables and Arithmetic Expressions

The for statement

Symbolic Constants

Character Input and Output

1.6

1.7

1.8

1.9

1.10

Arrays

Functions

Arguments - Call by Value

Character Arrays

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 Bitwise 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

3.2

3.3

3.4

3.5

3.6

3.7

3.8

Statements and Blocks

If-Else

Else-If

Switch

Loops - While and For

Loops - Do-While

Break and Continue

Goto and labels

Chapter 4 - Functions and Program Structure (10H+4H)

4.1

4.2

4.3

4.4

4.5

4.6

4.7

4.8

4.9

4.10

4.11

Basics of Functions

Functions Returning Non-integers

External Variables

Scope Rules

Header Files

Static Variables 5

Register Variables

Block Structure

Initialization

Recursion

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

5.2

5.3

5.4

5.5

5.6

5.7

5.8

5.9

5.10

5.11

5.12

Pointers and Addresses

Pointers and Function Arguments

Pointers and Arrays

Address Arithmetic

Character Pointers and Functions

Pointer Arrays; Pointers to Pointers

Multi-dimensional Arrays

Initialization of Pointer Arrays

Pointers vs. Multi-dimensional Arrays

Command-line Arguments

Pointers to Functions

Complicated Declarations

Chapter 6 Structures (4H+2H)

6.1

6.2

6.3

6.4

6.5

6.6

6.7

6.8

6.9

Basics of Structures

Structures and Functions

Arrays of Structures

Pointers to Structures

Self-referential Structures

Table Lookup

Typedef

Unions

Bit-fields.

Chapter 7 Input and Output (4H+2H)

7.1

7.2

7.3

7.4

7.5

7.6

7.7

7.8

Standard Input and Output

Formatted Output - printf

Variable-length Argument Lists

Formatted Input - Scanf

File Access

Error Handling - Stderr and Exit

Line Input and Output

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

7.8.6 Mathematical Functions

7.8.7 Random Number generation

V. Labworks ( 20 Hours)

Labwork 1 First C program

Labwork 2 Type Operator Expressions

Labwork 3 Control Flow

Labwork 4 Functions and Program Structure

Labwork 5 Pointers and Arrays

Labwork 6 Structures

Labwork 7 Input and Output

VI. Textbook and References

(2 Hours)

(4 Hours)

(6 Hours)

(4 Hours)

(4 Hours)

(2 Hours)

(2 Hours)

Textbook:

(1) Brian han,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年

(2) C程序设计基础教程(第八版)(英文影印版);Let Us C Eighth Edition,Yashavant

P. Kanetkar,电子工业出版社,2009年;

(3) Stephen Prata, C Primer Plus, Fifth Edition , Sam, USA, 2005年

IV. Distribution of the course hours

Chapter

1

2

3

4

5

6

7

Contents

A Tutorial Introduction

Types, Operators and Expressions

Control Flow

Functions and Program Structure

Pointers and Arrays

Structures

Input and Output

Sum

Hours

Lecture

6

12

16

14

12

6

6

72

4

8

10

10

8

4

4

48

Activities

Exercise Labwork

2

4

6

4

4

2

2

24

Rests


本文发布于:2024-09-22 11:41:31,感谢您对本站的认可!

本文链接:https://www.17tex.com/fanyi/32640.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:工业   出版社   网游
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议