{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

APCO 1P00 - Week 1 Lecture Slides

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

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

1 APCO/IASC 1P00 Introduction to Media  Computation Some slides are based on  Mark Guzdial’s  at Georgia Tech

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

View Full Document
2 Course Information Course Website : http://www.cosc.brocku.ca/offerings/apco1p00 Instructor : Michael Pickard ( ) (Note: APCO 1P00 and Student # must begin subject header) Office Hours : TBD
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 )

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

View Full Document
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!
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!

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

View Full Document
6 Some Examples def raiseVolume ( someSound ): for s in getSamples ( someSound ): oldVolume = getValue ( s ) newVolume = oldVolume * 2 setValue ( s , newVolume ) play ( someSound )
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 )

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

View Full Document
8 Chapter One Introduction to Computer Science  and Media Computation
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

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

View Full Document
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:
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

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

View Full Document
12 “Pseudo-Code” example of a recipe
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online