Practical Programming in C

View Course Materials

Buying via our links supports this free directory · Affiliate disclosure.
Course facts
  • Payment: Free, no certificate
  • Credits: Non Credit
  • Learning style: Self-paced, start anytime
  • Resources: Lecture Notes; Programming Assignments with Examples; Projects
MIT OpenCourseWare details
  • As taught in: January IAP 2010
  • Department: Electrical Engineering and Computer Science
Created byMIT
Available onMIT OpenCourseWareMIT OpenCourseWare

Course Details
Learning Style

Start Anytime

Level

All Levels

Study Mode

100% Online

Outcomes
Academic Credits

Non Credit

Price & Terms
Pricing Model

Free Content (No Certificate)

Technical
Content Medium

Text Based

Specification
Access

Free Access

Academic Level

Undergraduate

SKU: practical-programming-c Category: Brand:

Lecture notes, assignments and projects on the C language: pointers, data structures, memory allocation, multithreading and sockets.

At a glance
LevelAll Levels
AccessFree access
FormatText Based
As taught inJanuary IAP 2010
DepartmentElectrical Engineering and Computer Science
Add your review
Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare

C remains the workhorse of the UNIX operating system and the common language of embedded processors and micro-controllers. This fast-paced course begins with basic syntax and practical programming techniques: writing, compiling and debugging programs, control flow and pointers. It then moves to advanced concepts, including dynamic memory allocation, concurrency and synchronization, UNIX signals and process control, and library development and usage.

What You Will Achieve

  • Write, compile and debug C programs
  • Use pointers, arrays and user-defined datatypes to build data structures
  • Manage dynamic memory allocation and check it with valgrind
  • Write multithreaded programs and use external libraries


Program Overview

C Fundamentals

Syntax and everyday techniques.

  • Variables, datatypes and operators
  • Control flow and functions
  • Input and output
  • Pointers, arrays and strings

Data Structures

Building larger programs from the basics.

  • Structs, unions and bitfields
  • Linked lists and binary trees
  • Stacks, queues and hash tables
  • B-trees and priority queues

Systems Programming

The advanced concepts of the last week.

  • C standard library
  • Dynamic memory allocation and garbage collection
  • Multithreading and concurrency
  • Sockets and inter process communication

Course Completion


Job Outlook

C skills apply in software and embedded systems development, including work on operating systems and micro-controllers.


Before you start: This course assumes a basic understanding of the principles of programming. Prior knowledge of C is neither expected nor desired. The primary prerequisite of this course is 6.00 Introduction to Computer Science and Programming, 1.00 Introduction to Computers and Engineering Problem Solving, 6.01 Introduction to Electrical Engineering and Computer Science I, or another introductory programming course at MIT. If you are unsure of the adequacy of your programming background, please speak to a member of the course staff as soon as possible. As the duration of this course is only three weeks, the material will be covered at a relatively fast pace, and catching up will be difficult.

Our take

Good for: People who can already program and want a quick, hands-on introduction to C, with many exercises and solutions.

Keep in mind: It was a three-week course, so it moves quickly, and it used a campus UNIX environment that the site does not provide. The final project was done in teams of two.

Bottom line: A fast, practical introduction to C that goes well past the syntax into memory, threads and sockets.

Frequently Asked Questions

Which book does the course recommend?

No text is required, but The C Programming Language by Kernighan and Ritchie is highly recommended, for its concise coverage and exercises.

What projects are included?

The labs include Game of Life and data compression. A final project uses one or more publicly available libraries to accomplish a non-trivial task, in teams of two.

Are there solutions to the assignments?

The assignments table has a column for solutions, with files alongside the problems on topics such as linked lists, hash tables and B-trees.

User Reviews

0.0 out of 5
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0
★★★★★
0

No reviews yet. Be the first to review this course.

There are no reviews yet.

Write your review

Reviews can only be posted by registered learners. Log in, then you will return here to post.

×

    Report this page
    LiveTalent
    Logo
    Compare items
    • Total (0)
    Compare
    0