APCO 1P00 - Week 1 Lecture Slides

APCO 1P00 - Week 1 Lecture Slides - APCO/IASC 1P00...

Info iconThis preview shows pages 1–13. Sign up to view the full content.

View Full Document Right Arrow Icon
1 APCO/IASC 1P00 Introduction to Media  Computation Some slides are based on  Mark Guzdial’s  at Georgia Tech
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Course Information Course Website : http://www.cosc.brocku.ca/offerings/apco1p00 Instructor : Michael Pickard ( mp05fu@brocku.ca ) (Note: APCO 1P00 and Student # must begin subject header) Office Hours : TBD
Background image of page 2
3 About the Course Course Outline: http://www.cosc.brocku.ca/offerings/apco1p00 You will learn to manipulate sound, images, and web pages through basic programming techniques. We will use the Python programming language ( http://www.python.org )
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Why this course? Develop problem solving skills Problem decomposition Logical thought processes Enhance valuable communication skills People can understand implicit meaning Computers only understand explicit!
Background image of page 4
5 Example:   In  the  English language we… Turn Out ” the lights Shut Off ” the lights Kill ” the lights Get ” or “ Hit ” the lights All of which, we intend to have the same meaning! Our ability to communicate efficiently and precisely can certainly be improved!
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 Some Examples def raiseVolume ( someSound ): for s in getSamples ( someSound ): oldVolume = getValue ( s ) newVolume = oldVolume * 2 setValue ( s , newVolume ) play ( someSound )
Background image of page 6
7 Some Examples   (cont’d) def makeBlackAndWhite ( somePicture ): for p in getPixels ( somePicture ): oldR = getRed ( p ) oldG = getGreen ( p ) oldB = getBlue ( p ) rgb = ( oldR + oldG + oldB ) / 3 newColor = makeColor ( rgb, rgb , rgb ) setColor ( p , newColor ) show ( somePicture )
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
8 Chapter One Introduction to Computer Science  and Media Computation
Background image of page 8
9 What is Computer Science About? It is the study of process! How we do things How we specify what we do Eg. The process of converting ATP to ADP to create energy in the human body The process of calculating mortgage amortization schedules The process of teaching a child to read and write
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
10 Algorithms – step by step “recipe” for how something should be achieved Databases – large storage of data, and ways to best access it Artificial Intelligence (A.I.) – can we create a computer system that actually thinks? Networks – the linking of computer systems, and how the communicate with each other And many more! Computer Scientists study a variety of topics:
Background image of page 10
11 The idea of “recipes” A computer program is essentially a list of steps to be completed in a specific order A computer program contains “constants”, that indicate specific values that should not be changed In a recipe, it would be things like the oven temperature, or baking time A computer program contains “variables”, that can be modified each time the program executes In a recipe, it would be things like the amount of a specific ingredient, or even the ingredient itself
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
12 “Pseudo-Code” example of a recipe
Background image of page 12
Image of page 13
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/30/2008 for the course APCO 1P00 taught by Professor Radue during the Spring '08 term at Brock University, Canada.

Page1 / 44

APCO 1P00 - Week 1 Lecture Slides - APCO/IASC 1P00...

This preview shows document pages 1 - 13. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online