Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014.

Slides:



Advertisements
Similar presentations
Introduction Windows Explorer This tutorial will explain some aspects of file management using Windows Explorer This tutorial will explain some aspects.
Advertisements

COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
Interfacing with Computer Associate Degree in Education (ADE) Lecture 04 Sajid Riaz.
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 Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
Compilers and Interpreters. Translation to machine language Every high level language needs to be translated to machine code There are different ways.
How to install the Zelle graphics package
Copyright © 2014 Dr. James D. Palmer; This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
PYTHON: LESSON 1 Catherine and Annie. WHAT IS PYTHON ANYWAY?  Python is a programming language.  But what’s a programming language?  It’s a language.
Introduction to Python Dr. Bernard Chen Ph.D. University of Central Arkansas July 9 th 2012
Lecture Note 3: ASP Syntax.  ASP Syntax  ASP Syntax ASP Code is Browser-Independent. You cannot view the ASP source code by selecting "View source"
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
An Introduction to Visual Basic
Introduction to Programming Workshop 1 PHYS1101 Discovery Skills in Physics Dr. Nigel Dipper Room 125d
Introduction to Computational Linguistics Programming I.
 We are going to learn about programming in general…How to think logically and problem solve. The programming language we will use is Python. This is.
Writing Scala Programs. Command Line There are three common operating systems: Windows (various flavors; I recommend Windows 7) UNIX or Linux (basically.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
Python From the book “Think Python”
Guide to Programming with Python Chapter One Getting Started: The Game Over Program.
OPERATING TERMS OF THE COMPUTER Exit Ticket AB Re-teach.
Lesson 4 Using Variables in Python – Creating a Simple ChatBot Program.
By the end of this lesson, learners should be able to: Discuss the parts of the Windows XP desktop Discuss the parts of the Start menu Restart and Turn.
PROGRAMMING In. Objectives  We’re learning to develop basic code with the use of the correct syntax and variables. Outcomes  Explain what syntax is.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Instructor: Chris Trenkov Hands-on Course Python for Absolute Beginners (Spring 2015) Class #001 (January 17, 2015)
I Power Higher Computing Software Development Development Languages and Environments.
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.
OCR Computing GCSE © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 4: Writing programs.
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.
You Need an Interpreter!. Closing the GAP Thus far, we’ve been struggling to speak to computers in “their” language, maybe its time we spoke to them in.
All sections to appear here Welcome to my pptPlex Slide Show, this can be executed in either two ways: 1.As a normal PowerPoint slide show: Example hit.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Coding Time This is a starter activity and should take about 10 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Start a script session (Select.
NAME Python Programming Workbook Select a Lesson:
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.
Introduction to Programming Python Lab 1: My First Program 8 January PythonLab1 lecture slides.ppt Ping Brennan
1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
While you are waiting Computer log in… Screen refreshments ID A pw t3ach3r.
COMPUTER PROGRAMMING Year 9 – lesson 1. Objective and Outcome Teaching Objective We are going to look at how to construct a computer program. We will.
Part 1 Learning Objectives To understand that variables are a temporary named location to store data and that programmers work with different data types.
PROBLEM SOLVING WARM-UP Fill in the spaces using any operation to solve the following (!, (), -/+,÷,×): = 6.
Development Environment
CST 1101 Problem Solving Using Computers
Whatcha doin'? Aims: To start using Python. To understand loops.
Introduction to Python
A Playful Introduction to Programming by Jason R. Briggs
GCSE COMPUTER SCIENCE Practical Programming using Python
GCSE COMPUTER SCIENCE Practical Programming using Python
Advanced Coding Session 5
Engineering Innovation Center
Do you know this browser?...
Let's Learn Python and Pygame
Computer Science and an introduction to Pascal
Teaching London Computing
Python Mr. Husch.
Today’s lesson – Python next steps
Week 1 Computer Programming Year 9 – Unit 9.04
Teaching London Computing
BSc in Digital Media, PSUIC
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
Programming - Buttons Intro to Robotics.
Programming - Buttons Intro to Robotics.
Python Lesson’S 1 & 2 Mr. Kalmes.
Programming In.
Input and Output Python3 Beginner #3.
Introduction to Python
Presentation transcript:

Programming for GCSE 1.0 Beginning with Python T eaching L ondon C omputing Margaret Derrington KCL Easter 2014

PYTHON Just one of a heap of different programming languages Widely used (particularly currently in schools), general purpose, high level language Particularly useful and versatile; supports multiple paradigms; object oriented, imperative, functional and procedural.. Even has its own Python Turtle Graphics like LOGO Used both for scripting and for standalone executable programs Free, Open Source, comprehensive library…

Open Python If you have python installed on a computer and you OPEN or RUN or EXECUTE a python program, It will run in the Command window, on a windows machine, so fast you’ll hardly see it. To write programs and see them run we need to open the python IDLE and SHELL windows Find Python IDLE from the start menu, ( or desktop shortcut)  and open it NB the IDLE/GUI NOT the command line You will get a python SHELL opening in a window And if you go to FILE / NEW WINDOW a second python window will open This is the IDLE window where you can write programs… QUICK… let’s write our first program Print (“Hello World”) Use File and SAVE AS in the usual way to save your program into your named folder in my documents programName.py

“Hello World” program print (“Hello World!!”) It will run here in the SHELL window Run RUN MODULE F5 print (‘Hello World’) will also work Must be matched pairs of “ ” or ‘ ’

Try stuff out….. You can add to your program Get python to print other things print (“other things”) Tell it to print the answer to a sum print ( 2*7465) You will have to save the program again each time you change it and press RUN

Before we go any further…. Look at what we have done Look at the code we have written And what has happened. What have you noticed????? What have you learnt??? What’s important? What errors/misconceptions are likely? STRINGS, “ ” BRACKETS, FUNCTION, SYNTAX, COLOURS, GUI, IDLE, SHELL, namingFiles, file extension.py what else?……………………….. Open your Reflective Log off KEATS and save it into your folder in MY Documents and make some notes… check with someone else.