G7 programing language Teacher / Shamsa Hassan Alhassouni.

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

Revisions If you received the grade: “R” If you received the grade: “R” You must do a revision to receive a grade for lab 2. You must do a revision to.
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 C PROGRAMMING LANGUAGE Computer Programming Asst. Prof. Dr. Choopan Rattanapoka and Asst. Prof. Dr. Suphot Chunwiphat.
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
Python From the book “Think Python”
Comments in Java. When you create a New Project in NetBeans, you'll notice that some text is greyed out, with lots of slashes and asterisks:
FIRST JAVA PROGRAM. JAVA PROGRAMS Every program may consist of 1 or more classes. Syntax of a class: Each class can contain 1 or more methods. public.
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.
JAVA Practical Creating our first program 2. Source code file 3. Class file 4. Understanding the different parts of our program 5. Escape characters.
Basic Programming Lingo. A program is also known as a  Sequence of instructions  Application  App  Binary  Executable.
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.
ERRORS. Types of errors: Syntax errors Logical errors.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
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.
Compilers and Interpreters
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.
PROBLEM SOLVING WARM-UP Fill in the spaces using any operation to solve the following (!, (), -/+,÷,×): = 6.
Computer Programming Your First Java Program: HelloWorld.java.
FOP: Multi-Screen Apps
Introducing Python Introduction to Python.
The eclipse IDE IDE = “Integrated Development Environment”
Development Environment
CST 1101 Problem Solving Using Computers
Writing algorithms Introduction to Python.
what is computer programming?
ME 142 Engineering Computation I
The Art of Programming --
Introduction to Eclipse
Input and Output Upsorn Praphamontripong CS 1110
Lesson 1 - Sequencing.
GCSE COMPUTER SCIENCE Practical Programming using Python
CS170 – Week 1 Lecture 3: Foundation Ismail abumuhfouz.
1-1 Logic and Syntax A computer program is a solution to a problem.
Introduction to Python
Lesson 5-2 AP Computer Science Principles
Debugging and Random Numbers
* Lecture # 7 Instructor: Rida Noor Department of Computer Science
Design and Technology Academic Year 2017/2018 Grade 7 First Semester.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
G7 programing language Teacher / Shamsa Hassan Alhassouni.
Chapter 2 – Getting Started
Week 1 Computer Programming Year 9 – Unit 9.04
Common C Programming Errors, GDB Debugging
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
1. Open Visual Studio 2008.
Teaching London Computing
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
G7 programing language Teacher / Shamsa Hassan Alhassouni.
Hello World! Syntax.
Spot the bug!.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Programming Errors Key Revision Points.
A look at Small basic The Text Window 2017.
Programming.
Creating Your First C Program Using Visual Studio 2010
Creating Your First C Program Using Visual Studio 2010
Lesson 2 Get Started with Python – Post-Installation – Use the GUI.
Chapter 1: Programming Basics, Python History and Program Components
Learning Intention I will learn about the different types of programming errors.
Programming In.
Introduction to Python
WJEC GCSE Computer Science
Starter Which of these inventions is: Used most by people in Britain
Primary School Computing
CHAPTER 6 Testing and Debugging.
Programming for Business Computing Introduction
Presentation transcript:

G7 programing language Teacher / Shamsa Hassan Alhassouni

What we will Learn today? What is python ? Why to learn python? Understand the program interface Understand the terms (syntax – debugging – functioning )

What is python ? It is a programing language that can be used to build applications and games.

Why we learn python ? It’s powerful, modern programing language. Used by many famous organizations such as YouTube and NASA. It is one of three languages that can be used to write Google Apps.

Opne file (“hello) Print (“hello” Activity: Discover what is wrong or missing in the following statements Opne file (“hello) Print (“hello”

syntax of python programming language Syntax refer to the spelling and grammar of programming language. Your code must be typed in case python language

Syntax error Syntax errors means when you try to run your program and it will not run due to spelling mistakes or missing characters. Programmer call these ‘bugs’ Common errors: Not close the speech marks “ ” ‘ Symbols instead of “ ” Missing a brackets ( ) Spelling mistake Incorrect capital letters

Debugging Functions Output An important part of programming is testing the program and 'debugging' (which means removing the bugs) Functions python does all the fancy computer things to make whatever is shown between the brackets display on the screen. Output When something is processed by the computer and retuned back

Practical Activity

Activity P-30: 1. Open the python edu Select ‘Create new project’ and give your project a name (grade7-1) Select ‘this window’ Click file > new > python file Give the python file a name. (hello-fatima) Type this exactly as you see it 5. Right click and press run. Or press the green triangle at the top

Python Program Interface

Navigation Code Output

Quick Quiz Which of these line of code is correct? 1.Print ("Hello world!") 2.print ("hello world!") 3.print (hello world!) 4.print "hello world!"

How easy did find the python?