Today’s lesson – Python next steps

Slides:



Advertisements
Similar presentations
COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Advertisements

Write a program step by step. Step 1: Problem definition. Given the coordinate of two points in 2-D space, compute and print their straight distance.
Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
Programming Languages. Objectives Understand how programming has evolved Be able to write simple programs using a text based programming language.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
PROGRAMMING In. STARTER Using the internet…Find …  what does “case sensitive” mean  what a programming language is..  3 benefits of Python.
Chapter 1: Python Basics CSCI-UA 0002 – Introduction to Computer Programming Mr. Joel Kemp.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Computer Programming for Engineers Introduction to Programming in C Language on Visual C Platform Intro. Comp. Prog. C-Language1.
Lesson 6. GCSE Computing – programming languages Candidates should be able to:  describe common tools and facilities available in an integrated development.
Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.
Python From the book “Think Python”
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
Type accurately challenge! This is a starter activity and should take 2 minutes [ slide 1 ] 1.Can you type out the code in Code Box 2.1 with no errors.
Lesson 4 Using Variables in Python – Creating a Simple ChatBot Program.
Chapter 3 The Visual Basic Editor. Important Features of the VBE Alt-F11 will open the Visual Basic Editor. The Code window is to the right, Project Explorer.
Fill the screen challenge! This is a starter activity and should take 3 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.In interactive mode,
PROGRAMMING In Lesson 2. STARTER ACTIVITY Complete the starter activity in your python folder – lesson 2 Now we will see how you got on and update your.
PROGRAMMING In. Objectives  We’re learning to develop basic code with the use of the correct syntax and variables. Outcomes  Explain what syntax is.
Graphical User Interface You will be used to using programs that have a graphical user interface (GUI). So far you have been writing programs that have.
Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.
Make a dice challenge! This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Copy the code below in.
My Python Programmes NAME:.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
CSC 1010 Programming for All Lecture 2 Introduction to Python Some material based on material from Marty Stepp, Instructor, University of Washington.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
5.01 Understand Different Types of Programming Errors
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Getting Started With Python Brendan Routledge
Introducing Python 3 Introduction to Python. Introduction to Python L1 Introducing Python 3 Learning Objectives Know what Python is and some of the applications.
Make a function This is a starter activity and should take 5 minutes [ slide 1 ] >>> def count(number): n=1 while n
Introduction to Programming
Introducing Python Introduction to Python.
Development Environment
Software Development.
5.01 Understand Different Types of Programming Errors
Python Lesson 12 Mr. Kalmes.
Introduction to Eclipse
Lesson 1 - Sequencing.
Introduction to Python
Do it now activity Last lesson we used Flowol to create a solution to a problem a computer could solve. Identify what each symbol does:
Unit 2 Smarter Programming.
Basic operations in Matlab
Introduction to Programmng in Python
Python Lesson 12 Mr. Kalmes.
Lesson 1: Buttons and Events – 12/18
Learning to Program in Python
Learning to Program in Python
Learning to Program in Python
Python Mr. Husch.
Fill the screen challenge!
Week 1 Computer Programming Year 9 – Unit 9.04
CIS16 Application Development Programming with Visual Basic
Learning Outcomes –Lesson 4
Week 2 Computer Programming Learning Objective:
COMPUTER PROGRAMMING PYTHON
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
Hello World! Syntax.
Introduction In today’s lesson we will look at: why Python?
CSCI N317 Computation for Scientific Applications Unit 1 – 1 MATLAB
Python Lesson’S 1 & 2 Mr. Kalmes.
12th Computer Science – Unit 5
Chapter 1: Programming Basics, Python History and Program Components
Programming In.
Scratch Programming Lesson 7 Debugging.
Input and Output Python3 Beginner #3.
Introduction to Python
Starter Which of these inventions is: Used most by people in Britain
Iteration – While Loops
Presentation transcript:

Today’s lesson – Python next steps Type accurately challenge! [ slide 1 ] This is a starter activity and should take 2 minutes Can you type out the code in Code Box 2.1 with no errors – first time? 2. Can you work out what \n does? Today’s lesson – Python next steps Glue the sheet with these keywords and definitions on into your book Algorithm: A process or set of rules to be followed in calculations or other problem-solving operations often by a computer Syntax: The set of rules, structure and commands that make up a programming language. Scripting language: A programming language that requires users to learn the syntax of the language and write lines of code Visual programming language: A coding language that uses a graphical method of constructing algorithms such as Scratch.

Learning Intentions Lesson 2 Understand how to create and use a variable in a computer program Create a program using the Python edit mode Evaluate the importance of typing accurately Create, save and test a program

Recap – answer these questions Who is the program named after? What does the command prompt look like? What is “Debugging”? What happens if you type this? >>> print(Hello World

Create, save and test a program In IDLE click on File and New Window This is the Edit mode - there is no command prompt

Interactive mode and file editor Think of shopping…… If you are in the interactive mode (IDLE) if you said “buy milk” it would do it straight away, then “buy eggs” etc If you are in the editor it is like making a list of items to buy which will only work when you say “run shopping list”

Using the editor Save the program in your python folder as my_name Then press the f5 key to run the program

Write more lines of code to a program (use the program you have just written ) Add extra lines of code for each of the following questions and give a response to each question. Write your own question for line 5. Where do you live? What school do you go to? What is your favourite subject at school? What do you want to do when you leave school? Make up your own question

Example program Program code Result

Reflection time - WWW & EBI Write up your reflections for today’s lesson in your book http://www.codecademy.com/en/tracks/python A website that you complete tasks at your own pace – free to use