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.

Slides:



Advertisements
Similar presentations
Alice.
Advertisements

Objects and Properties Alice. Objects in Alice Objects already exist. Hundreds of them.
Class-level Methods Chapter 6. Class-level Method Is specific to a class of objects We can give a class new abilities/methods Only involves this one class.
PIIT Computer Science Summer Camp - Alice July 10, 2012 Brenda Parker Computer Science Department MTSU.
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
Scene changes By Deborah Nelson Duke University Under the direction of Professor Susan Rodger July 2008.
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)
What is Alice? Graphical Programming Environment and Language Learn object oriented programming using 3 dimensional objects and a story telling approach.
Introduction to Alice Basics : What is Alice? Object Oriented Definitions What Does it Look Like? Where Can I Use it?
Fall 2009ACS-1805 Ron McFadyen1 ACS-1805 Introduction to Programming using Alice.
Alice: A Visual Introduction to Programming Chapter 1 Part 2.
Classes, Objects, and World-level Methods Alice. Programming in Alice© 2006 Dr. Tim Margush2 Class / Object Class A template describing the characteristics.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Alice: A Free 3D Animation World for Teaching Programming Barbara Ericson Georgia Institute of Technology Oct 2005.
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.
01-Intro-Object-Oriented-Prog-Alice1 Barb Ericson Georgia Institute of Technology Aug 2009 Introduction to Object-Oriented Programming in Alice.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Alice: A Visual Introduction to Programming Third Edition.
Microsoft Visual Basic 2005: Reloaded Second Edition
Programming Alice Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 11 1 Microsoft Office Access 2003 Tutorial 11 – Using and Writing Visual Basic for Applications.
CSC1401: Introductory Programming Steve Cooper
Programming with Alice Computing Institute for K-12 Teachers Summer 2011 Workshop.
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.
Alice 2.0 Introductory Concepts and Techniques Project 1 Exploring Alice and Object-Oriented Programming.
Learning to Program with Alice – Chapter 1 September 16, 2009.
The Very Basics of Alice: A Simple Overview 6 th & 7 th Grade Tech Apps.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
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.
Summer 2011 Project Zimmerman.  After discussion and initial introduction to Alice, students will receive another overview and use existing code to create.
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.
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.
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.
1 CSC 221: Computer Programming I Fall 2009 Introduction to programming in Scratch  animation sprites  motion, control & sensing  costume changes 
Alice in Action with Java Chapter 1 Getting Started with Alice.
Introducing Scratch Learning resources for the implementation of the scenario
1 Quiz Show Programming Terms. 2 Alice - 3D Virtual Programming Vocabulary Quiz Board Chapter 1 Chapter 2a Chapter 2b Chapter 3 Chapter 4 $100 $200 $300.
CS320n – Elements of Visual Programming
Getting started in Alice
Obj: Introduction to Alice
Introduction to Alice Alice is named in honor of
Learning Java with Alice 3.0 Game Design Kathy Bierscheid
Introduction to Alice Alice is named in honor of
Introduction to Programming
Classes, Objects, and World-level Methods
Chapter 1: Introduction to Alice and Objects
CIS16 Application Development Programming with Visual Basic
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 Object-Oriented Programming in Alice
Introduction to Alice Alice is named in honor of
CSC 221: Introduction to Programming Fall 2018
Introduction to Alice Alice is named in honor of
Introduction to Alice Alice is named in honor of
Presentation transcript:

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. 9.2 Understand and use objects. 9.3 Explain how sequence, selection, iteration are building blocks of algorithms. 9.5 Use various debugging and testing methods to ensure program correctness. 9.6 Describe a variety of programming languages used to solve problems. 9.7 Incorporate music and art to enhance creativity in projects.

What is Alice A modern programming tool –purpose of tool, learn how to program, write algorithms and program animiations –3-D graphics –3-D models of objects Animation –Objects can be made to move around virtual world (a simulation or a video game. Alice is free. Alice is written in Java –

Memory Management Alice automatically manages memory But, writing and testing an animation is an intense load on the computing system –a crash can occur. Best solution: Alice (the program) reminds you every so often so save your work save your programs often! if working in lab when you logout the computer is wiped -> save to your account or to a backup system such as a memory stick

The World Alice Programs / Movies take place in a virtual world When you start a new world in Alice you select the background The world consists of a sky and the ground Can’t be changed after creating the world the world is not infinite

Details area Shows methods available for objects. You can create new methods Object Tree Contains a list of objects in the world Events Area - when you wants things to happen (when to make objects do things. Editor Area - put your program code together World Window – shows world you are building

Objects in Alice Objects already exist. Hundreds of them

Objects What is an object? –collection of data and operations in which data can be accessed and modified. Objects have two things: State & Behavior State - has a name, has properties-width, height, color, location, age, id# Behavior - associated actions it can perform tasks it can carry out – things it knows how to do ((barking, fetching, wagging tail).

Where Do Objects Come From? They are pre built –creating 3D objects is another area of computing and graphic design Sources of 3D objects – the local gallery that comes with the software – Alice web gallery How are objects added to the world?

Objects are categorized into classes Each objects is an instance of the class All objects in a class –have the same properties –generally can perform the same tasks Penguins Dogs Skipper Kowalski Private Snoopy Odie Ren Opus Rico Class is like a cookie cutter Cookie Cutter (class) makes objects Like it.

Classes & Objects Class - a template that describes the state and behavior associated objects (instances) of that class. Instance - the actual object created at runtime. Lassie would an instance of the dog class. instantiate - to create an object from a class

Behaviors of objects penguin class Behaviors of an object are the methods (actions) it can perform. Located under the methods tab.

Properties of objects penguin class Properties of an object are the things it knows about itself and they are stored in variables. Located under the properties tab

Adding Objects Click on the green “Add Objects” button World expands and local gallery displayed

Adding Objects Local gallery divided into a directory based on subject add instances of objects to world by –dragging and dropping or –click on object and select add instance option

Objects in the World penguin classpenguin objects in a virtual world Instances of the penguin class

Objects in the World The Objects that are present in the current world are listed in the Object Tree The top left panel in the Alice programming environment Every world comes with a light, a camera (point of view for the movie when played), and the ground

Object Dimensions Properties it knows: Objects in Alice worlds are 3 dimensional height width depth

Object Position Objects – are positioned in 3-D space – Have six degrees of freedom (directions of movement)

Methods: programmed procedure that is defined as part of a class and included in any object of that class.class object Ice Skater Object Two methods parameter

1. What is a method: Organized block of code that will perform a specific task. 2. What is a parameter: Extra information that a method needs to execute. Parameter is the ( ) The data inside the parameter is called arguments. (forward, 3) Method name

Changing arguments in the parameter You change the parameter information by clicking on the argument you want to change and selecting the amount or use other to type in an amount.

Exercises Log on to Alice. Complete the ice Skating tutorial in Alice.

Complete Sequential Program Complete the program Maze Sequential Programming.