programs, programs, everywhere! this is a starter activity and should take 5 minutes 1.open up a...

8
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 apps, programs and applications you have used so far today. 3.Be ready to share your ideas with the class. [ slide 1 ]

Upload: derrick-armstrong

Post on 12-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 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

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 apps, programs and applications you have used so far today.

3. Be ready to share your ideas with the class.

[ slide 1 ]

Page 2: 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

Lesson Aims1. Learn about computer programming and the different

languages that you can use

2. Meet Python 3 programming language

3. Learn how to use IDLE

4. Write and run your first program

[ slide 2 ]

VocabularyPython 3

IDLE

IDE

output

syntax error

Page 3: 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

Programming Session Rules

1. Try to complete the task set on your own computer

2. If you have finished and are waiting, you may:

• try out your own code

• help other students who are stuck.

3. When asked to stop:

• go back to your seat

• stop coding

• listen carefully.

[ slide 3 ]

Page 4: 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

Python 3 runs on all computers:[ slide 4 ]

1. Use the textbook glossary tofind out what an IDE is.

2. What does IDLE stand for?

Page 5: 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

Your first program – Hello World!

1. Type this into IDLE:

This is from page 13 in Python Basics

[ slide 5 ]

2. Find out how many ways there are of getting this to fail!

Page 6: 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

Making Mistakes

[ slide 6 ]

Page 7: 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

Homework

1. Install and test Python 3 on your home computer

2. Visit and read:http://en.wikipedia.org/wiki/Hello_world_program_examples

[ slide 7 ]

Page 8: 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

Chapter Summary

1. Coding is ...

[ slide 8 ]

In this lesson you have learnt:

writing instructions for computers

2. Python 3 is ... a great programming language

3. An IDE is ... an integrated development environment

4. IDLE is ... the IDE that comes with a standard Python install

5. Output is ... data that is sent from a program to a screen

6. A syntax error is ... an error produced when a computer cannot recognise the code supplied by a programmer