what is computer programming?

Slides:



Advertisements
Similar presentations
Session Objectives# 24 COULD code the solution for an algorithm
Advertisements

Modules, Hierarchy Charts, and Documentation
Guide To UNIX Using Linux Third Edition
Real World Programming BBrewer Fall Programming - Bellwork 1.Log on 2.Go to edmodo 3.Open & Save Vocabulary Graphic Organizer and Analaysis Document.
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.
Instructor: Chris Trenkov Hands-on Course Python for Absolute Beginners (Spring 2015) Class #002 (January 17, 2015)
Lesson 4 Using Variables in Python – Creating a Simple ChatBot Program.
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.
1 Computer Science of Graphics and Games MONT 105S, Spring 2009 Session 1 Simple Python Programs Using Print, Variables, Input.
CSC 110 Using Python [Reading: chapter 1] CSC 110 B 1.
Introduction to Computer Programming
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”
CRE Programming Club - Class 2 Robert Eckstein and Robert Heard.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
GCSE Computing: Programming GCSE Programming Remembering Python.
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.
GCSE Computing: Programming GCSE Programming Remembering Python.
OCR Computing GCSE © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 3: Built-in functions.
Introduction to Programming Python Lab 8: Loops 26 February PythonLab8 lecture slides.ppt Ping Brennan
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
Starter What does the following code do?
Unit 2 Technology Systems
Whatcha doin'? Aims: To start using Python. To understand loops.
Content Programming Overview The JVM A brief look at Structure
GCSE COMPUTER SCIENCE Practical Programming using Python
Lesson 1 - Sequencing.
GCSE COMPUTER SCIENCE Practical Programming using Python
Topics Introduction to Repetition Structures
Lesson 1 An Introduction
Debugging and Random Numbers
Introduction to Programming
Variables, Expressions, and IO
Functions CIS 40 – Introduction to Programming in Python
Computational Thinking
Computational Thinking
Learning to Program in Python
Learning to Program in Python
Python I/O.
Fill the screen challenge!
File Handling Programming Guides.
Learning to Program in Python
Lesson 2 Programming constructs – Algorithms – Scratch – Variables Intro.
Week 1 Computer Programming Year 9 – Unit 9.04
Language Basics.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Computers & Programming Languages
The backslash is used to escape characters that are used in Python
Selection (IF Statements)
Story time Task 5 Computer Programming Gray , Calibri 24
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
Introduction to Programming
Introduction to Programming
Section 1 Introduction To Programming
What do all these things have in common?
Introduction In today’s lesson we will look at: why Python?
Python Lesson’S 1 & 2 Mr. Kalmes.
Just Basic Lessons 9 Mr. Kalmes.
Programming In.
Input and Output Python3 Beginner #3.
Introduction to Python
Introduction to Programming
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.
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.
Introduction to Programming
Basic 9 Mr. Husch.
Starter Which of these inventions is: Used most by people in Britain
Presentation transcript:

what is computer programming? Computer Programming is writing computer code to create a program, to solve a problem. To tell a computer to do something, a program must be written to tell it exactly what to do and how to do it – Computers can’t think for themselves! A programming language is an artificial language that a computer understands. The language is made up of series of statements that fit together to form instructions. These instructions tell a computer what to do.

Python Over the next series of lessons we will learn how to program using Python Why? Python is a free program language which means you can use it in school, at home on any computer – PC, Mac, Raspberry Pi, Linux. You can even get apps on your tablet that let you code in them. But why do we need to know how to program? This video might explain why it is a useful skill to learn http://uk.code.org/

Strings Each individual character is given an address or position in the string This starts at 0 not 1. You can use the Python Cheat Sheet found in V:/ICT/KS4/Year 9/Python to help you if you get stuck!

How to print strings print(“Hello World”) The print command word must have a lowercase p The print command will print everything inside its bracket pairs () They must be opened ( They must be closed ) To print a string of text the text must be inside speech marks “text goes here”

Variables Variables are locations that we can use to store data in. Think of it as box in which we can temporally store data in. myBox 4 You can use the Python Cheat Sheet found in V:/ICT/KS4/Year 9/Python to help you if you get stuck!

How to print variable A Variable must be declared before it is assigned a value: MyVariable = “String of text” print(MyVariable) Declaring the variable Assigning a value Printing the variable name Remember the brackets, but this time no speech marks Remember: lower case p

Flow Charts Start/End – Process (do something without input or output)- Decision – Input / - Output – Subroutine – Save to file – Loop –