Educating With Alice First Bytes Teachers Workshop July 2008 .


34 views
Uploaded on:
Description
Teaching With Alice First Bytes Teachers Workshop July 2008. Topics. What is Alice? What resources are available? How is Alice used in teaching? Demo of Alice programming. What is Alice?. Alice is a visual programming language.
Transcripts
Slide 1

Instructing With Alice First Bytes Teachers Workshop July 2008

Slide 2

Topics What is Alice? What assets are accessible? How is Alice utilized as a part of educating? Demo of Alice programming

Slide 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 colons

Slide 5

World View Object Tree Event Editor Details Panel Control Primitives Code Editor

Slide 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 web

Slide 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 list

Slide 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 questions

Slide 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 bconover@sju.edu

Slide 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 majors

Slide 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 intelligence

Slide 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 arranging

Slide 15

Sample Program - Bunny and Broccoli

Slide 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 World

Slide 18

Select Template (Ground)

Slide 19

Add Objects

Slide 20

The Scene Editor

Slide 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 Instance

Slide 23

Objects in The World Objects in Alice Have their own casing of reference forward – in reverse up – down left – right

Slide 24

Frame of Reference Clicking on question bring sup its bouncing box Can likewise observe focus point .. also, tomahawks

Slide 25

Frame of Reference UP CENTER POINT RIGHT FORWARD

Slide 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 subparts

Slide 29

Subparts Bigger ear

Slide 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 articles

Slide 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 in

Slide 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 customize

Slide 34

Moving Broccoli Down Option 1 Option 2

Slide 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 seconds

Slide 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 protest

Slide 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 parameters

Slide 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 Method

Slide 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 noticeable

Slide 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 choice

Slide 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

Recommended
View more...