Python Tutorial Powerpoints - 10 Objectives to master the basics of Python (Craig n' Dave)
12 views 0 purchase
Course
Computing
Institution
GCSE
10 Microsoft Powerpoints that go over the basics of Python, providing sample code, program investigations and python problems to master the basics.
1 - Writing structured programs
2 - Selection
3 - Number data types
4 - String data types
5 - Count-controlled iteration
6 - Condition-controll...
[Header text]
Getting started Craig’n’Dave
Craig’n’Dave
ABOUT
• You will be learning programming independently at your own pace.
• Your teacher will help you when you are stuck, but you are encouraged to use
“three before me.” That means you look at your code first, then ask two friends to help you
before asking your teacher.
• The course has 10 workbooks introducing you to new commands.
• Each workbook has 4 sections:
• T - Try
• I - Investigate
• M - Make
• E - Evaluate.
• Becoming a good programmer takes TIME!
PYTHON T I M E
,[Header text]
Getting started Craig’n’Dave
Craig’n’Dave
TRY
• In the “try” stage, look at the
program and predict what it will do.
• Type the program or copy and paste
it into your development
environment.
• The program definitely works, so if
yours doesn’t check it again
carefully!
Some useful things to try are
listed in the notes section of
the slide.
PYTHON T I M E
,[Header text]
Getting started Craig’n’Dave
Craig’n’Dave
TRY
You probably wrote a program like this in the past:
# Program to convert kilograms to stones
Kilograms = float(input("Enter the number of kilograms: "))
Stones = Kilograms / 6.35029
print(Kilograms, "Kg", "is", Stones, "Stones")
This approach is fine for learning at Key Stage 3 where you want to keep programming simple.
At GCSE and A level we learn that code should always be structured into subroutines to create self-
contained, reusable components and inputs should be prevented from crashing the program!
Simple programs will therefore look more complicated now!
PYTHON T I M E
,[Header text]
Getting started Craig’n’Dave
Craig’n’Dave
INVESTIGATE
• In the “investigate” stage, read how
the program works.
Changes you need to make to
the program are shown in the
notes section of the slide.
Do these before continuing.
PYTHON T I M E
,[Header text]
Getting started Craig’n’Dave
Craig’n’Dave
INVESTIGATE
• In the “investigate” stage, there is a summary of the theory knowledge and subject specific
vocabulary. This may help you answer the questions on the following slides.
PYTHON T I M E
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller blythbug. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $20.53. You're not tied to anything after your purchase.