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.

Slides:



Advertisements
Similar presentations
Programming in python Lesson 2.
Advertisements

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.
Chapter 3 Planning Your Solution
Do it now activity Correct the 8 syntax errors: Age = input(“How old are you?” If age = 10 Print(You are 10”) else: print(“You are not 10”)
Chapter 1: Introduction To Computer | SCP1103 Programming Technique C | Jumail, FSKSM, UTM, 2005 | Last Updated: July 2005 Slide 1 Introduction To Computers.
PROGRAMMING In. STARTER Using the internet…Find …  what does “case sensitive” mean  what a programming language is..  3 benefits of Python.
TERMS TO KNOW. Programming Language A vocabulary and set of grammatical rules for instructing a computer to perform specific tasks. Each language has.
Python Mini-Course University of Oklahoma Department of Psychology Day 1 – Lesson 2 Fundamentals of Programming Languages 4/5/09 Python Mini-Course: Day.
Introduction to Python
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
Python Programming Using Variables and input. Objectives We’re learning to make use of if statements to enable code to ask questions. Outcomes Build an.
Section 3 Calculations National 4/5 Scratch Course.
Python Programming Introduction to programming using python.
PYTHON. Python is a high-level, interpreted, interactive and object- oriented scripting language. Python was designed to be highly readable which uses.
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
Programs, programs, everywhere! This is a starter activity and should take 5 minutes 1.Open up a text editor such as Notepad. 2.Write a list of all the.
Computer Programming A program is a set of instructions a computer follows in order to perform a task. solve a problem Collectively, these instructions.
Python From the book “Think Python”
Viking Raid Animation KS2: Use sequence in programs.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
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.
Introduction to programming in the Java programming language.
Lesson 6. Python 3.3 Objectives. In this lesson students will learn how to output data to the screen and request input from the user. Students will also.
What is Programming? A program is a list of instructions that is executed by a computer to accomplish a particular task. Creating those instructions is.
Python Programming Using Variables and input. Objectives We’re learning to use basic knowledge of variables combined with user input. Outcomes Continue.
PROGRAMMING In. Objectives  We’re learning to develop basic code with the use of the correct syntax and variables. Outcomes  Explain what syntax is.
I Power Higher Computing Software Development Development Languages and Environments.
Chapter Three The UNIX Editors.
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.
Software Development. Software Development Loop Design  Programmers need a solid foundation before they start coding anything  Understand the task.
CSE:141 Introduction to Programming Faculty of Computer Science, IBA BS-I (Spring 2010) Lecture 2.
Introduction to Python Dr. José M. Reyes Álamo. 2 Three Rules of Programming Rule 1: Think before you program Rule 2: A program is a human-readable set.
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.
COMPUTER PROGRAMMING Year 9 – Unit 9.04 Week 3. Open the Python INTERPRETER Can you use the interpreter to solve these maths problems? 156 add
1. COMPUTERS AND PROGRAMS Rocky K. C. Chang September 6, 2015 (Adapted from John Zelle’s slides)
Chapter 3 Introducing Java. Objectives and Goals 1. Define terminology associated with object- oriented programming. 2. Explain why Java is a widely used.
Programming In Python. Starter Using the internet… Find what a programming language is.
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.
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.
Part 1 Learning Objectives To understand that variables are a temporary named location to store data and that programmers work with different data types.
Starter What does the following code do?
Software Development.
Topic: Programming Languages and their Evolution + Intro to Scratch
GCSE COMPUTER SCIENCE Practical Programming using Python
1-1 Logic and Syntax A computer program is a solution to a problem.
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:
Do it now activity Green pen activity in books.
Learning to Program in Python
Week 3 Computer Programming Learning Objective:
Fill the screen challenge!
Today’s lesson – Python next steps
Programming Right from the Start with Visual Basic .NET 1/e
Teaching London Computing
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
Hello World! Syntax.
PYTHON: BUILDING BLOCKS Inputs & Outputs
PYTHON: BUILDING BLOCKS Sequencing & Selection
ICT Programming Lesson 1:
Programming In Lesson 4.
Beginning Python Programming
Programming In.
Introduction to Python
Introduction to Python programming for KS3
Do it now activity Log onto the computer.
Do it now – PAGE 3 You will find your do it now task in your workbook – look for the start button! Thursday, 23 May 2019.
WJEC GCSE Computer Science
Starter Which of these inventions is: Used most by people in Britain
Presentation transcript:

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 a nibble? What does 8 bits equal? How many bytes in a kilobyte? How many bytes in a megabyte? What happens if a computer runs out of RAM?

Introduce Python and the print function

1.Navigate Idle (create, save, run programs) 1.Understand and use: 1.Mathematical operations 2.‘print’ function

ALL (Level 5) Understand that programming bridges the gap between algorithmic solutions and computers. Demonstrate practical experience of a high-level textual language MOST (Level 6) Detect and correct syntactical errors Explain and use functions appropriately SOME (Level 7) Apply a modular approach to error detection and correction By the end of this lesson you will be able to....

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle

Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Algorithm: A process or set of rules to be followed in calculations or other problem- solving operations often by a computer. Copy Keyword

New Learning Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle

Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Python: A programming language developed in 1989 which is ideal for beginners to learn as the syntax for many commands are close to the English language that describes their function e.g. print (“”) Copy Keyword

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Scripting language: A programming language that requires users to learn the syntax of the language and write lines of code Copy Keyword

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Syntax: The set of rules, structure and commands that make up a programming language. Copy Keyword

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Visual programming language: A coding language that uses a graphical method of constructing algorithms such as Scratch. Copy Keyword

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle 1.What is an algorithm? 2.What programming language will we learn this term? 3.What is the difference between a scripting and a visual programming language? Talk task

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Go to START > All Programs > Computing > Python > IDLE Learning development

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle Learning development Mathematical operation Python code Addition+ Subtraction_ Multiplication* Division/

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle *9 30/6 Learning development

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle

Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language Syntax Idle function Idle: A environment for programming Python. Copy Keyword

Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language syntax Idle function 1.print(“Hello world!”) NOTE: the number is included to help you see how many lines of code you need to write, do not include it in your code! Learning development COPY SYNTAX

Copy Keyword Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language Syntax Idle function Function: A function is a block of organised, reusable code that is used to perform a single, related action, which normally returns a value. Copy Keyword

Coding Challenge: Can pupils write a program which displays more lengthily text on different lines? For example: Hello, how are you today? I hope you are enjoying learning Python. What shall we code next? Independent task Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language Syntax Idle function

Plenary Three stars and a wish. Navigate Idle (create, save, run programs) Understand and use: Mathematical operations, ‘print’ function Python Scripting language visual programming language Syntax Idle function

ALL (Level 5) Understand that programming bridges the gap between algorithmic solutions and computers. Demonstrate practical experience of a high-level textual language MOST (Level 6) Detect and correct syntactical errors Explain and use functions appropriately SOME (Level 7) Apply a modular approach to error detection and correction By the end of this lesson you will be able to....