Creativity & The greater good Programming is a creative and powerful process
Computational Thinking …is a way of solving problems, designing systems, and understanding human behavior that draws on concepts fundamental to computer science. …means creating and making use of different levels of abstraction, to understand and solve problems more effectively. …means thinking algorithmically and with the ability to apply mathematical concepts such as induction to develop more efficient, fair, and secure solutions. …means understanding the consequences of scale, not only for reasons of efficiency but also for economic and social reasons.
“computer scientists” can do what? Meet a computer scientist. Coding for good! 7 things you should know when starting to program
Sound! Using Winsound module
Use Python to make the computer beep Import winsound A sound is composed of a frequency and a length of time. winsound.Beep( freq in hz, length in ms) for example: winsound.Beep(50, 100) On this example, a sound of 50 hz will play for 100 milliseconds
Play a sound file This is a bit more tricky, but we can play a wave sound file within Python. You will need the exact location of the wav file – see below winsound.PlaySound( file name, flag) for example: winsound.PlaySound(‘H:\sound.wav’, 0)