Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.

Slides:



Advertisements
Similar presentations
Mike Scott University of Texas at Austin
Advertisements

Alice.
Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Modified by Serita Scott Further modified by Suzy Crowe.
Programming with Alice. Getting Started with Alice Alice is a free programming language – Named in honor of Lewis Carroll – See web page for download.
Introduction to Alice Alice is named in honor of
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)
Fall 2008ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice 2.0 Ron McFadyen Course OutlineMcFadyenOutline.
What is Alice? Graphical Programming Environment and Language Learn object oriented programming using 3 dimensional objects and a story telling approach.
Learn Alice Basic and Storyboard
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
CS320n –Visual Programming Interactive Programs Mike Scott (Slides 5-1)
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming First Edition.
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CSC1401: Introductory Programming Steve Cooper
Adventures in Animation Introduction to Alice Michelle Venable-Foster June 2006.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Getting Started With Alice. Why Learn about Programming computers. Learning to program a computer does not turn you into a nerd We will use Alice which.
Motion and Rotation. 3 Dimensional Space  An Alice object o Is located in a 3D world, positioned at (x, y, z) o has 3 dimensions o height, width, depth.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Graphics Movies & Games. Jump In! Feeling sleepy and stupid… Extract the Alice from the zip archive and copy it to C:\Programs.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
CS329e – Elements of Visual Programming Implementing Programs Mike Scott (Slides 2-2)
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
Alice Tutorial: Overview and Concepts Wayne Summers Columbus State U. 11/17/06.
Automating Database Processing
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Obj: Introduction to Alice HW: Read handout and answer questions. Alice is named in honor of Lewis Carroll’s Alice in Wonderland Day 5.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland Slides Credit: Joel Adams, Alice in Action CS120 Lecture August,
Alice and Algorithms Chapter 1 Part Reasons to Program The joy of programming To create a tool To use your creativity abilities For non programmers.
Introduction to Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Review for test! Alice Chapter 1&2 Test is tomorrow! - March 26 th March 25th.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Interactive Programming Alice. Control of flow Control of flow -- how the sequence of actions in a program is controlled. What action happens first, what.
CompSci 4 Starting Alice Jan 15, 2009 Prof. Susan Rodger Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
CompSci 4 Starting Alice Sep 2, 2010 Prof. Susan Rodger Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Chapter 1: Introduction to Alice and Objects
Alice: A Free 3D Animation World for Teaching Programming.
Programming in Alice IT-IDT-9 Design, develop, test and implement programs using visual programming. 9.1 Utilize drag and drop software to develop programs.
Alice in Action with Java Chapter 1 Getting Started with Alice.
Setting Up the Initial Scene. Problem Solving in Alice Set up the initial scene in a new world The princess example Setting up the initial scene.
Introducing Scratch Learning resources for the implementation of the scenario
Objects in Alice.
Setting Up the Initial Scene
Getting started in Alice
Obj: Introduction to Alice
The Alice Interface.
Introduction to Alice Alice is named in honor of
Introduction to Events
Alice Concepts.
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Introduction to Alice Alice is named in honor of
Introduction to Programming
Chapter 1: Introduction to Alice and Objects
Alice in Action with Java
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Alice Concepts.
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Presentation transcript:

Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice

Fall 2009ACS-1805 Ron McFadyen2 Alice The basics of computer programming Pages 5/6/7/8 in 2 nd edition Computer program Just “a set of instructions” for computer to follow “At its heart, programming is really very simple.” “All computer programs are made from very simple ideas:” A list of instructions (algorithm) Ifs (decisions) Repeating behaviour (repetition) Breaking things into smaller pieces (decomposition) Computing a result (functions)

Fall 2009ACS-1805 Ron McFadyen3 Alice Flowcharting (2 nd edition, page 7) terminal Input/output Processing Call Decision Flow lines Connectors: on page, off page Also chapter 2, page 38, the use of parallelism… later

Fall 2009ACS-1805 Ron McFadyen4 Alice Virtual world Started by playing a virtual world Can play like a movie, or played like an interactive game Developing a world begins with a template (e.g. ground & sky) Object Objects are added to the world (e.g. a person, a robot, a ball) Objects are chosen from a gallery of 3D models Objects are commanded to do things 3D Model Created by Alice developers Is a blueprint for objects – size, color, actions, … Programming Build methods containing commands for objects Build methods to respond to events Event Pressing a key on the keyboard, etc.

Fall 2009ACS-1805 Ron McFadyen5 Alice Emphasizes programming fundamentals Programs are composed of methods Methods contain Alice instructions Objects are asked to do things they know how to do Events can trigger execution of program components Programs always run The Alice editor is user-friendly: its a smart editor with visual drag & drop features

Fall 2009ACS-1805 Ron McFadyen6 Kinds of Animations Two kinds : Movie Passive user watches the animation Interactive Active user clicks on mouse, types a key on keyboard …make into a game Actions of user are called events

Fall 2009ACS-1805 Ron McFadyen7 Appendix A Read both appendixes (especially A at this time) Appendix A Part 1: Running virtual worlds Explains some things about the Alice startup World 1 Open and play the first example in the “textbook” tab World 2 Open and play the second example in the “textbook” tab World 3 Creating a new world from the “snow” template… adding & arranging objects Part 2: using popup menus for the initial scene

Fall 2009ACS-1805 Ron McFadyen8 Appendix B Searching the gallery Creating your own “people” models Using the clipboard Deleting code using wastebasket and dissolve Exporting code to html Exporting a world (viewing a world on the web requires the user to have Java 3D or Java Media Frameworks installed)

Fall 2009ACS-1805 Ron McFadyen9 Techniques and Tools Setting up a world: Gallery is used to obtain objects Mouse is used to approximately position objects in the scene Camera Navigation is used to set the camera point of view Drop-down menu methods are used to resize objects position objects in the scene Quadview is used to position one object relative to another object precise positioning of objects in the scene

Fall 2009ACS-1805 Ron McFadyen10 Objects An "object" is any thing that can be identified as unique from other things How is an object unique? has a name has properties: width, height, color, location can perform actions (methods): associated actions it can perform tasks it can carry out

Fall 2009ACS-1805 Ron McFadyen11 Galleries Classes (3D models) are found in the galleries Local gallery (installed with the software) Minimum or complete options CD Gallery (when CD is in the machine) Web gallery

Fall 2009ACS-1805 Ron McFadyen12 Object Parts Objects may be composed of parts aliceLiddell has a rightArm The rightArm comprises a shoulder, and forearm, and the forearm has subparts too. A “+” means there are subparts that can be listed by clicking on the “+” A “-” means the subparts are listed. To suppress the listing of subparts click the “-” The picture on the right is showing the objects in a “tree” view

Fall 2009ACS-1805 Ron McFadyen13 Object Parts aliceLiddell rightArmleftArmnecklowerBody shoulderforearm hand thumb fingerTips fingers forearm hand thumb fingerTips fingers shoulder Consider the aliceLiddell object to the right. A computer scientist typically uses tree diagrams for complex hierarchical structures. Can you complete this for neck and lowerBody? ……

Fall 2009ACS-1805 Ron McFadyen14 3 Dimensions, 6 Directions A 3D object has 3 dimensions height, width, depth 6 degrees of freedom backward forward right left up down