Introduction to Programming in C++

Go to class
Write Review

Free Online Course: Introduction to Programming in C++ provided by edX is a comprehensive online course, which lasts for 8 weeks long, 6-8 hours a week. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from edX. Introduction to Programming in C++ is taught by Aspen Olmsted.

Overview
  • This is the 1st course in the intermediate, undergraduate-level offering that makes up the larger Programming and Data Structures MicroBachelors program. We recommend taking them in order, unless you have a background in these areas already and feel comfortable skipping ahead.

    1. Introduction to Programming in C++
    2. Advanced Programming in C++
    3. Introduction to Data Structures
    4. Advanced Data Structures

    These topics build upon the learnings that are taught in the introductory-level Computer Science Fundamentals MicroBachelors program, offered by the same instructor.

    This is a self-paced course that provides an introduction to the C++ programming language. Among the topics covered is the development of command-line programs that utilize different data types, expressions, decision branching, and iteration to solve problems. Students learn to program in C++ through the lectures and the labs. C++ programming material is presented over eight weeks of interactive lectures with weekly quizzes to assess your understanding of the material Students will experience hands-on practice writing C++ programs through ten lab challenges.

    Students will experience the development cycle by compiling their C++ programs from human-readable source code to machine-readable object code. They will then link their objects to create an executable that can be run interactively.

Syllabus
  • Wk 1 - Hello World

    • First C++ Program

    Wk 2 - Data Types and Expressions

    • Type Casting
    • ASCII
    • Literals
    • The String Class
    • Boolean Expression

    Wk 3 - Data Type Labs

    Wk 4 - Branching Statements

    • Absolute Value
    • One-Way if Statements
    • Switch Statements

    Wk 5 - Branching Labs

    Wk 6 - Iterative Statements & Functions

    • Syntax
    • pigeonhole principle
    • function definition
    • domain, target, range
    • one-to-one and onto functions
    • composition of functions
    • inverse function

    Wk 7 - Iteration Labs

    Wk 8 - Final Exam