Lesson 1 An Introduction

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

1 - buttons Click “Step Forward” to execute one line of the program. Click “Reset” to start over. “Play,” “Stop,” and “Step Back” are disabled in this.
An Introduction to Textual Programming
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
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.
Variables When programming it is often necessary to store a value for use later on in the program. A variable is a label given to a location in memory.
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.
Sequencing The most simple type of program uses sequencing, a set of instructions carried out one after another. Start End Display “Computer” Display “Science”
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Introduction to Programming Python Lab 5: Strings and Output 05 February PythonLab5 lecture slides.ppt Ping Brennan
GCSE Computing: Programming GCSE Programming Remembering Python.
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.
Lesson 1 Sequencing.
Part 1 Learning Objectives To understand that variables are a temporary named location to store data and that programmers work with different data types.
5. Algorithm 1: Variables, Operators, Sequences 1.
PROBLEM SOLVING WARM-UP Fill in the spaces using any operation to solve the following (!, (), -/+,÷,×): = 6.
GCSE COMPUTER SCIENCE Practical Programming using Python Lesson 4 - Selection.
JavaScript Part 1 Introduction to scripting The ‘alert’ function.
Introduction to Programming
Introducing Python Introduction to Python.
Programming – Algorithms (Flowcharts)
The Little man computer
GCSE COMPUTER SCIENCE Practical Programming using Python
Agenda Introduction Computer Programs Python Variables Assignment
what is computer programming?
Computer Programming.
Introduction to Programming
Whatcha doin'? Aims: To start using Python. To understand loops.
A Python Tour: Just a Brief Introduction
Bbc microbit Lesson 3 – Temperature hot medium.
A Playful Introduction to Programming by Jason R. Briggs
GCSE COMPUTER SCIENCE Practical Programming using Python
Input and Output Upsorn Praphamontripong CS 1110
Lesson 1 - Sequencing.
GCSE COMPUTER SCIENCE Practical Programming using Python
1-1 Logic and Syntax A computer program is a solution to a problem.
Introduction to Python
Programming Mehdi Bukhari.
Introduction to Programming
Design & Technology Grade 7 Python
* Lecture # 7 Instructor: Rida Noor Department of Computer Science
Lesson 3 - Repetition.
Introduction to Programming
Starter Read the Feedback Click on Add new Feedback Open Realsmart
1 Python Lab #1 Intro to Python Adriane Huber Debbie Bartlett.
Print slides for students reference
Algorithms Y10 Introduction.
Introduction to Programming
Introduction to Python
Week 1 Computer Programming Year 9 – Unit 9.04
Introduction to pseudocode
Programming Right from the Start with Visual Basic .NET 1/e
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
A look at Small basic The Text Window 2017.
Faculty of Computer Science & Information System
Introduction to Programming
Section 1 Introduction To Programming
Language Constructs Construct means to build or put together. Language constructs refers to those parts which make up a high level programming language.
Beginning Python Programming
Introduction to Programming
12th Computer Science – Unit 5
Introduction to Python
Lesson 02: Introduction to Python
Data Types Every variable has a given data type. The most common data types are: String - Text made up of numbers, letters and characters. Integer - Whole.
Starter Which of these inventions is: Used most by people in Britain
Hardware is… Software is…
Programming for Business Computing Introduction
PYTHON - VARIABLES AND OPERATORS
Presentation transcript:

Lesson 1 An Introduction

What is Python? Python is a programming language that is often used to develop web applications. The creator of Python, Guido van Rossum named the language after the 1970s BBC Comedy series ‘Monty Python’s Flying Circus’

Sequencing The most simple type of program uses sequencing, a set of instructions carried out one after another. Start Display “Computer” Display “Science” Display “Rocks” End

Flowcharts are used to plan programs before they are created.   The start or end of the program. There may be more than one way to complete the algorithm and there may be more than one end box. A process, that is doing something for example calculating something. An input or output, for example: Input num1 A decision, YES or NO, or a choice of paths, for example: Is it a weekday? A subroutine or self-contained program that can be used as required. When a flowchart will not fit onto a single page we use this shape to show how the sections of the flowchart connect together.

“What’s your name?” Strings In programming we usually call normal text a string. “What’s your name?” A string is a collection of alphabetic and/or numeric characters. We tell the computer something is a string by putting quote marks around it.

Variables When programming it is often necessary to store a value for use later on in the program. A variable is a label given to a location in memory containing a value that can be accessed or changed. Name Think of a variable as a box with a label that you can store information in.

Match the Python code to the correct part of the flowchart. Using Python Match the Python code to the correct part of the flowchart. Start Display “Computer” Display “Science” Display “Rocks” End

At the command line try typing in some of the following : Python Open the Python 3.3 > IDLE Python GUI. At the command line try typing in some of the following : 3+4 5/6 9*5 Print (‘hello’) What happens?

Match the Python code to the correct part of the flowchart. Example Match the Python code to the correct part of the flowchart. Start Input Name Display “Hello “ + name End Create a Python program based on the code above and save it as variables.py. Press F5 to run it.

The Turing Test Watch the video The Turing Test Click Here

Turing Test Simulator Create your own Turing Test Simulator Use variables and IF statements

Python Challenges Now practice your sequencing skills by completing two of the Python Challenges. Choose two from challenges 1 to 5.