Course Highlights
  • Write a simple program.
  • Compile, debug, and run a program.
  • Apply concepts related to arrays & pointers, functions & storage classes, logic operators & various question types, lexical elements & data types.
Curriculum

11 Topics
Overview
History of C
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 - fahrenheit
Simple input/output - miles
Fix Dr. P’s mistake (week 1)
Print a poem

17 Topics
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 ➕)
int quiz
Expressions quiz
Fix Dr. P’s mistake (week 2)
Write a program that prints the sine function for an input x between (0 1)
Problems from Chapter 1 of "A Book on C" (Optional Advanced Activity)

17 Topics
Logical operators expressions and short-circuit evaluation
The conditional statement if and if-else
The iterative statement while
while-cnt-char-explained
while-code - example
The for statement and its while analog
for statement code example
oddball operators-conditional and comma
ternary-operator code example
Break and continue and switch (File included ➕)
Logic operators quiz
While loop questions
Switch questions
Cond-comma-ops quiz
Fix D. P's mistake (week 3)
Write a function that prints a table of values for sine and cosine between (0 1)
Problem 23 from Chapter 2 of "A Book on C" (Optional Advanced Activity)

11 Topics
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
Storage class code example
Simple recursion
Recursion- factorial code
Recursion Fibonacci code (File included ➕)

12 Topics
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 ➕)
Compute the average weight for a population of elephant seals read into an array

1 Topic
Final exam

  Write a Review

C for Everyone: Programming Fundamentals

Go to Free Course