PYTHON POWER POINT SERIES
Bringing Learning to life
*Students are producing wonderful 2d games by Lesson 4!
View the whole series with downloadable power points, associated .py files and much much more from www.teachyourselfpython.com – now live.
Each power point lesson in this series comes with:
-between 20-50 slides per lesson including information, video demonstrations, coded examples, programming challenges (with solutions), quizzes (Q&A) with provided answers, inspirational facts and trivia, embedded computing theory, suggested videos, information on ‘big ideas’ for discussions, and suggested HW and research projects. Each lesson also comes with a folder with all the relevant code snippets/programs.
LESSON 1: INTRODUCTION TO PYTHON, VARIABLES, DNA CODING, AI
Introduction to Python, how to download (Python 3), Create your own Chat Bot. Introducing variables, sequence, programs, Alan Turing and Artificial Intelligence. Big ideas to discuss: DNA Coding and Intelligent design. Create apps which include the use of random number and item generation. Suggested videos on ‘Introducing Python’ and History of Computing. Learn about Mathematical and comparison operators and the importance of indentation in Python. Includes a suggested videos, ‘Big ideas’ discussion, and HW/research projects section.
LESSON 2. CONDITIONAL LOGIC, IF ELSE STATEMENTS, SELECTION, DEBUGGING
Introduction to, with examples, conditional logic and the use of IF and ELSE statements. Look at SELECTION in game design. Learn about Debugging and Error Checking. Analyse the use of a flow chart and how to design before implementation. Discuss: Video gaming addiction! Create a password checker and a username and password (login) app. Learn about the use of ELIF. Learn about Boolean variables and their use. Learn about Multiple comparisons using and/or. Includes a suggested videos, ‘Big ideas’ discussion, and HW/research projects section. Discussion on Artificial Intelligence and Robotics.
LESSON 3A. INTRODUCTION TO ITERATION: LOOPS, TRACE TABLES, WHILE LOOPS
Introduction to Iteration and loops. The theory behind loops and how they work. Create and adapt programs using loops. Intro to the random number generator. Learn about trace tabling (white box testing). Example of a trace table and dry run. Wonders of the Fibonacci sequence. Examples of Iteration in game design. Focus on While loops. Challenges, tasks (with solutions), suggested videos, big ideas discussion and research and HW included. Introducing Ada Lovelace and Charles Babbage.
LESSON 3B. FOCUS: FOR LOOPS, NESTED LOOPS, TASKS AND CHALLENGES.
Introduction to, with examples, For loops. Challenges and tasks included with solutions (predict the output). Compare ‘while’ and ‘for’ loops. Use the break statement and explore how it works in different scenarios. Learn about Nested Loops. Learn about the need for initialisation (set starting value). Create your own for loops. Create the beginnings of an arithmetic quiz using a random function and for loops. Big ideas discussion: Is the universe digital. A program? Introducing Gottfried Leibniz and Konrad Zuse. Includes a suggested videos, ‘Big ideas’ discussion, and HW/research projects section.
LESSON 3C: FOCUS: MASTERING LOOPS – A SERIES OF CHALLENGES. TESTING.
As Loops are so integral to programming, you really do need to get good at coding them! Practice makes perfect. Attempt to solve a series of challenges involving for loops and nested loops. This lesson also covers a number of other things including: The Print () command; The end statement and how you can get it to work for you; Learn about how to test a program – valid, invalid and boundary data. A look at the many hundred programming languages. Includes suggested videos, research and HW (5 programming languages – comparative analysis)
LESSON 4: INTRODUCING FUNCTIONS AND MODULAR DESIGN
Learn about Functions in Python. Advantages and disadvantages of functions. Introduction to Modular design. Local and Global Variables and their use. Passing parameters. What are arguments? Big questions: Evolution vs Intelligent design in light of functions (and modular design). A closer look at Robotics and advances in this field. Challenges and tasks including with solutions. Suggested research/HW and YouTube video recommendations. A note on Python’s built in functions.
LESSON 5: INTRODUCING LISTS AND LIST OPERATIONS
An introduction to Lists (and a brief mention of tuples, sets, dictionaries)/ The amazing brain. How does the brain access stored information? Are you a memory genius (paired activity with suggested discussion)? Introduction to Lists in Python. The anatomy of lists. List operations with examples, video demonstrations and challenges. Create a contacts list app (add, delete contacts). Create a times table program using a list. A note on the difference between Arrays and Lists. Looping through lists including the use of enumerate. A note on the mutability of lists.
LESSON 5B: LISTS PART 2: LISTS AS STACKS AND QUEUES, LIST COMPHRENSION, ASCII
Part 2 on Lists. Looking at what Stacks and Queues are – and seeing how Python uses Lists as Stacks and Queues. Practical Examples and tasks provided. A series of examples and an explanation of the use of List Comprehension. Comparison of the use FOR Loops to solve a problem vs List Comprehension. Introducing ASCII and a mention of encoding standards such as UTF-8. A series of challenges, suggested additional research and extensions as well as suggested homework activities have also been provided.
The more advanced lessons go on to object orientated programming, classes, and more.
More … (see contents on each power point for the whole series overview)