Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

24 south Section 1

Ring Road No.1


ChengDu, SiChuan 610065
P.R.China

Sichuan University

Department of Electrical Engineering Information


Computer and C Programming Language
Course Syllabus
Course Name Computer and C Programming Language

Course No. 303066030


School of
Electrical Academic
Department Hours 48 3
Engineering credit
Information
The course will discuss a general-purpose programming language-C. It is useful
for writing compilers and operating systems as well as writing major programs in
many different domains. The course not only introduces the fundamental
control-flow constructions required for well-structured programs, such as
statement grouping, decision making (if-else), selecting one of a set of possible
cases(switch), looping with the termination test at the top(while, for) or at the
bottom(do), early loop exit(break), but also describes the declaring and defining
Course
functions which may be called recursively. C is a relatively “low level” language.
Descriptions
This characterization is not pejorative; it simply means that C deals with the same
sort of objects that most computers do, namely characters, numbers, and addresses.
These may be combined and moved about with the arithmetic and logical operators
implemented by real machines. This course requires students to grasp the
following aspects: the basic data types, operators, expressions, control flow,
pointers, address arithmetic, structures, unions, functions and program structure
etc.

Course Materials (Textbooks)


Huang, Diming and Yu, Qin, A course in the C programming language, Higher Education Press.
ISBN 7-118-04516-0

Grading
Homework 10%
Experiments 20%
Final exam 60%

Instructor Information
Wei Luo, Lecturer, School of Electrical Engineering Information, Sichuan University

Page 1 of 3(第 1页共 3页)


24 south Section 1
Ring Road No.1
ChengDu, SiChuan 610065
P.R.China

Sichuan University
Tentative Course Schedule

Chapter Title Topic

1 A tutorial introduction to 1) The information society and C programming language


C programming language 2) The development and characteristics of C programming language
3) The basic structure of C programming language
4) The basic syntax units
5) The preparation and running of the C programming language
6) Algorithm of C programming language
7) Examples
2 Types, operations and 1) Types of data
expressions 2) Constants
3) Variables
4) Declarations and operations
5) Type conversions
6) Precedence and order of evaluation
7) Input and output of data
8) Examples
3 Control flow 1) Three basic structures
2) Simple statements and complex statements
3) If-else
4) Switch
5) Loop statements
6) Loop nesting
7) Break, continue and goto
8) Examples
4 Arrays and structures 1) One-dimensional array
2) Two-dimensional array
3) String array
4) The definition of structures
5) Array of structures
6) Examples
5 Poin\ters 1) The concept and definition of pointer
2) Evaluation of pointer
3) Pointer and array
4) String pointer
5) Pointer array
6) Pointer pointing to pointer
7) Examples

Page 2 of 3(第 2页共 3页)


24 south Section 1
Ring Road No.1
ChengDu, SiChuan 610065
P.R.China

Sichuan University
6 Functions 1) Introduction to functions
2) The definition and call of functions
3) The parameter of
4) Function and array
5) Function and pointer
6) Function and structure
7) Recursive Function
8) Standard library
9) Examples
7 The storage of variables 1) The basic structure of C programming language
2) Internal variable
3) External variable
4) Static variable
5) Register variable
6) Initialization of variable
7) Dynamic memory allocation function
8) Examples
8 Bit-field, union, 1) Bit-field
enumeration, type 2) Union
definition and preprocess 3) Enumeration
4) Typedef
5) Preprocess
6) Examples
9 Input, output and text 1) Flow, text and I/O function
management 2) Text steam
3) I/O function
4) Examples
10 Advanced application of C 1) Chain list
programming language 2) Library functions connected to operating system
3) Graph programming
4) Music programming

Page 3 of 3(第 3页共 3页)

You might also like