Presentation is loading. Please wait.

Presentation is loading. Please wait.

G7 programing language Teacher / Shamsa Hassan Alhassouni.

Similar presentations


Presentation on theme: "G7 programing language Teacher / Shamsa Hassan Alhassouni."— Presentation transcript:

1 G7 programing language Teacher / Shamsa Hassan Alhassouni

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

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

4 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.

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

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

7

8 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

9 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

10 Practical Activity

11 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

12 Python Program Interface

13 Navigation Code Output

14 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!"

15 How easy did find the python?


Download ppt "G7 programing language Teacher / Shamsa Hassan Alhassouni."

Similar presentations


Ads by Google