Programming Foundations: Real-World Examples

Programming Foundations: Real-World Examples

3h 9mBeginner2015-12-21

Authors

Barron Stone

Barron Stone

Electrical Engineer

Course details

Understanding core programming concepts and why they are used is just as important as knowing how to write code. New programmers need to learn to bridge the gap: to connect the theory to practice. This series of training videos explains basic programming concepts by relating them to real-life objects, actions, and scenarios. Each video will focus on a different analogy, mixing live action with segments that demonstrate the concepts in code. For example, Barron Stone connects functions to recipes, lists to parking spaces, and loops to that perpetual chore: dishwashing. He illustrates most of the examples using Python, but you can follow along in any language you choose. Start watching and learn about...

Reusing functions
Local vs. global variables
Creating and naming custom objects
Class inheritance
Modules and packages
Multidimensional lists and tuples
Queues and stacks
Creating and combining sets
Storing data in dictionaries
If/else and switch statements
For vs. while loops
Error handling
Polling and event-driven programming

Skills covered

Programming FoundationsPythonFoundationsOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - Welcome
  • 02 - What you should know
  • 03 - Using the exercise files
  • 04 - Installing Python 3 for Windows
  • 05 - Installing Python 3 for Mac

1. Functions

  • 06 - Cook with functions
  • 07 - Code reuse
  • 08 - Add new input parameters
  • 09 - Local and global variables

2. Objects

  • 10 - Clothing as objects
  • 11 - Custom objects
  • 12 - Naming objects
  • 13 - Mutable and immutable data

3. Class Inheritance

  • 14 - Inheriting classes
  • 15 - Override inherited methods

4. Modules and Packages

  • 16 - Select tools from modules
  • 17 - Import tools from packages

5. Lists and Tuples

  • 18 - Parking with lists
  • 19 - Multidimensional lists
  • 20 - Tuples

6. Queues and Stacks

  • 21 - Queues
  • 22 - Stacks

7. Sets

  • 23 - Create and combine sets
  • 24 - Sort sets
  • 25 - Add and remove items from sets

8. Dictionaries

  • 26 - Dictionaries
  • 27 - Add items to dictionaries
  • 28 - Reverse lookup issues

9. Conditional Execution

  • 29 - If else-if chains
  • 30 - Switch and case statements

10. Loops

  • 31 - For loops
  • 32 - While loops
  • 33 - Break statements

11. Error Handling

  • 34 - Error catching
  • 35 - Validate external input
  • 36 - Custom errors

12. Polling and Event-Driven Programming

  • 37 - Polling for a condition
  • 38 - Event driven programming

Conclusion

  • 39 - Next steps
80,000 Toman