Starting Out with Alice

Starting Out with Alice, 3rd edition

  • Tony Gaddis

Choose the option that's right for you

Single

$9.99 / mo

4-month minimum term for $39.96

  • Access this eText title
  • Up to 2 devices

Multi

$14.99 / mo

4-month minimum term for $59.96

  • Access over 1,500 titles
  • Up to 2 devices
  • Discounted tutor access

Learn more, spend less

  • Icon

    Listen on the go

    Learn how you like with full eText audio

  • Icon

    Learn anytime, anywhere

    Get the app to access your eText whenever you need it

  • Icon

    Make it your own

    Your notes. Your highlights. Your eText

  • Icon

    Find it fast

    Quickly navigate your eText with search

  • Icon

    Stay organized

    Access all your eTexts in one place

Overview

Starting Out with Alice offers a fun and motivational way to learn the basic tenets of programming. Alice provides an innovative and popular teaching tool for creating virtual programming worlds of animations and computer games, giving you with the confidence to transition into Java or other programming languages.

Published by Pearson (July 15th 2021) - Copyright © 2013

ISBN-13: 9780137618453

Subject: Pre-Programming & Introduction to Programming

Category: Alice

Table of contents

BRIEF TABLE OF CONTENTS
Preface
1. Introduction to Alice and Objects
2. Programming in Alice
3. Variables, Functions, Math, and Strings
4. Decision Structures
5. Repetition Structures
6. Methods, Functions, and More about Variables
7. Events
8. Lists and Arrays
9. Recursion

Appendix A: Installing Alice
Appendix B: Answers to Checkpoints
Index

COMPLETE TABLE OF CONTENTS

Preface

1. Introduction to Alice and Objects
1.1 What Is a Computer Program?
1.2 Algorithms and Programming Languages
1.3 Learning to Program with Alice
TUTORIAL 1-1. Opening and playing an Alice world
1.4 Objects
1.5 Classes and the Alice Galleries
TUTORIAL 1-2. Creating a world and adding objects
1.6 3D Objects and the Camera
TUTORIAL 1-3. Moving the camera in 3D space
TUTORIAL 1-4. Manipulating objects in 3D space
TUTORIAL 1-5. Manipulating subpart objects
Review Questions

2. Programming in Alice
2.1 Writing Methods
TUTORIAL 2-1. Adding instructions to an Alice world
TUTORIAL 2-2. Exploring additional primitive methods
2.2 Naming Conventions
2.3 Designing a Program
TUTORIAL 2-3. Using the program design cycle
2.4 Comments
TUTORIAL 2-4. Inserting comments
2.5 Tips for Setting Up an Initial Scene
2.6 Executing Instructions Simultaneously
TUTORIAL 2-5. Creating simultaneously executed instructions
2.7 Exporting Your Code for Printing
2.8 Exporting an Alice World to Video
Review Questions

3. Variables, Functions, Math, and Strings
3.1 Variables
TUTORIAL 3-1. Creating and using a variable
TUTORIAL 3-2. Creating a set instruction for a variable
3.2 Using Functions
TUTORIAL 3-3. Calling an ask user function
TUTORIAL 3-4. Using a proximity function
3.3 Creating Math Expressions
TUTORIAL 3-5. Using math to avoid collisions
3.4 Working with Strings and Text
TUTORIAL 3-6. Converting a Number variable to a string
Review Questions

4. Decision Structures
4.1 Boolean Values
4.2 The If/Else Decision Structure
TUTORIAL 4-1. Creating an If/Else instruction
TUTORIAL 4-2. Creating a Single-Alternative Decision Structure
4.3 Nested If/Else Decision Structures
TUTORIAL 4-3. Creating Nested If/Else Instructions
4.4 Relational Comparisons and Logical Operators
TUTORIAL 4-3. Using a relational operator
TUTORIAL 4-4. Testing an object's color property
Review Questions

