C程序设计教学大纲英文版.doc_第1页
C程序设计教学大纲英文版.doc_第2页
C程序设计教学大纲英文版.doc_第3页
C程序设计教学大纲英文版.doc_第4页
C程序设计教学大纲英文版.doc_第5页
免费预览已结束,剩余2页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

程序设计基础课程教学大纲Class Hour:54 Credit:3Specialty Applied to:Information Management Specialty and the relative specialty1、The nature and aim of the course Fundamentals of Programmingis one of the basic specialized profession for our colleges information management speciaity and the relative specialty. It bases on the c language ,producing the idea and the method of programming design. By studying, it can make the students grasp the not only knowledge of advanced program language but also the idea and method for programming and the ability for solving the actual problem by computer. It will make the students have the ability to program using the advanced language.2、The teaching contents and the class hours for every chapterChapter 1. A tutorial Introduction( 6 )knowing:The process of the programming of c language; the data type、variables、constants and symbolic constants 、arithmetic expression、control flow、function、the basic input and output in C.Understanding:the process for programming grasping:the concept of variables and constants, arithmetic operation, control flow, function, input and outputsection 1. Getting Startedinformation:the process of programming,the direction of main function.Grasp the basic elements of the c program, understand and grasp the first c program “hello,world”。section 2. Variables and Arithmetic ExpressionsInformation: The direction of data types, variables, constants and arithmetic expressions, knowing the while loop and printf function. section 3. forinformation:understand the use of for loop and the format of the printf function.section 4. Symbolic contantsinformation:understand the meaning and definition of the symbolic contants.section 5. Chatacter Input and OutPutinformation:the use of putchar and getchar function,understand the program of file copy, characters count, lines count, words count ,etc. section 6. Arraysinformation:the concept of Array and the denotation of subscriptsection 7. Functionsinformation:The concept of function and the parameters transfer between functions.section 8. ArgumentsCall by Valueinformation:The data transfer between functionsby value and by reference.section 9. Character Arraysinformation:The array of character type and the string.section 10. External Variables and Scopeinformation:auto and external variable,and their scopeChapter 2. Types, Operators, and Expressions(11)knowing:enum,struct type,and the similarities and differences between c and the other language.Understanding: the storage of the data in memory and the scope of the various data type. grasping:the definition ,use of various data type, auto or coerce conversion between different data type,operaters and expression.section 1. Veriable Namesinformation:the rule of naming a variablesection 2. Data Types and Sizesinformation:The basic data type and their length, restrict:long, short, signed, unsigned.section 3. Constantsinformation:the denotation of arithmetic, character and string constants; escape sequencesection 4. Declarationsinformation:the method and position in program of the variable declaration,the restrict “const”。section 5. Arithmetic Operatorsinformation:Arithmetic Operators and their priority section 6. Relational and Logical Operators information:Relational and Logical Operators and their precedence section 7. Type Conversioninformation:auto and coerce type conversion, ASCII code ,the relation of int and char.section 8. Increment and Decrement Operatorsinformation:use of the operators, the value of the variable and value of the expressionsection 9. Bitwise Operatorsinformation:the operation of these operatorssection 10. Assignment Operators and Expressioninformation:simple and compound assignment operator, assignment expression and assignment statement.section 11. Condition Expressioninformation:process of the operationsection 12. Precedence and Order of Evaluationinformation:Precedence and Order of Evaluation in compound operation of various operatorsChapter 3. Control Flow(8)knowing:the character of C control flow and the general flow of the c programUnderstanding: the use of goto statementgrasping:the use of various control flowsection 1. Statements and Blocksinformation:simple and compound statementsection 2. if-elseinformation:embranchment structure and its nestingsection 3. else-ifinformation:excessive embranchment structuresection 4. switchinformation:switch select and break statementsection 5. loops-while and forinformation:the grammer, meaning and use of while and for statementssection 6. loopdo-whileinformation:the use of do-while statementsection 7. Break and Continueinformation:use and effect of break and continuesection 8. goto and labelsinformation:implement loops by goto statement , its advantage and disadvantage.Chapter 4. Functions and Programs Structure(11)knowing:the compile process of multi-file program, the pretreatment commandUnderstanding: variables scope,static and register variablegrasping:the declaration, definition, call and the body of the function, arguments between functions, and the return value of the functionsection 1. Basics of Functioninformation:the declaration, definition ,returning, calling and argumentssection 2. Functions returning Non-integersinformation:method of returning a non-integer datum, the type of returning datum, declaration of the called function in the calling section 3. External Variablesinformation:External and temporary variablessection 4. Scope Rulesinformation:the effect and operation of the scopesection 5. Header Filesinformation:the method of multi-files program compiling。section 6. Static Variablesinformation:characteristic and direction of static variablessection 7. Register Variablesinformation:characteristic and direction of register variablessection 8. Block Structureinformation:the denotation of block and the scope of variables in it。section 9. Initializationinformation:the initialization of External ,auto,static ,register variables and the arrays。section 10. Recursioninformation:a function call itself direct or directsection 11. The C Preprocessorinformation:File Inclusion,Macro Substitution and Conditional InclusionChapter 5. Pointers and Arrays(10)knowing:point to a substantiality by a pointerUnderstanding: definition and initialization of simple or multi-arrays, citing of the array elementsgrasping:definition and relation of pointer and address, relation of pointer and array, solving actual problem by pointer.section 1. Pointers and Addressesinformation:definition of pointers and pointer variables, operator “*”and ”&”section 2. Pointers and Function Argumentsinformation:pointers used to be function argumentssection 3. Pointers and Arraysinformation:the difference and relation of pointers and arrays, and use them practically。section 4. Address Arithmeticinformation:operation of address arithmeticsection 5. Character pointers and functionsinformation:difference and relation of string, character pointers, character arrays, argument using them. string functionsection 6. Pointer Arrays; Pointers to Pointersinformation:definition of pointer arrays, meaning of pointers to pointers , their difference , relation and directionsection 7. Multi-dimensional arraysinformation:definition, order in memory,initialization, citing of elements, and directionsection 8. Initialization of Pointer Arraysinformation:its operationsection 9. Pointers vs. Multi-dimensional Arraysinformation:the relation and difference of themsection 10. Command-line Argumentsinformation:meaning and direction of Command-line Argumentssection 11. Pointers to Functionsinformation:definition and directionChapter 6. structure(2)knowing:structure arrays and pointers to structureUnderstanding: the basic of structure ,using structure in functionsection 1. Basics of Structuresinformation:declaration, definition, initialization and citing。 section 2. Structures and Functionsinformation:using structure in function, using as argumentsection 3. Structure Arrays of Structureinformation:declaration and directionsection 4. Pointers to Structureinformation:declaration, initialization and directionChapter 7. Input and Output(4)knowing:Variable-length Argument Lists, error-managing function,line input and output function, and other useful functionsUnderstanding: the function of the standard library, method of I/O redirectiongrasping:getchar, putchar,scanf,printf fuctionsection 1. Standard Input and Outputinformation:basic of Standard Input and Output, method of I/O redirection, library fuctions, getchar and putchar functionsection 2. Formatted Outputprintfinformation:direction and argument of printfsection 3. Varibles-length Argument Listsinformation:Varibles-length Argument Lists, function using themsection 4. Formatted Inputscanfinformation:direction and argument of scanfsection 5. File Accessinformation:methods and functions to access a filesection 6. 7.6 error handlingstderr and exitinformation:function and actualizationsection 7. Lin Input and Outputinformation:function and actualization of fgets and fputssection 8. Miscellaneous Fuctioninformation:String, Type, convertion,ungetc, command, storage functions,etc.3、Basic Demand of the CourseThis course is a strongly practical one, the teaching periods mainly include classroom instruction, experimentation, exercises, examination. In classroom instruction, by double-language teaching mode, introducing the programming idea by recommending syntax of C.Henceforth, do some representational exercises after class and debug the

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论