|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/computer-programming-and-programing-methodology-c-basic/
课程评论:没有评论
Coursera 课程:CPPM: Computer Programming Programming Methodology(C Basic) 课程内容摘要
本课程为初学者提供计算机编程的基础知识,重点在于 C 语言。
**核心概念与编程流程:**
* **编程语言基础:** 介绍源代码、目标代码和可执行代码的区别,强调算法和流程图在问题解决中的作用,以及结构化编程语言如何促进代码的组织性和效率。
* **开发工具:** 讲解编辑器、解释器和编译器在代码转换为机器语言过程中的作用。
**C 语言基本语法与数据类型:**
* **C 程序结构:** 介绍 C 程序的构成,包括字符集、变量、常量。
* **数据类型:** 学习整数(int)、浮点数(float)、字符(char)、字符串(string)和 void 等数据类型,以及有符号(signed)和无符号(unsigned)变量的区别。
* **标识符、字面量与关键字:** 学习 C 语言中用于命名和表示值的规则。
**输入输出与预处理:**
* **输入输出函数:** 掌握 C 语言提供的各种输入函数(如 `scanf()`, `getc()`, `getch()`, `gets()`, `getchar()`)和输出函数(如 `printf()`, `putc()`, `puts()`, `putchar()`)。
* **头文件与预处理器:** 学习 `
Introduction to Programming ConceptsThis course begins with an exploration of key programming language concepts, focusing on the distinction between source code, object code, and executable code. Students will understand the importance of algorithms and flowcharts in problem-solving and how structured programming languages promote the creation of well-organized and efficient code. This foundation sets the stage for learning how to develop and execute programs in C.Editors, Interpreters, and CompilersA crucial aspect of programming is the process by which code is translated into machine language. In this section, students will learn about the role of editors, interpreters, and compilers in this transformation. They will also be introduced to the basic structure of a C program, including its character set, variables, constants, and the use of different data types such as integers, floats, characters, strings, and void. The distinction between signed and unsigned variables will also be covered, as well as identifiers, literals, and keywords.Input/Output Operations in CUnderstanding how to interact with a program through input and output operations is essential for programming. In this section, students will explore the different input and output functions provided in C, such as scanf(), getc(), getch(), gets(), and getchar() for input, and printf(), putc(), puts(), and putchar() for output. The course will also cover the usage of header files like and , and the importance of pre-compiler directives like #include and #define. Students will learn about type specifiers for formatting output, such as %d, %f, %c, and %s.Additionally, the course covers the usage of built-in string functions provided by the library. These functions, such as strlen(), strcmp(), strcpy(), strcat(), and strrev(), allow for efficient manipulation and handling of strings, which is essential for tasks involving text processing and management. Similarly, students will become familiar with math functions from the library, including abs(), sqrt(), pow(), and log(). These functions simplify complex mathematical operations, helping students perform tasks like finding square roots, raising numbers to powers, and calculating logarithms.Operators in C ProgrammingOperators are fundamental to performing operations on variables and values. This section delves into the different types of operators available in C, including arithmetic operators (e.g., +, -, *, /, %), logical operators (e.g., &&, ,!), relational operators (e.g., >,