Learning to Program with Python
This course focuses on fundamental concepts of computer programming using Python, aiming to deepen understanding of functions, control flow, and simple data structures. Students will engage in problem-solving and debugging. The main materials include the book "Learning Computing with Robots" and hands-on experience with Scribbler Robots, which navigate and interact using sensors. Teams of three will work collaboratively on a final project involving robot navigation to identify and stop at a colored object, fostering teamwork and individual accountability.
Learning to Program with Python
E N D
Presentation Transcript
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.
Materials • For the remainder of the year we will be using the book “Learning Computing with Robots” • Text is on the website on the Web Design class page • You will need to read!
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
Software • On your PC you will find • IDLE (Python GUI) in Start | Python 2.4 | IDLE (Python GUI) • Bluetooth Manager in your taskbar.
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 Pink • Your robot will need find and run into the object and stop.
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?
Teams • We have ten robots to use for this class. • You will need to divide into teams of 3. • 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
Rest of Today • Download the book from the Web. This may take a while. • Form teams – We will start using the robots Monday. • 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!