Learning To Program 2 will introduce you to the fun and friendly Python programming language. In this course we'll focus on using and creating abstractions by trying different Python data structures, like the list, set, dictionary, and tuple. We'll also spend time looking at the fundamental concepts of object oriented programming, and how to apply those concepts when building a program.
Scott has over 15 years of experience in commercial software
development and is a frequent speaker at national conferences,
and local user groups. Scott is a Microsoft MVP and has authored
books on several Microsoft technologies, including ASP.NET, C#,
and Windows Workflow.
Learning To Program Part 2- Introduction to Python Hi, this is Scott Allen, and this is my second course on learning to program. This time we'll be looking at building and using abstractions. One of the keys to building software is managing the complexity of software, because some software becomes enormously complex. Once you get past 20 or 30 lines of code, it becomes difficult to keep everything that is happening in the code, inside your head. So, to manage the complexity, we build abstractions. We break large pieces of code into small pieces of code and large applications into small parts, and then these small parts and pieces hide the complex details and generalize what's happening behind the scenes. That allows our brains to keep track of what's happening. And we can build bigger pieces of software by combining the small pieces together. Programming is a lot like building something with Lego bricks. And in this course, I want to show you how to think about and build and use those Lego bricks.
Learning To Program Part 2- Functions, Lists, and Strings Hi, this is Scott Allen, and in this module we're going to build another game in Python. This game will be a game where the user has to figure out a secret word that our program has selected, and they get to figure out the word by guessing letters. If they guess the right letter, more of the secret word is revealed, and they continue playing. If the user guesses a letter that is not in the secret word, they get a strike. If they have too many strikes, they lose. To write this program, we have to learn how to create functions in Python, as well as use strings and lists. Functions, strings, and lists, they're all abstractions that we can rely on to make our programs a little bit simpler. So let's get started.
Learning To Program Part 2- Data Structures Hi, this is Scott Allen and in this module we'll build a shopping cart. We'll let the user type in the items they want to buy and we'll maintain a data structure that keeps track of all the items the user wants to purchase. Along the way we're going to learn about some of the data structures we can use in Python, including lists which we've looked at before but we'll see some new capabilities. And we'll also see tuples, sets and dictionaries. I'm sure all of this sounds very exciting, so we should get started right away.
Learning To Program Part2 Concepts Of Object Oriented Programming Hi. This is Scott Allen, and in this module we're going to take a step back from writing code in Python, or at least we won't write as much code. Instead we're going to focus on some of the concepts of Object Oriented Programming. Objected oriented programming is a style of programming supported by many of today's mainstream languages. Including Python, but also C Sharp, C ++, Java, there's many others. In this module I want to give you some of the concepts around Object Oriented Programming or OOP as we call it. And we'll cover a few of the basics in this module and apply those concepts in the next module.
Learning To Program Part 2- Object Oriented Programming Applied Hi this is Scott Allen, and in this module we'll take a look at applying some of the object oriented concepts we learned about in the last module. We'll apply those to our shopping cart program that we built before. We'll build some classes, use those classes to create some objects, and talk about the design of a program using object oriented techniques. We're also going to get a quick look at building a Python module, which allows us to use multiple source code files. That's going to be important if you want to build bigger and bigger applications with Python.