Design of Computer Programs
Course
Online
Description
-
Type
Course
-
Methodology
Online
-
Start date
Different dates available
Learn how to model problems, and how to optimize performance by using some of the advanced features of Python.
Facilities
Location
Start date
Start date
Reviews
Subjects
- Design
- Programming
- Computer Programs
- Programming Application
- Language Programming
Course programme
Approx. 2 months
Join thousands of students Course SummaryUnderstanding how to approach programming problems and devise a solution is an essential skill for any Python developer. In this course, you’ll learn new concepts, patterns, and methods that will expand your coding abilities from programming expert, Peter Norvig.
Why Take This Course?Move along the path towards becoming an expert programmer! In this class you will practice going from a problem description to a solution, using a series of assignments. During office hours segments, Peter will also share his own personal tips and tricks for approaching programming problems - and his techniques may surprise you!
Prerequisites and RequirementsThis course is intended for experienced Python programmers; students should be familiar with the Python syntax, as well as familiar with the following programming concepts: data structures, basic algorithms, and lambda functions.
This course is intended to challenge you. Be ready to struggle (and learn)!
See the Technology Requirements for using Udacity.
Syllabus Lesson 1: Winning Poker HandsSteps of the design process; Developing for clarity and generality; Arguments for program correctness; Experimentation and simulation.; Design tradeoffs; Simplicity and Clarity. Decomposition and composability.
Lesson 2: Back of the EnvelopeBack of envelope calculations; When to use brute force and when to be clever; The Zebra puzzle; Generator expressions; Permutations and combinations. Cryptarithmetic; Recursive and wishful thinking; Longest palindrome substring algorithm.
Lesson 3: Regular Expressions, other languages and interpretersDefining the language of regular expressions; Interpreting the language; Defining the set of strings matched by a regular expression;
Other languages.
Search: finding your way with a flashlight or boat; pouring water. Analyzing the efficiency of an algorithm; Recurrence relations; Matching data types with algorithms.
Lesson 5: Dealing with uncertainty through probabilityProbability: the game of Pig; Maximizing expected utility to optimize strategy.
Lesson 6: Word GamesManaging complexity; Large sets of words; Appropriate data structures; Word games.
Lesson 7: ConclusionInterviews and Practice Exam
Design of Computer Programs