Instructing With Alice First Bytes Teachers Workshop July 2008Slide 2
Topics What is Alice? What assets are accessible? How is Alice utilized as a part of educating? Demo of Alice programmingSlide 3
What is Alice? Alice is a visual programming dialect. Alice is a protest based dialect. The items in Alice are 3 dimensional models. The yield of Alice projects are 3 dimensional motion pictures.Slide 4
Visual Programming is finished by indicating and clicking, moving, selecting from menus, and some writing Syntax blunders expelled from the condition no supports, no semi colonsSlide 5
World View Object Tree Event Editor Details Panel Control Primitives Code EditorSlide 6
Object Based Programming Built in library of models. More accessible on the web. All items have certain techniques and practices move, turn, say, roll, resize New strategies can be added to a question protest can be spared as another class Polymorphism is not upheld.Slide 7
Alice Models Main programming information are 3d models Many inherent and more on webSlide 8
Output are 3d films run the program, play a motion picture can likewise add sound to programs A considerable measure less demanding to perceive rationale mistakes "Why do my ninja\'s arms continue flying away?"Slide 9
Alice Resources Main page www.alice.org download Alice 2.0 with the expectation of complimentary narrating Alice for center school Models display Forums Textbooks listSlide 10
Instructional Materials www.aliceprogramming.net Password secured userid: watchword: Workshop plan Example course date-books/syllabi Slides and test universes Solutions to section activities and ventures (Dann, Cooper, Pausch book) Sample exams and test bank questionsSlide 11
Even More Materials Dick Baldwin, ACC educator www.dickbaldwin.com/tocalice.htm Lots of materials and "how to\'s" Alice pamphlet. To join contact Barbara Conover firstname.lastname@example.orgSlide 12
How is Alice Used in Teaching Originally intended for understudies in center school Has been fruitful with more seasoned understudies Used in heaps of sorts of courses PC proficiency pre cs or pre AP cs1 or APCS programming for non CS majorsSlide 13
Approaches Cover nuts and bolts, sections 1 and 2 rapidly taking in the device Paths through introduction programming objects early (control structures first) protests first questions to begin with, recursion early Interactivity can make movements/motion pictures just OR present occasions and intelligenceSlide 14
Projects Closed-finished compose a program to meet indicated criteria permits concentrating on some part of programming shut finished with choices - pretenses Open-finished a few understudies demonstrate awesome innovativeness here some make exceptionally scanty projects opportunity to require storyboarding and arrangingSlide 15
Sample Program - Bunny and BroccoliSlide 16
Demo of Alice Programming Follow along! Critical thinking and programming in Alice given a situation make program to order the story A bunny is sitting in a field. Around the bunny broccoli grows and develops. The bunny jumps over to the nearest broccoli plant and eats it.Slide 17
Create a New WorldSlide 18
Select Template (Ground)Slide 19
Add ObjectsSlide 20
The Scene EditorSlide 21
Beware the Scene Editor Students can invest A LOT of energy in the scene editorial manager setting up and tweaking a world Is that truly programming? Then again software engineering? On the other hand Computational considering?Slide 22
Add Objects Drag and Drop Click on picture then tap on Add InstanceSlide 23
Objects in The World Objects in Alice Have their own casing of reference forward – in reverse up – down left – rightSlide 24
Frame of Reference Clicking on question bring sup its bouncing box Can likewise observe focus point .. also, tomahawksSlide 25
Frame of Reference UP CENTER POINT RIGHT FORWARDSlide 26
Camera Controls Alter position of camera with these controls.Slide 27
Mouse Control Tools Kit Default. Move chose protest left, right, forward, in reverse. Duplicate articles. Move chose protest all over. Resize objects. Tumble objects. Turn question advances and in reverse. Turn question left and right. CTRL Z or Undo Button to fix botches!Slide 28
Subparts Objects frequently have sub parts may have their own edge of reference Clicking influence subparts box permits choice and development of subpartsSlide 29
Subparts Bigger earSlide 30
Alternate Positioning Techniques Right tap on protest in world on question tree and select strategy Drag and drop strategy from the subtle elements board.Slide 31
Quad View Use world\'s outright edge of reference to view relative position of articlesSlide 32
Finding Objects To reposition in a quad see select zoom in and out from mouse controls zoom way out select look from mouse controls to focus objects zoom back inSlide 33
Setting Up Initial Scene Add bunny Add broccoli nearby display - > kitchen - > sustenance Make broccoli greater Move broccoli beneath the ground How to reproduce "growing"? move down precisely 1/2 meter utilizing drop down menus or move and customizeSlide 34
Moving Broccoli Down Option 1 Option 2Slide 35
Making Broccoli Invisible In our program we need the broccoli to develop. We will do this by having it climb get greater get to be noticeable Need to make the broccoli imperceptible Select every broccoli from the question tree and tap the properties tab Change darkness from 100% to 0%Slide 36
Back to Programming View When setup finish tap the green done catch to backpedal to the programming view.Slide 37
Programming the World From a storyboard to a program.Slide 38
Recall the Storyboard A bunny is sitting in a field. Around the bunny broccoli grows and develops. The bunny bounces over to the nearest broccoli plant and eats it. We should include some detail toward the begin of the film. The bunny first swings to quick the camera. At that point the broccoli begin to develop keeping in mind it develops the bunny bounces here and there.Slide 39
Methods Select the world question from the protest tree and the strategies tab in the subtle elements board. The world begins with a solitary technique, "my first method" Like principle in a Java or C++ program.Slide 40
Adding Commands to Methods If the "my first method" is not showed in the code editorial manager tap the alter catch alongside the technique in the detail board. Summons are included by relocating them into a technique. Select the bunny from the question tree. Drag the swing to face charge into the code proofreader.Slide 41
Adding Commands swing to face is a strategy When adding a technique to the code supervisor if any parameters are required a menu appears to choose the contentions. Select the camera.Slide 42
More Parameters After adding the bunny.turn to face charge the "my first method" will resemble this: Click on the "more" alternative to see what different parameters can be changed length, style, asSeenBy change term to 3 secondsSlide 43
Test Click the play catch to see the motion picture/yield of the program. "my first method" will execute due to the main occasion in the program now.Slide 44
Adding Behaviors Next we need the bunny to bounce while the broccoli develops. Strategies can be world level or class level . world level strategies have a place with the world. a technique ought to be world level strategy on the off chance that it includes at least two items class level strategies have a place with a specific class/protest. a technique ought to be a class level strategy on the off chance that it includes one and only protestSlide 45
Creating a Hop Method The bunny does not have a bounce technique so we will make one. Select the bunny from the question tree and tap on the make new technique catch in the points of interest board.Slide 46
Creating a Hop Method A window appears requesting the name of the strategy attempt different names to see what is a legitimate identifier and what is not After giving the new technique a name another tab appears in the code editorial manager Should bounce be one jump or parameterized? Ought to parameter be an ideal opportunity to jump or number of bounces to make? Some other approach to make it more broad?Slide 47
Adding Parameters Let\'s add parameters for separation to bounce up and an ideal opportunity to do the jump Click the make new parameter catch in the code manager.Slide 48
Adding Parameters Give the parameter a name and pick the information sort separate - > a Number time - > a Number When called the jump strategy now requires two parametersSlide 49
Adding Commands to Hop To bounce the bunny will climb and after that down. Drag the move order into jump and fill in the parameters. Drag another move order into bounce and fill in the parameters.Slide 50
Adding Commands to Hop To change the length of climbing select the more alternative from the move summon. Select length then expressions then time (or the name of your parameter for time)Slide 51
Adding Commands to Hop To change the term of the move to half of the time parameter tap on the triangle to open the drop down menu. Select math and separation time by 2. Do likewise for the move down.Slide 52
Completed Hop MethodSlide 53
Back to my first strategy We need the bunny to jump while the broccoli develops In the underlying set up the broccoli is underneath the ground and undetectable The broccoli will develop by moving it over the ground resizing it to twofold it unique size making it noticeableSlide 54
A develop Method Instead of rehashing the activities to develop for every broccoli we will place it in a technique could make a class level strategy and after that spare another broccoli protest that knows how to develop and add two of those to world (legacy) OR make a world level strategy and send in every broccoli as a parameter We\'ll take the second choiceSlide 55
A develop Method Create another world level technique named develop Add a parameter of sort Object Common mix-up is to not change parameter sort to right sort.Slide 56
Adding Commands to Grow We need each of the three things (climb
PC Design - From Megabytes To Unassuming Bytes. By Murray Niman G6JYB. The Issue. SIZE MATTERS ! ...
Direct wired association on case grounds (office PCs, apartments, portable PC in ... programming ...
Twofold is a base two framework which meets expectations simply like our decimal framework. ... ...
Enactment secures individual information took care of in PCs. Plan to control the gigantic ... o ...
A salvage plane needs to drop supplies to detached mountain climbers on a rough edge 245 m under ...
Who Am I: Community, Culture, and Identity. Finding Self through Service. We Are Here ... Learni ...
Understudies report long-range impacts of learning in the class. Has the capacity show understud ...
In Alice, they are predefined as 3D models. Class names start with a capital letter. At the poin ...
Discover A RULE FOR HOW MUCH OF THE RAIN FOREST WILL REMAIN IN X YEARS? A ... A HALF OUNCE OF CA ...
Why Teachers Do What They Do In Their Classrooms: An Investigation of Authoritative Teaching. ...
www.alice.org. Alice: A Fresh Approach to Teaching Computer Science. Carnegie Mellon Univers ...
Introduction to Alice. Michelle Venable-Foster June 2006. What is Alice?. Alice (software) ...
Getting Started With Alice: The Basics. By Jenna Hayes under the direction of Professor Susa ...
Alice’s Adventures in Wonderland Chapter 8 The Queen’s Croquet Ground. ...
Alice: Functions. Alice Chapter 6 September 19, 2005. Checkpoint. 80 point quiz Abstract ...
Insights. 9.3% of government funded teachers leave the calling before they finish their first ye ...
Capacities and Conditionals in Alice. 2. Learning Goals. Comprehend at an applied and down to ea ...
Outlines. Edge design meaning of a parcel utilized with particular kind of system eg Ethernet ou ...
Open Teachers. A germane cautioning: