|
所在平台: Coursera |
课程主页: https://www.coursera.org/learn/writing-running-fixing-code
课程评论:没有评论
课程名称:C语言中的代码编写、运行及修复 课程概述:本课程在编程基础课程的基础上进行深入,将教授如何通过先规划程序的功能来编写代码。这一策略对于初学者和专业程序员都至关重要。您将学习如何编译和运行程序,以及如何测试和调试代码。本课程基于您在先前课程中学到的七个步骤,提供了一个系统地测试和修复问题的框架,从而提高您发现和解决问题的效率。 课程大纲: 1. **编写代码** - 描述:在本模块中,您将学习如何编写代码并在实践编程环境中完成您的第一个作业。您将回顾在之前课程中练习的七个步骤中的前四个,并学习第五步:将算法转化为代码。专家程序员在编写代码之前大多数时间都在进行规划,因此您也将学习这一重要过程。 2. **编译和运行** - 描述:掌握了规划算法和将其转化为代码后,接下来您需要学习如何编译和运行代码!本模块将教您编译器的工作原理,它将您的代码转化为机器可执行的指令,然后您可以运行。同时,您还将了解编译器的不同选项及运行程序的不同方式,以获取调试信息。 3. **测试和调试** - 描述:在良好编程中至关重要的两项技能是测试(发现代码中的问题)和调试(修复问题)。在此模块中,您将学习系统性识别代码问题的方法,以及如何运用科学方法修复发现的程序错误。 4. **项目** - 描述:在这个模块中,您将开始进行一个项目,并在剩余的多门课程中完成。在每门课程结束时,您将编写程序的一部分,该程序将使用蒙特卡罗模拟计算不同扑克手牌获胜的几率,这是一种通过生成随机数据来计算复杂概率的方法。
Name:Writing Code
Description:In this module, you will learn to write code and do your first assignment in the Practice Programming Environment. You have practiced the first four steps of the Seven Steps in the previous course, and you will review them here before learning Step 5: Translating Your Algorithm to Code. Expert programmers spend most of their time planning before they begin writing code, and you will learn to do the same!
Name:Compiling and Running
Description:Now that you know how to plan an algorithm and translate it to code, you need to learn how to compile and run it! You will learn about the compiler, which takes the code you wrote and translates it into instructions a machine can execute, which you can then run. You will also learn about different options you can give the compiler, as well as different ways to run your program that give you debugging information.
Name:Testing and debugging
Description:Two skills that are crucial to good programming are testing—finding problems with your code, and debugging—fixing them. In this module you will learn systematic ways to identify problems in your code, as well as how to apply the scientific method to fix your program when you do find a bug.
Name:Project
Description:In this module you will begin the project you will complete over the course of the rest of the specialization. At the end of each course, you will write a piece of a program that will calculate the odds of different poker hands winning with a Monte Carlo simulation—a way to calculate complicated probabilities by generating random data.
Building on the course Programming Fundamentals, this course will teach you how to write code by first planning what your program should do—an important approach for novice and professional programmers. You will learn how to compile and run your program, and then how to test and debug it. This course builds on the Seven Steps you have already learned and provides a framework for systematically testing for problems and fixing them, so you can find and fix problems efficiently.