Introduction to programming (C)

This collection of resources provides an introduction to the concepts, principles, and skills of programming, including compilers, algorithms, and problem solving using a high level programming language such as C.

 Introduction to C

    Dissection of HelloWorld.c (WebEx)

 Data Types and Expressions in C

    Arithmetic Expressions 1 (QuizPACK)

    Arithmetic Expressions 2 (QuizPACK)

    Printing 1 (QuizPACK)

    Printing 2 (QuizPACK)

    Quiz: Simple Arithmetic (cWADEIn)

    Dissection of calculating1.c (WebEx)

    Dissection of calculating2.c (WebEx)

    Dissection of printing.c (WebEx)

    Dissection of printing1.c (WebEx)

    Dissection of printing2.c (WebEx)

    Example: cWADEIn Arithmetic Examples

 Variables

    Variables 1 (QuizPACK)

    Variables 2 (QuizPACK)

    Variables 3 (QuizPACK)

    Quiz: Assignments (cWADEIn)

    Dissection of exchange_kiosk.c (WebEx)

    Dissection of variables.c (WebEx)

    Example: cWADEIn Assignment Examples

 Global Variables and Simple Functions

    Global Variables and Simple Functions 1

    Global Variables and Simple Functions 2

 Simple Programs

    Constants 1 (QuizPACK)

    Constants 2 (QuizPACK)

    Dissection of better_kiosk.c (WebEx)

    Dissection of capital.c (WebEx)

    Dissection of fahr_input.c (WebEx)

 Simple Loops

    Compound Assignments 1 (QuizPACK)

    Incremement / Decrement 1 (QuizPACK)

    While Loop 1 (QuizPACK)

    While Loop 2 (QuizPACK)

    Quiz: Increment/Decrement (cWADEIn)

    Dissection of capitalyears.c (WebEx)

    Dissection of countdown1.c (WebEx)

    Dissection of countdown2.c (WebEx)

    Dissection of factorial.c (WebEx)

    Example: cWADEIn Increment/Decrement Examples

    While Loop Example #1

    While Loop Example #2

    While Loop Example #3

    While Loop Example #4

    While Loop Example #5

    While Loop Example #6

    While Loop Example #7

    While Loop Example #8

    While Loop Example #9

    While Loop Example #10

 Loops and Tables

    Do-while Loop 1 (QuizPACK)

    Do-while Loop 2 (QuizPACK)

    Logical Expressions 1 (QuizPACK)

    Quiz: Relational (cWADEIn)

    Dissection of accumulator.c (WebEx)

    Dissection of apples_kids.c (WebEx)

    Dissection of capitaltable.c (WebEx)

    Dissection of f2c_table.c (WebEx)

    Dissection of nicer_f2c_table.c (WebEx)

    Example: cWADEIn Relational Examples

 Conditionals

    Conditional Operator 1 (QuizPACK)

    If-else 1 (QuizPACK)

    If-else 2 (QuizPACK)

    Dissection of max1.c (WebEx)

    Dissection of max2.c (WebEx)

    Dissection of max3.c (WebEx)

    Dissection of maxloop.c (WebEx)

    Dissection of rate2.c (WebEx)

    If-Else Statement Example #1

    If-Else Statement Example #2

    If-Else Statement Example #3

    If-Else Statement Example #4

    If-Else Statement Example #5

    If-Else Statement Example #6

 Character Processing

    Character Processing 1 (QuizPACK)

    Character Processing 2 (QuizPACK)

    Character Processing 3 (QuizPACK)

    Dissection of better_copycat.c (WebEx)

    Dissection of char_codes.c (WebEx)

    Dissection of copycat.c (WebEx)

    Dissection of count_char.c (WebEx)

    Dissection of line_count.c (WebEx)

 Complex Conditions

    Complex Conditionals 1 (QuizPACK)

    Complex Conditionals 2 (QuizPACK)

    Logical Operators 1(QuizPACK)

    Quiz: cWADEIn Logic operators

    Dissection of encrypt.c (WebEx)

    Dissection of qpa.c (WebEx)

    Dissection of qpa_and.c (WebEx)

    Dissection of qpa_or.c (WebEx)

    Dissection of rate3.c (WebEx)

    Example: cWADEIn Examples for logic operators

    If-Else-If Statement Example #1

    If-Else-If Statement Example #2

    If-Else-If Statement Example #3

    If-Else-If Statement Example #4

 For and Switch

    For 1 (QuizPACK)

    For 2 (QuizPACK)

    Switch 1 (QuizPACK)

    Dissection of abcounting.c (WebEx)

    Dissection of abcounting_case.c (WebEx)

    Dissection of av_line_for.c (WebEx)

    Dissection of av_line_while.c (WebEx)

    Dissection of f2c_for.c (WebEx)

    Dissection of nondigits.c (WebEx)

    Dissection of wc.c (WebEx)

    For Loop Example #1

    For Loop Example #2

    For Loop Example #3

    For Loop Example #4

    For Loop Example #5

    For Loop Example #6

    For Loop Example #7

    For Loop Example #8

    For Loop Example #9

    For Loop Example #10

 Arrays

    Arrays 1 (QuizPACK)

    Arrays 2 (QuizPACK)

    Arrays 3 (QuizPACK)

    Dissection of arrayio.c (WebEx)

    Dissection of arrayiofor.c (WebEx)

    Dissection of arraymax.c (WebEx)

    Dissection of arraymin.c (WebEx)

    Dissection of arraysum.c (WebEx)

    Dissection of babyweighting.c (WebEx)

 Functions

    Functions 1 (QuizPACK)

    Functions 2 (QuizPACK)

    Functions 3 (QuizPACK)

    Dissection of digcount.c (WebEx)

    Dissection of power.c (WebEx)

    Dissection of summarfunc.c (WebEx)

 Character Arrays

    Character Arrays 1 (QuizPACK)

    Character Arrays 2 (QuizPACK)

    Character Arrays 3 (QuizPACK)

    Dissection of insumax.c (WebEx)

    Dissection of palindrome.c (WebEx)

    Dissection of parampass.c (WebEx)

 Nested Loops

    Nested Loops 1 (QuizPACK)

    Dissection of longestline.c (WebEx)

    Dissection of patternsearch.c (WebEx)

    Dissection of starchart.c (WebEx)

    Dissection of str2int.c (WebEx)

 Pointers

    Pointers 1 (QuizPACK)

    Pointers 2 (QuizPACK)

    Pointers 3 (QuizPACK)

    Dissection of goodswap.c (WebEx)

    Dissection of strcomp.c (WebEx)

    Pointer Example #1

    Pointer Example #2

    Pointer Example #3

    Pointer Example #4

    Pointer Example #5

    Pointer Example #6

    Pointer Example #7

    Pointer Example #8

    Pointer Example #9

    Pointer Example #10

 Two-Dimensional Arrays

    Two-Dimensional Arrays 1 (QuizPACK)

    Two-Dimensional Arrays 2 (QuizPACK)

    Two-Dimensional Arrays 3 (QuizPACK)

    Dissection of battleship.c (WebEx)

    Dissection of betterbattle.c (WebEx)

    Dissection of printback.c (WebEx)

    Dissection of yearday.c (WebEx)

 Recursion

    Dissection of recfactorial.c (WebEx)

    Dissection of recpower.c (WebEx)