5. Repetition Structures
5.1 The Loop Instruction
TUTORIAL 5-1. Using the Loop instruction
TUTORIAL 5-2. Creating a User-Controlled Loop
5.2 The While Instruction
TUTORIAL 5-3. Using a While instruction to make an object vanish
TUTORIAL 5-4. Using a While instruction to make an object smaller
TUTORIAL 5-5. Using the While instruction to move an object
5.3 Nested Loops
Review Questions

6. Methods, Functions, and More about Variables
6.1 Writing Custom Class-Level Methods
TUTORIAL 6-1. Creating a class-level method
6.2 Saving an Object to a New Class
TUTORIAL 6-2. Saving an object to a class
6.3 Stepwise Refinement
TUTORIAL 6-3. Completing the WorkOut world
6.4 Passing Arguments
TUTORIAL 6-4. Passing arguments to a method
6.5 Using Class-Level Variables as Properties
TUTORIAL 6-5. Adding a property to an object
6.6 Writing Class-Level Functions
TUTORIAL 6-6. Writing a class-level function
TUTORIAL 6-7. Writing a class-level function
6.7 World-Level Methods and Variables
6.8 Using Clipboards
6.9 Tips for Visual Effects and Animation
Review Questions

7. Events
7.1 Responding to Events
7.2 Handling Key Press and Mouse Events
TUTORIAL 7-1. Handling key press events
TUTORIAL 7-2. Handling the while a key is pressed event
TUTORIAL 7-3. Handling a mouse click event
7.3 Using Events in Simulations and Games
7.4 Tips for Games and Simulations
Review Questions

8. Lists and Arrays
8.1 Lists
TUTORIAL 8-1. Creating a list and using the For all in order
and For all together instructions
TUTORIAL 8-2. More complex list processing
TUTORIAL 8-3. Using the Let the mouse move <objects> event
8.2 Arrays
TUTORIAL 8-4. Creating an array and a loop that steps through it
TUTORIAL 8-5. Randomly selecting an array element
Review Questions

9. Recursion
9.1 Introduction to Recursion
TUTORIAL 9-1. Creating a recursive method
9.2 Problem Solving with Recursion
TUTORIAL 9-2. Recursive problem solving in animation
TUTORIAL 9-3. Writing a recursive mathematical function
Review Questions

Appendix A Installing Alice
Appendix B Answers to Checkpoints
Index

Your questions answered

Introducing Pearson+. Reimagined learning, designed for you. Choose from one eText or over 1,500 eTexts and study tools, all in one place, for one low monthly subscription. A new way to buy books that fits your budget. Make the most of your study time with offline access, enhanced search, notes and flashcards — to get organized, get the work done quicker and get results. Plus, with the app, put textbooks in your pocket and learn wherever. It's time to upgrade the textbook and simplify learning, so you can have time to live too.

Pearson eText is an easy-to-use digital textbook available from Pearson+. Make it your own by adding notes and highlights. Download the Pearson+ mobile app to learn on the go, even offline. Listen on the go with our new audiobook feature, available for most titles.

When you choose a plan, you're signing up for a 4-month term. We will charge your payment method each month until your 4-month term has ended. After that, we'll automatically renew your subscription and charge you on a month-to-month basis unless you turn off auto-renewal in My account.

When you purchase a Pearson+ subscription, it will last a minimum of 4 months, and then automatically renew each month thereafter unless you turn off auto-renew in My account.

If you want to stop your subscription at the end of your 4-month term, simply turn off auto-renew from My account. To avoid the next payment charge, make sure you turn auto renewal off 1 day before the auto renewal date.

You can subscribe again after auto-renew has been turned off by purchasing another Pearson+ subscription.

We use your credit card to renew your subscription automatically. To make sure your learning is uninterrupted, please check your card details before your first monthly payment.

With a Multi Pearson+ subscription plan, you can download up to 5 titles on the Pearson+ app from My list on each of your authorized devices every month.

When you're using your Multi Pearson+ subscription plan in a browser, you can select and read from as many titles as you like.