Sei sulla pagina 1di 23

Introduction to Alice

Objectives
1. What is Alice? And Getting Alice software
2. What does Alice means?
3. What will you get from the course?
4. Setup Alice
5. IDE of Alice
6. Demonstrations
7. Resource
8. Course plan
9. Evaluation strategy
10.Assignment and Project guides

What is Alice ?
Alice is a solution to the current big problem in Computer Science
Education: Attracting and Retaining Students
Alice is an interactive graphic 3D programming environment
Alice is a modern programming environment designed to be a
student's first exposure to object-oriented programming
Alice is an object-based programming language
Sponsors:

What does Alice means?


Principle character of the book Alices
Adventures in Wonderland and Through the
Looking Glass.
Author: Charles Lutwidge Dodson, an English
mathematician and logician.
Pen-name: Lewis Caroll

Getting Alice Software


The Alice software system , a tool for learning to
program, is registered by Carnegie Mellon
University.
Getting Alice software:
http://www.alice.org (free download)
Version 2.4.1/2.4.2 or 2.2 (08/05/2011)
Additional galleries

Server of FU

Bug reporting:
http://www.alice.org/bugreport/submit.php

What will you get from the course?


Developer skills
Algorithmic thinking and expression
e.g. Mechanism or How

Abstraction
Appreciation of elegance
Good or bad to optimize

Setup Alice in Manually

Download the Alicex.x.zip

Unzip above file to your hard disk

Create a shortcut to Alice Exe

Optional:
copy
additional
gallery and textbook examples

IDE of Alice

Program Edit Mode

IDE of Alice

IDE of Alice

IDE of Alice

Demonstrations
Run the tutorial
Step 1: Run the Alice tools
Click the Alice icon on the desktop
Or, click Alice.exe file in the installed directory to
run Alice.

Step 2: Start the Tutorial


Choose the tutorial tab from the Welcome to
Alice! windows
Or, click menu File/ Open World/ Tutorial

Demonstrations
FirstWorld.a2w
Load the program:
Menu File/Open world/ Textbook/ AppendixA_FirstWorld.a2w

Play the animation


Non-interactive animation (movie style)

DancingBee.a2w
Load the program:
Menu File/Open world/ Textbook/ AppendixA_DancingBee.a2w

Event-driven animation (interactive style)


up-arrow key for Hare to jump, space bar for Bee to
perform a pirouette in flight

Resources
FUHCM server for software, gallery, exercises
and project (corp_share)
More resources on
http://cms.fpt.edu.vn
http://www.alice.org
Forum in alice.org
Alices Forum in cms-hcm.edu.vn

External resources
Alice sng to th gii o (Trng H FPT)
Softcopy of Alice Books
Offline website of college briefing Alice courses

Course plan

See course plan on cms


Agenda

Introductions
Get starting with Alice
Program Design and Implementation
Programming: Putting together the pieces
Classes and Objects (2 days)
1st Examination
Interaction: Events and Event Handling
Functions and If/Else
Repetition: Definite and Conditional Loops
Repetition: Recursions
Reviews
2nd Examination (2 days)

Evaluation strategy
Must attend more than 80% of contact hours (if not, not allow to
take exam).
Evaluating
08 Quiz (Q)

10%

08 Assignments (A)

20%

First Exam (FE)

30%

Second Exam (SE)

40%

Total score = 10% (Q) + 20% (A) + 30% (FE) + 40% (SE)
Pass
Total score 5 and Second Exam 4 (of 10)

Every components > 0

Retake only the Final Exam when not passed

Assignments and Project Guide


They are required submit via CMS following the submission
option at the end of each lab. They are assigned as following
Group

Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

1 All 5 exercises

All 6 exercises

2,3,4,5,6,7

1,5,9

1,14,16

1,7,11

1,5,9

1,5

2 All 5 exercises

All 6 exercises

2,3,4,5,6,8

2,6,10

2,13,15

2,8,12

2,6,10

2,6

3 All 5 exercises

All 6 exercises

2,3,4,5,6,9

3,7,11

3,12,14

3,9,13

3,7,9

3,7

4 All 5 exercises

All 6 exercises

2,3,4,5,6,10

4,8,12

4,11,13

4,10,14

4,7,8

4,5

5 All 5 exercises

All 6 exercises

2,3,4,5,6,11

1,6,9

5,10,12

5,11,15

1,6,9

1,6

6 All 5 exercises

All 6 exercises

2,3,4,5,6,12

2,7,10

6,9,11

1,12,16

2,7,10

2,7

7 All 5 exercises

All 6 exercises

2,3,4,5,6,13

3,8,11

7,10,13

2,11,13

3,5,8

3,5

8 All 5 exercises

All 6 exercises

2,3,4,5,6,14

4,5,12

8,9,12

3,12,14

4,6,9

4,6

9 All 5 exercises

All 6 exercises

2,3,4,5,6,15

1,7,9

7,10,14

4,13,15

1,7,10

1,7

10 All 5 exercises

All 6 exercises

2,3,4,5,6,16

2,8,10

8,11,15

5,14,16

2,6,8

2,5

How to study

Depending on the course plan

Read the softcopy of book and the offline website to get the
general concept
Reference, study, collection from anywhere else (internet, your
classmate, forum )
In class, listens, understand, then make your own notes (then, ask
questions to make sense)

Create your scenarios (from your daily works, your


experiences, your observations) and implement them in
Alice tool
Improve all the objects in your whole same as the real
world
Get more experiences from the web site with keyword
Alice tutorial

Course Requirements

Reading textbook and documents at home before attending the class


Every hours, reviews are taken place
Following lessons in classrooms
Completing chapter assessment in time
After class
Discuss your classmate in directly, on forum
Give your explanations that can be easy more understand than the lectures,
book contents in directly, on forum (those can help you take many bonus
marks)
Do the lab assignments to submit vis CMS
Build your teams in yourselves to support together in studying

Others
Off phones

Use laptops under teachers instruction


No game, no chat in class

Academic Policy
Cheating, plagiarism and breach of copyright
are serious offenses under this Policy.
Cheating
Cheating during a test or exam is construed as talking, peeking
at another students paper or any other clandestine method of
transmitting information.

Plagiarism
Plagiarism is using the work of others without citing it; that is,
holding the work of others out as your own work.

Breach of Copyright
If you photocopy a textbook without the copyright holder's
permission, you violate copyright law.

Enjoy the Alices course


Be enthusiastic about the material because it is
interesting, useful and an important part of your
training as a software engineer. Our job is to help
you learn and enjoy the experience. We will do our
best but we need your help. So lets all have fun
together with Alice

Q&A

Next Lecture
Alice concept
Virtual World
Objects and 3D models
Thee dimensions and six directions
Center of an object
Position of an object
Animation

Potrebbero piacerti anche