VOOZH about

URL: https://www.coursera.org/learn/c-for-everyone

⇱ C for Everyone, Part 1: Programming Fundamentals | Coursera


C for Everyone, Part 1: Programming Fundamentals

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

C for Everyone, Part 1: Programming Fundamentals

This course is part of multiple programs.

342,074 already enrolled

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.5

6,785 reviews

Beginner level

Recommended experience

Flexible schedule
1 week at 10 hours a week
Learn at your own pace
93%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.5

6,785 reviews

Beginner level

Recommended experience

Flexible schedule
1 week at 10 hours a week
Learn at your own pace
93%
Most learners liked this course

What you'll learn

  • Write, compile, and debug C programs using correct syntax, data types, control structures, functions, and arrays.

  • Apply core programming concepts to solve computational problems and implement common algorithms.

  • Identify, analyze, and troubleshoot logical errors in C programs, applying debugging strategies to write clear, well-structured code.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

14 assignmentsΒΉ

AI Graded see disclaimer
Taught in English

Build your subject-matter expertise

This course is available as part of
When you enroll in this course, you'll also be asked to select a specific program.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 6 modules in this course

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.

This course is the first part of a two-course sequence. It is a hands-on introduction to programming in C, designed to guide learners step by step from the basics of syntax and data types to more advanced concepts such as control flow, functions, recursion, arrays, and pointers. Through video lessons, quizzes, programming exercises, and real debugging tasks, learners build foundational concepts and good coding practices. By the end, learners will be able to write clear C programs, debug effectively, and build the knowledge base needed for more advanced computer science and software development.

Welcome to C for Everyone, Part 1! This course will guide you step by step from basic syntax and data types to control flow, functions, recursion, arrays, and pointers, giving you the skills to write clear, well-structured C programs. In this module, you’ll learn the basics of the C language, explore its history, and write your first programs. You’ll practice compiling, debugging, and formatting code, then complete a first set of programming activities.

What's included

9 videos1 reading2 assignments

9 videosβ€’Total 68 minutes
  • πŸŽ₯ Overviewβ€’5 minutes
  • πŸŽ₯ History of Cβ€’2 minutes
  • πŸŽ₯ Compiling, debugging, and running a program, part 1β€’8 minutes
  • πŸŽ₯ Compiling, debugging, and running a program, part 2 (File included in Downloads)β€’13 minutes
  • πŸŽ₯ First programβ€’7 minutes
  • πŸŽ₯ Example: Circle codeβ€’7 minutes
  • πŸŽ₯ Example: Marathonβ€’9 minutes
  • πŸŽ₯ Simple input/output: Fahrenheitβ€’7 minutes
  • πŸŽ₯ Simple input/output: Milesβ€’10 minutes
1 readingβ€’Total 10 minutes
  • πŸ” Accessing supplemental course materials β€’10 minutes
2 assignmentsβ€’Total 60 minutes
  • ❓ Fix Dr. P’s mistake (Module 1)β€’30 minutes
  • ❓ Print a poemβ€’30 minutes

In this module, you’ll dive deeper into the structure of C programs by exploring lexical elements, data types, and expressions. You’ll learn how to use operators, declarations, and fundamental types like int, char, and float, and understand how expressions are evaluated. You’ll build confidence in writing clear, well-structured C programs and apply these skills in programming tasks.

What's included

12 videos1 reading4 assignments

12 videosβ€’Total 102 minutes
  • πŸŽ₯ Character sets and tokensβ€’6 minutes
  • πŸŽ₯ Commentsβ€’5 minutes
  • πŸŽ₯ Keywordsβ€’8 minutes
  • πŸŽ₯ Identifiersβ€’11 minutes
  • πŸŽ₯ Operatorsβ€’9 minutes
  • πŸŽ₯ Expressions and precedence (File included in Downloads)β€’8 minutes
  • πŸŽ₯ Expression and evaluationβ€’9 minutes
  • πŸŽ₯ Declarationsβ€’6 minutes
  • πŸŽ₯ Fundamental types and sizeofβ€’10 minutes
  • πŸŽ₯ The char type (File included in Downloads)β€’8 minutes
  • πŸŽ₯ The int typeβ€’10 minutes
  • πŸŽ₯ The integer and floating point types (Files included in Downloads)β€’11 minutes
1 readingβ€’Total 10 minutes
  • πŸ“– Problems from Chapter 1 of "A Book on C"β€’10 minutes
4 assignmentsβ€’Total 60 minutes
  • ❓ Fix Dr. P’s mistake (Module 2)β€’30 minutes
  • ✍️ int quizβ€’0 minutes
  • ✍️ Expressions quizβ€’0 minutes
  • ❓Write a program that prints the sine function for an input x between (0, 1)β€’30 minutes

In this module, you’ll learn how C programs make decisions and repeat actions through conditional and iterative statements. You’ll explore if, while, and for statements, understand how logical and relational operators control program flow, and discover why goto should be avoided. You’ll also write simple functions, applying these concepts in hands-on coding activities.

What's included

10 videos1 reading6 assignments

