alice-teacher Extended If Question

Don Slater dslater at andrew.cmu.edu
Wed Mar 5 10:17:00 EST 2014


Neil,
If I understand you correctly, using embedding an if-else inside of an if or an else by dragging and dropping is the only way that this is possible in Alice. Are you suggesting that a drop down menu option might be useful here?

Later,
Don Slater

On Mar 5, 2014, at 9:50 AM, Neil Ascione <neil.ascione at pequannock.org> wrote:

> Hi Don!
> 
> Hope all is well!  
> 
> I'm very new to the Alice interface and trying to implement an Extended If
> ie:
> 
> if (intChoice == 0)
>    name = "Fred"
> else if (intChoice ==1)
>    name = "Ed"
> else if (intChoice == 2)
>    name = "Ned"
> else
>    name = "Johnson"
> 
> I may very well be missing something obvious - but I only see drag and drop functionality for an if-else.  I can embed those, but is there another way to do this?
> 
> Thanks!
> Neil
> 
> 
> On Tue, Mar 4, 2014 at 9:21 PM, <alice-teachers-request at lists.andrew.cmu.edu> wrote:
> Send alice-teachers mailing list submissions to
>         alice-teachers at lists.andrew.cmu.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> or, via email, send a message with subject or body 'help' to
>         alice-teachers-request at lists.andrew.cmu.edu
> 
> You can reach the person managing the list at
>         alice-teachers-owner at lists.andrew.cmu.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of alice-teachers digest..."
> 
> 
> Today's Topics:
> 
>    1. Re:  A2/A3 Textbooks (Gilbert Stankiewicz)
>    2. Re:  A2/A3 Textbooks (Lori Fuller)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 4 Mar 2014 08:09:05 -0500
> From: Gilbert Stankiewicz <gilbert at cpcs.us>
> Subject: Re: alice-teacher A2/A3 Textbooks
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
>         <CABQ+sfxQYw7y42X7LLOnb7G2=_=-C=HMxQ8woL5NbuwD1uYPAA at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> LaShonda,
> 
> I'm just getting started with the text "Learning Java Through Alice" by
> Tebring Daly and Eileen Wrigley, ISBN 9781491073933.  Using the NetBeans
> Alive plugin, students can import programs created in Alice 3.1 into the
> NetBeans IDE.  They can then examine and modify the code directly in
> NetBeans.  The text guides the student through the process while also
> introducing Java programming.
> 
> This is the only text I found that combines Alice 3.1 programming with
> Java. I am quite excited about the possibilities this provides for the
> small class of high school seniors in the course.
> 
> Gilbert
> 
> 
> On Mon, Mar 3, 2014 at 9:02 PM, LaShonda Torbert <
> LTorbert at stoneridgeschool.org> wrote:
> 
> > Hi,
> >
> > I was just wondering if anyone uses a textbook with Alice. If you do, what
> > are your recommendations for a textbook? If you don?t use a textbook, are
> > there other resources that you use?
> >
> > I will be teaching a class for the first time, and I?m just curious about
> > what other teachers do for Alice at the high school level. I had a class
> > that used Alice in college that didn?t use a textbook, and we were fine
> > with just the teacher?s notes.
> >
> > Thanks,
> > LaShonda
> >
> > LaShonda Torbert
> > Upper School Science Department-Physics Teacher
> > 301.657.4322 ext 660
> > Ltorbert at stoneridgeschool.org
> >
> >
> >
> >
> >
> >
> > On 3/3/14, 3:15 PM, "Don Slater" <dslater at andrew.cmu.edu> wrote:
> >
> > >It might be helpful to the community when posting, to put (A2) for Alice
> > >2, or (A3) for Alice 3 subjects. This will clarify the context of the
> > >question, and probably generally helpful.
> > >
> > >And of course, if it is a general question, please feel free to ignore
> > >the request ;-)
> > >
> > >Thank you,
> > >Don Slater
> > >
> > >_______________________________________________
> > >alice-teachers mailing list
> > >alice-teachers at lists.andrew.cmu.edu
> > >https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> >
> > _______________________________________________
> > alice-teachers mailing list
> > alice-teachers at lists.andrew.cmu.edu
> > https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> >
> 
> 
> 
> --
> Gilbert Stankiewicz
> Mathematics Teacher
> Colton-Pierrepont Central School
> Colton, NY 13625
> 
> (315) 262-2100
> http://cpcs.us
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140304/33c29c35/attachment-0001.html
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 04 Mar 2014 08:15:26 -0500
> From: "Lori Fuller" <lori.fuller at browardschools.com>
> Subject: Re: alice-teacher A2/A3 Textbooks
> To: alice-teachers at lists.andrew.cmu.edu
> Message-ID:
>         <fc.0119ec074cd75e103b9aca004c11d0c3.4cd765be at browardschools.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Alice educators <alice-teachers at lists.andrew.cmu.edu> on March 3, 2014 at
> 9:02 PM -0500 wrote:
> >I was just wondering if anyone uses a textbook with Alice. If you do, what
> >are your recommendations for a textbook? If you don?t use a textbook, are
> >there other resources that you use?
> >
> >I will be teaching a class for the first time, and I?m just curious about
> >what other teachers do for Alice at the high school level. I had a class
> >that used Alice in college that didn?t use a textbook, and we were fine
> >with just the teacher?s notes.
> 
> Learning to Program with Alice, 3rd Ed. is an excellent resource. I'm
> hoping they are coming out with 4th Ed. soon... It provides good
> instruction on how to program using Alice and has many opportunities for
> practice and understanding. Along with the tutorials provided on Duke's
> website, I've managed to fill 3/4 of the year so far.
> 
> I am reviewing several books for the Alice 3, but not found one I like for
> everything. May need to combine with a JAVA programming text to fill an
> entire year.
> 
> 
> 
> thanks,
> 
> Lori Fuller, M.Ed.
> Monarch High School
> Career Technology Department Head
> Technology Coordinator
> Asst. Athletic Director
> 
> "A posse ad esse", from possibility to actuality...
> 
> [Image:photo.JPG]
> 
> Under Florida law, e-mail addresses, and all communications, including
> e-mail communications, made or received in connection with the transaction
> of School Board business are public records, which must be retained as
> required by law and must be disclosed upon receipt of a public records
> request, except as may be excluded by federal or state laws.  If you do
> not want your e-mail address released in response to a public records
> request, do not send electronic mail to this entity. Instead, contact this
> office by phone or in writing.
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140304/1c8029fe/attachment.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: 3414_81240_0.jpg
> Type: image/jpeg
> Size: 80231 bytes
> Desc: not available
> Url : http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140304/1c8029fe/attachment.jpg
> 
> ------------------------------
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> 
> 
> End of alice-teachers Digest, Vol 44, Issue 4
> *********************************************
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20140305/74bcb4bf/attachment.html 


More information about the alice-teachers mailing list