1 / 22

Python at Cypress Woods

Python at Cypress Woods. About Cy-Woods. Northwest of Houston Roughly 3,500 students Part of Cy-Fair ISD with 100,000+ students. Computer Science at Cy-Woods. 450 students 4 levels of classes 4 teachers 330 students in our intro class. Why Python?.

denna
Download Presentation

Python at Cypress Woods

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Python at Cypress Woods

  2. About Cy-Woods Northwest of Houston Roughly 3,500 students Part of Cy-Fair ISD with 100,000+ students Cypress Woods High School

  3. Computer Science at Cy-Woods 450 students 4 levels of classes 4 teachers 330 students in our intro class Cypress Woods High School

  4. Why Python? • Our class isn’t about Java, or Alice, or Scratch, or Jeroo, or Python • It’s about solving problems • And any language can be used for that • Python allows us to work with problems without as much overhead Cypress Woods High School

  5. Why Python? English-y Less focus on syntax Still lets us target the AP topic list Cross platform Indentation Cypress Woods High School

  6. Why not Java? We can teach basics first … which gets us to problem solving faster Cypress Woods High School

  7. Basics First public class MyClass { int someVariable; public static void main(String[] args) { // Do something cool } } Cypress Woods High School

  8. Basics First # Do something cool Cypress Woods High School

  9. Still have OOP class MyClass(object): def __init__(self): #constructor def printAList(self, aList): for x in aList: print x Cypress Woods High School

  10. Leading up to Python • Start in the 2nd semester • 1st semester • Scratch • Alice • CS Unplugged Cypress Woods High School

  11. Leading up to Python - Jeroo Cypress Woods High School

  12. Leading up to Python - Jeroo Cypress Woods High School

  13. Starting with “real” Python Cypress Woods High School

  14. Pygame – Making Pictures Cypress Woods High School

  15. Drawings pygame.draw.rect(……) pygame.draw.circle(……) pygame.draw.line(……)

  16. Methods def drawShape(target, x, y): pygame.draw.circle(target,(0,0,0),(x,y),5) Cypress Woods High School

  17. Animation while True: xPosition = xPosition + xSpeed yPosition = yPosition + ySpeed if xPosition >= 800 or xPosition <= 0: xSpeed = xSpeed * -1 if yPosition >= 600 or yPosition <= 0: ySpeed = ySpeed * -1 drawShape(screen, xPosition, yPosition)

  18. Classes Cypress Woods High School

  19. Multiple Classes Cypress Woods High School

  20. Lists & Loops Cypress Woods High School

  21. Making a Game Cypress Woods High School

  22. ryan.nutt@cfisd.net www.apluscompsci.com/blog/ Cypress Woods High School

More Related