learning to program with python sec 9-1 web design

10
Learning to Program with Python Sec 9-1 Web Design

Upload: francis-craig

Post on 23-Dec-2015

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Learning to Program with Python Sec 9-1 Web Design

Learning to Program with Python

Sec 9-1Web Design

Page 2: Learning to Program with Python Sec 9-1 Web Design

Objectives for the Rest of the Year

• To understand the basic concepts of computer programming in a high-level language (Python)

• To understand and use functions and modularity.• To be able to use control flow constructs to form

useful programs.• To understand simple data structures.• To be able to solve problems in relation to writing

programs.• To be able to test and debug programs.

Page 3: Learning to Program with Python Sec 9-1 Web Design

Materials• For the remainder of the year we will be using the

book “Learning Computing with Robots”

• Text is on the website in today’s homework section

• You will need to read!

Page 4: Learning to Program with Python Sec 9-1 Web Design

Materials- continued• Scribbler Robots– The Scribbler is a fully programmable, intelligent

robot with multiple sensor systems that let it interact with people and objects.

– It navigates on its own as it explores its surroundings, and then reports back about what it senses using light and sound.

• Fluke Card

• Bluetooth adaptor

Page 5: Learning to Program with Python Sec 9-1 Web Design

Software

• Create a “myPython” folder either on your desktop or in “My Docs”

• Download “Start Python” from today’s homework and place it your myPython folder.

• On your PC you will find – Bluetooth Manager in your taskbar.

Page 6: Learning to Program with Python Sec 9-1 Web Design

Final Project

• Your robot will be placed in a an area• Somewhere in the area will be:– Solid Colored Object• Assume Yellow, Orange, Red or Green

• Your robot will need find and run into the object and stop.

Page 7: Learning to Program with Python Sec 9-1 Web Design

What do you need to know?

• Given the Robot, Fluke, Bluetooth adaptor, IDLE software and Bluetooth Manager…– What do you need to know to complete the final

project?

Page 8: Learning to Program with Python Sec 9-1 Web Design

I need to know how to…1 13

2 14

3 15

4 16

5 17

6 18

7 19

8 20

9 21

10 22

11 23

12 24

Page 9: Learning to Program with Python Sec 9-1 Web Design

Teams• We have nine robots to use for this class.• You will need to divide into teams of 3-4.• I expect every member of the team to

contribute. • I will require each member to show me their

contributions and be able to explain them to me.

• Success of your team will depend on your work

Page 10: Learning to Program with Python Sec 9-1 Web Design

Rest of Today

• Download the book from the Web. This may take a while.

• Form teams – We will start using the robots tomorrow.– Once you have a team you can pick a robot. That

robot will your team’s robot for the rest of the year.• Don’t break your robot!• Don’t lose your Bluetooth dongle.• I don’t have spares!