For CS1 Java programming.
¿
Using the video game generation’s fascination with digital multimedia as a springboard, this text teaches Java programming in a context that students find relevant and useful. Students learn to program using Java while creating interesting effects with sounds, pictures, web pages, and video.
¿
Barbara Ericson and Mark Guzdial are recipients of the 2010 Karl V. Karlstom Outstanding Educator Award for their contributions to broadening participation in computing. They created the Media Computation (MediaComp) approach, which motivates students to write programs that manipulate and create digital media, such as pictures, sounds, and videos.¿Now in use in nearly 200 schools around the world, this contextualized approach to introductory Computer Science attracts students not motivated by classical algorithmic problems addressed in traditional computer science education.¿
Table of Contents: Preface iv
Contents xi
1 Introduction to Computer Science and Media Computation
2 Introduction to Java
3 Introduction to Programming
4 Modifying Pictures using Loops
5 Modifying Pixels in a Matrix
6 Conditionally Modifying Pixels
7 Drawing
8 Modifying all Samples in a Sound
9 Modifying Samples using Ranges
10 Combining and Creating Sounds
11 Creating Classes
12 Creating and Modifying Text
13 Making Text for the Web
14 Encoding, Manipulating, and Creating Movies
15 Speed
16 JavaScript
APPENDICES
A Quick Reference to Java
A.1 Variables
A.2 Method Declarations
A.3 Loops
A.4 Conditionals
A.5 Operators
A.6 String escapes
A.7 Classes
A.8 Fields
A.9 Constructors
A.10 Packages