- Level Foundation
- المدة 15 ساعات hours
- الطبع بواسطة University of California, Santa Cruz
-
Offered by
عن
This course is for everyone. In the new world we live in, coding is a universally valuable skill, whether you're a scientist, artist, or a humanist. Algorithms are everywhere, and we all have to understand how they work. The C language is particularly well suited as an introduction to coding: It's a tried-and-true language, and it allows you to understand computing processes at a deep level. No prior knowledge of coding is needed for this course. We'll start at the beginning. The time estimated time commitment for this course is five hours a week for five weeks.الوحدات
Getting started
2
Videos
- Overview
- History of C
First program
5
Videos
- Compiling, debugging, and running a program, part 1
- Compiling, debugging, and running a program part 2 (File included ➕)
- First Program
- Example - Circle code
- Example - Marathon
Simple input/output
1
Peer Review
- Fix Dr. P’s mistake (week 1)
2
Videos
- Simple input/output - fahrenheit
- Simple input/output - miles
Print a poem
1
Peer Review
- Print a poem
Character sets and tokens
2
Peer Review
- Fix Dr. P’s mistake (week 2)
- Write a program that prints the sine function for an input x between (0, 1)
1
Discussions
- Problems from Chapter 1 of "A Book on C" (Optional Advanced Activity)
12
Videos
- Character sets and tokens
- Comments
- Keywords
- Identifiers
- Operators
- Expressions and precedence (File included ➕)
- Expression and evaluation
- Declarations
- Fundamental types and sizeof
- The char type (File included ➕)
- The int type
- The integer and floating point types (Files included ➕)
2
Quiz
- int quiz
- Expressions quiz
Relational operators and expressions
1
Videos
- Logical operators, expressions, and short-circuit evaluation
1
Quiz
- Logic operators quiz
The compound statement
4
Videos
- The conditional statement if and if-else
- The iterative statement while
- while-cnt-char-explained
- while-code - example
1
Quiz
- While loop questions
While loop questions
4
Videos
- The for statement and its while analog
- for statement code example
- oddball operators-conditional and comma
- ternary-operator code example
Why the goto should be avoided
2
Peer Review
- Fix D. P's mistake (week 3)
- Write a function that prints a table of values for sine and cosine between (0, 1)
1
Discussions
- Problem 23 from Chapter 2 of "A Book on C" (Optional Advanced Activity)
1
Videos
- Break and continue and switch (File included ➕)
2
Quiz
- Switch questions
- Cond-comma-ops quiz
Function
7
Videos
- Function definition
- Function code example
- Return statement
- Function prototype
- Function Prototype - code example
- Function variables—with call-by-value explained
- Function definitions and scope rules
Use of storage classes
4
Videos
- Storage class code example
- Simple recursion
- Recursion- factorial code
- Recursion Fibonacci code (File included ➕)
Arrays and pointers
1
Peer Review
- Compute the average weight for a population of elephant seals read into an array
11
Videos
- Pointers and simple arrays
- initialize arrays
- array-grade-code example
- What is a pointer
- Pointer code example
- Call-by-reference simulated
- array as a parameter
- array-bubble-sort code
- merge sort overview
- merge code -example 1
- merge code example 2 (File included ➕)
Final Exam
1
Quiz
- Final exam
Auto Summary
"C for Everyone: Programming Fundamentals" is an engaging and accessible course designed for individuals from all backgrounds, whether you're a scientist, artist, or humanist. This course delves into the basics of coding using the C programming language, renowned for its reliability and ability to offer deep insights into computing processes. No prior coding experience is required, making it perfect for beginners. Over five weeks, with an estimated commitment of five hours per week, learners will embark on a comprehensive journey through the fundamentals of coding and algorithm understanding. Offered by Coursera, this foundational-level course ensures that participants gain a robust grasp of essential programming concepts. Various subscription options, including Starter, Professional, and Paid, are available to suit different needs and preferences. Join this course to acquire a universally valuable skill and enhance your understanding of the digital world.

Ira Pohl