Duke University - Writing, Running, and Fixing Code in C
- Offered byCoursera
Writing, Running, and Fixing Code in C at Coursera Overview
Duration | 17 hours |
Start from | Start Now |
Total fee | Free |
Mode of learning | Online |
Difficulty level | Beginner |
Official Website | Explore Free Course |
Credential | Certificate |
Writing, Running, and Fixing Code in C at Coursera Highlights
- 33% got a tangible career benefit from this course.
- 33% got a pay increase or promotion.
- Earn a certificate from the Duke University upon completion of course.
Writing, Running, and Fixing Code in C at Coursera Course details
- 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.
Writing, Running, and Fixing Code in C at Coursera Curriculum
Writing Code
Introduction to Writing Code
Intersection of Two Rectangles
Translating the Intersection Algorithm to Code
Introduction to the Programming Environment
Editing Files with Emacs
More about Git
GitHub
Planning
Revisiting Step 1
Revisiting Step 2
Step 3: Generalizing Values
Step 3: Repetitions
Step 3: Conditional Behavior
Revisiting Step 4
Translation to Code
Translating Algorithm Components
Completed Rectangle Intersection Code
Top-down Design and Composability
Stars Example
Introduction to the Programming Environment
Using the Practice Programming Environment
Solutions to a Few Common Problems
UNIX basics
More UNIX Commands
Emacs
Assignment 01_apple
Git
[Optional Reference] Help me fix...
How Assignments Work in This Course
Assignments 02_code1 and 03_code2
Next Steps
Steps 1?4 Review
Step 5 Concepts
Compiling and Running
Now We Need to Compile
"Hello World"
Planning isPrime
Generalizing isPrime
Translating isPrime to Code
Comparing Output with diff
Build Tool: make
Compiling with a Makefile
Compiling Overview
Compilation Process
Preprocessing
Assignment 04_compile
Getting Help: man Pages
Assignment 05_squares
More about Macros and Header Files
The Actual Compiler
Compiler Errors
Assembling
Linking
Make
Fancier make Options
Running Your Program
valgrind
Compiler Options
Assignments 06_rect and 07_retirement
Compiling
Compilation Process
Make and Valgrind
Prototype: Assignment 06 Practice Quiz
Testing and debugging
Testing Means Finding Bugs
Test-driven Development
Code Review
Finding Problems with Valgrind
Gathering Information with gdb
Advice from a Duke Software Engineering Student: Don't Give Up!
Black Box Testing
Practical Tips for Designing Test Cases
White Box Testing
Generating Test Cases
Asserts
Code Review
Assignments 08_testing and 09_testing
Step 7: Debugging
The Scientific Method
Accept or Reject Your Hypothesis?
Intro to gdb
Getting Started with gdb
Investigating the State of Your Program
Controlling Execution
Watchpoints
Signals
Assignment 10_gdb
Testing
Debugging
gdb
Project
Introduction to the Poker Project
Poker Project Roadmap
Assignment c2prj1_cards
Rules of Poker
Assignment c2prj2_testing