Computing in Python II: Control Structures

Provided by The Georgia Institute of Technology (GTx)
$99 USD
for a certificate
(or study for free)
Introductory
See Prerequisites

Learn about control structures, one of the most powerful parts of programming. This course covers conditionals, loops, functions, and error handling, specifically in Python but with broader applicability to other languages as well.

Professional CertificateIntroduction to Computing in Python
Course Format:Instructor-Led
Start Date:Dec 19, 2018

What you will learn

  • How control structures can affect how other lines of code run.
  • Conditionals, including if, else-if, and else, for complex reasoning.
  • Loops, including for loops, for-each loops, and while loops for repeated behaviors.
  • Functions, for encapsulating code into reusable chunks.
  • Error handling, for anticipating and resolving expected errors.

Overview

Building on your prior knowledge of variables and operators, this course gets into the meat of programming. Organized into five chapters, this course starts by covering the fundamentals of what control structures are and what they do, then moves on to four common control structures in Python. Conditionals let you modify what your program does based on the values of incoming variables. Loops let you repeat tasks for multiple values or while certain conditions hold true. Functions let you encapsulate complex reasoning into reusable chunks of code. Error handling lets you intelligently recover from anticipated and unanticipated glitches.

By the end of this course, you'll be able to write complex programs in Python that perform useful reasoning. For example, you could write a program that calculates your weight on other planets, calculates the standard deviation of a series of numbers, or checks for the validity of an incoming password.

Structurally, the course is comprised of several parts. Instruction is delivered via a series of short (2-3 minute) videos. In between those videos, you'll complete both multiple choice questions  and coding problems to demonstrate your knowledge of the material that was just covered.

Before you start

CS1301xI or equivalent knowledge is required. Certain problems may benefit from experience with algebra, geometry, pre-calculus, and trigonometry, but you can succeed without these.
  • Instructor-Led: course contains assignments and exams that have specific due dates, and you complete the course within a defined time period.
  • Course ends: Jan 17, 2019

Also in Computer Science at edX

Propelling

Drive your career forward with university-backed credit programs and verified certificates

Convenient

Study and demonstrate knowledge on your schedule

Flexible

Try a course before you pay

Supportive

Learn with university partners and peers from around the world