10 videosβ€’Total 62 minutes
  • πŸŽ₯ Logical operators, expressions, and short-circuit evaluationβ€’7 minutes
  • πŸŽ₯ The conditional statement if and if-elseβ€’7 minutes
  • πŸŽ₯ The iterative statement whileβ€’7 minutes
  • πŸŽ₯ While-cnt-char-explainedβ€’6 minutes
  • πŸŽ₯ While-code exampleβ€’5 minutes
  • πŸŽ₯ The for statement and its while analogβ€’8 minutes
  • πŸŽ₯ For statement code exampleβ€’7 minutes
  • πŸŽ₯ Oddball operators-conditional and commaβ€’7 minutes
  • πŸŽ₯ Ternary-operator code exampleβ€’4 minutes
  • πŸŽ₯ Break and continue and switch (File included in Downloads)β€’4 minutes
1 readingβ€’Total 10 minutes
  • πŸ“– Problem 23 from Chapter 2 of "A Book on C"β€’10 minutes
6 assignmentsβ€’Total 60 minutes
  • ✍️ Logic operators quizβ€’0 minutes
  • ✍️ While loop questionsβ€’0 minutes
  • ✍️ Switch questionsβ€’0 minutes
  • ❓ Fix D. P's mistake (week 3)β€’30 minutes
  • ✍️ Cond-comma-ops quizβ€’0 minutes
  • ❓ Write a function that prints a table of values for sine and cosine between (0, 1)β€’30 minutes

In this module, you’ll expand your understanding of functions by exploring prototypes, return statements, and variable scope. You’ll also learn how recursion works through classic examples like factorials and Fibonacci sequences. Finally, you’ll be introduced to arrays and pointers, two of the most powerful features in C.

What's included

11 videos

11 videosβ€’Total 66 minutes
  • πŸŽ₯ Function definitionβ€’6 minutes
  • πŸŽ₯ Function code exampleβ€’5 minutes
  • πŸŽ₯ Return statementβ€’4 minutes
  • πŸŽ₯ Function prototypeβ€’4 minutes
  • πŸŽ₯ Function Prototype: code exampleβ€’5 minutes
  • πŸŽ₯ Function variables with call-by-value explainedβ€’8 minutes
  • πŸŽ₯ Function definitions and scope rulesβ€’6 minutes
  • πŸŽ₯ Storage class code exampleβ€’7 minutes
  • πŸŽ₯ Simple recursionβ€’5 minutes
  • πŸŽ₯ Recursion- factorial codeβ€’6 minutes
  • πŸŽ₯ Recursion Fibonacci code (File included in Downloads)β€’9 minutes

In this module, you’ll deepen your understanding of how data is stored and accessed in C. You’ll learn to manipulate arrays, simulate call-by-reference, and apply sorting algorithms like bubble sort and merge sort. By the end, you’ll be able to write efficient programs that handle data collections and memory references.

What's included

11 videos1 assignment

11 videosβ€’Total 85 minutes
  • πŸŽ₯ Pointers and simple arraysβ€’7 minutes
  • πŸŽ₯ Initialize arraysβ€’8 minutes
  • πŸŽ₯ Array-grade-code exampleβ€’5 minutes
  • πŸŽ₯ What is a pointerβ€’10 minutes
  • πŸŽ₯ Pointer code exampleβ€’10 minutes
  • πŸŽ₯ Call-by-reference simulatedβ€’7 minutes
  • πŸŽ₯ Array as a parameterβ€’5 minutes
  • πŸŽ₯ Array-bubble-sort codeβ€’14 minutes
  • πŸŽ₯ Merge sort overviewβ€’7 minutes
  • πŸŽ₯ Merge code: Example 1β€’6 minutes
  • πŸŽ₯ Merge code: Example 2 (File included in Downloads)β€’8 minutes
1 assignmentβ€’Total 30 minutes
  • ❓ Compute the average weight for a population of elephant seals read into an arrayβ€’30 minutes

Congratulation! This is the end of the first part of the C for Everyone sequence. You will have an opportunity to assess your learning.

What's included

1 assignment

1 assignmentβ€’Total 90 minutes
  • ✍️ Final examβ€’90 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Instructor ratings
4.4 (2,323 ratings)
University of California, Santa Cruz
8 Coursesβ€’580,510 learners

Explore more from Software Development

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    68.16%

  • 4 stars

    21.13%

  • 3 stars

    5.42%

  • 2 stars

    1.85%

  • 1 star

    3.41%

Showing 3 of 6785

MS
Β·

Reviewed on Mar 24, 2022

​The course its a great opportunity to start into C programming but I hope the tutorials at week 4, 5 in particular like pointers, arrays being more clearly and competative! beside assignment!

SR
Β·

Reviewed on May 27, 2020

I have learnt many topics in this course. This course had made me taste the flavour of C language and programming. The lectures which were given by Pohl sir were outstanding.

SS
Β·

Reviewed on Oct 4, 2020

Such cool course and especially professor's explanations!!! Thank you so much, University of California, Santa Cruz. I really appreciate your work on this course; it helped me so much

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,

ΒΉ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.