Python in the Classroom - PowerPoint PPT Presentation

About This Presentation
Title:

Python in the Classroom

Description:

Python in the Classroom. LinuxFest 2004. Bellingham, WA. A possible future for Python ... Video and Music. Generic Productivity Applications. Games ... – PowerPoint PPT presentation

Number of Views:35
Avg rating:3.0/5.0
Slides: 16
Provided by: 4dsolu
Category:
Tags: classroom | python

less

Transcript and Presenter's Notes

Title: Python in the Classroom


1
Python in the Classroom
  • LinuxFest 2004
  • Bellingham, WA

A possible future for Python in the K-16
curriculum.
2
TRENDS
  • CS in university
  • PC revolution
  • Cyberspace
  • Open Source
  • CS pre-college

3
Overview
  • Assume CS pre college continues making deeper
    inroads
  • Need to build math concepts, not presume them
  • Math Objects approach overlaps traditional
    sequence, yet diverges
  • Python provides the glue

4
Expectations
  • Robotics
  • Web
  • Computer Graphics
  • Video and Music
  • Generic Productivity Applications
  • Games

5
Mathematical Topics
  • Data Structures
  • Visual Display of Data
  • Numeric and Algebraic Concepts
  • Algorithms
  • Cryptography

6
Building Math Objects
  • Rational Number Object
  • Numbers with Modulo Arithmetic
  • Permutations
  • Polynomials, Graphs
  • Vectors, Matrices Polyhedra

7
A Place to Start in Python
def trinum(n) return n(n1)/2 gtgtgt
trinum(i) for i in range(1,5) 1, 3, 6,
10 def cubocta(f) return 10 f2
2 gtgtgt cubocta(i) for i in range(1,5) 12, 42,
92, 162
Cite The Book of Numbers by Conway and
Guy Synergetics by R. Buckminster Fuller Sloane's
On-Line Encyclopedia of Integer Sequences
8
(No Transcript)
9
(No Transcript)
10
(No Transcript)
11
(No Transcript)
12
(No Transcript)
13
(No Transcript)
14
(No Transcript)
15
Some Lessons Learned
  • Math objects need not be numbers
  • Mathematics works with objects in an extensible
    type system
  • Multiplication is potentially polymorphic
  • A concrete implementation provides afoundation
    for exploring abstractions
  • Python adds value!
Write a Comment
User Comments (0)
About PowerShow.com