This unit focuses on App Inventor's drawing and painting features and related topics from the CS Principles curriculum.
Programming: The programming in this unit focuses mainly on App Inventor's graphics features. The Paint Pot app, the App Inventor version of the classic finger painting program, is presented in three parts. A basic Paint Pot tutorial introduces App Inventor's Canvas component and some of its drawing and painting commands as well as introduces the concept of a global variable and the programming technique of incrementing a variable. This tutorial is also followed by creative exercises. Later in the unit, images will be used with the Canvas and saved using persistent data.
There are two other programming tutorials, the Magic 8 Ball app provides a first introduction to lists, an important data structure found in most programming languages. And, finally, the Map Tour, an optional app, introduces a technique for accessing other apps from within App Inventor. In this example, we learn how to access and control Google Maps from within a mobile app.
CS Principles: The CS Principles lessons in this unit will extend our understanding of the binary system. In one lesson we learn how digital images are represented in binary. In another, we learn how binary numbers can be used to help with error detection during data transmission. These lessons are complemented nicely by a Blown to Bits reading that focuses on digital documents, including how they can be used to hide secrets.
Many assignments are in PDF Format. To obtain a free copy of Adobe Reader, click the icon below.