Sunteți pe pagina 1din 10

Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No.

3/2012

MEDII VIZUALE DE VISUAL DEVELOPMENT


DEZVOLTARE BAZATE PE ENVIRONMENTS BASED ON
PROGRAMAREA ORIENTATĂ OBJECT-ORIENTED
PE OBIECTE PROGRAMMING

Adrian Runceanu, Universitatea Adrian Runceanu, Constantin


Constantin Brancusi, Targu Jiu, Brancusi University, Targu Jiu,
ROMANIA ROMANIA
Mihaela Runceanu, Colegiul Mihaela Runceanu, The National
National Ecaterina Teodoroiu, College Ecaterina Teodoroiu, Targu
Targu Jiu, ROMANIA Jiu, ROMANIA

REZUMAT: In aceasta lucrare va ABSTRACT: In this paper we present


prezentam variante alternative pentru alternatives for developing applications
dezvoltarea aplicatiilor avand ca baza based on Java, using two of the most
limbajul Java. Doua dintre cele mai popular Java tools Alice 3 and Greenfoot.
populare instrumente Java sunt Alice 3 si Both applications provide innovative
Greenfoot. Ambele aplicatii ofera medii de programming environment and are widely
programare inovatoare și sunt utilizate pe used in universities and high schools
scară largă în universități și licee din around the world.
întreaga lume. Alice 3 and Greenfoot help users to learn
Alice 3 si Greenfoot ajuta utilizatorii sa programming in Java and can be used
invete programarea in Java si pot fi folosite successfully and without excessive
cu succes si fara o dificultate deosebita in difficulty in learning object oriented
invatarea programarii orientate pe obiecte. programming. We strongly recommend
Recomandam profesorilor sa foloseasca teachers to use these two Java tools for
aceste instrumente Java pentru a preda teaching object-oriented programming.
programarea orientate pe obiecte.
KEY WORDS: Java, programming,
CUVINTE CHEIE: Java, programare, class, Alice, Greenfoot, animation.
clasa, Alice, Greenfoot, animatie
1. INTRODUCTION
1. INTRODUCERE
The innovative programming environment
Mediul de programare inovativ Alice 3 teaches students to program with Alice and
învață studentii să programeze folosind Java software as they have fun creating 3D
Java intr-un mod mai simplu, prin crearea animations, stories and video games.
de animații 3D, povești și jocuri video. Alice 3 incorporates characters, anatomical
Alice 3 include personaje, miscari ale motions and other art assets from the
corpului și alte elemente din Sims ™ - Sims™ — one of the bestselling PC video
unul dintre cele mai bine vandute jocuri games of all time.
video pentru PC din toate timpurile.
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
151
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

Elementele Sims ™ transforma personajele The Sims™ assets transform the more
și animațiile mai rudimentare din Alice 2.0 rudimentary characters and animations of
într-un conținut mai sofisticat pe care Alice 2.0 into sophisticated content that
fiecare jucător joc il poate recunoaște. every game player can recognize.
Alice este orientat pe obiecte, un sistem Alice is an object-oriented, open source
open source dezvoltat în ultimul deceniu și system developed over the last decade and
a fost oferit gratuit profesorilor și provided free to educators and students by
studentilor de către Carnegie Mellon Carnegie Mellon University. It features a
University. Alice dispune de o interfata drag-and-drop interface that allows
drag-and-drop, care permite studentilor să students to create 3D environments and
creeze medii 3D și sa le populeze cu o populate them with a wide variety of easy-
mare varietate de obiecte și caractere ușor to-program objects and characters.
de programat. Greenfoot is an interactive Java
Greenfoot este un mediu interactiv de development environment designed
dezvoltare Java, proiectat în principal primarily for educational purposes at the
pentru scopuri educaționale la nivel de high school and undergraduate level. It
liceu si universitar. Acesta permite allows easy development of two-
dezvoltarea usoara a aplicatiilor grafice dimensional graphical applications, such as
bidimensionale, cum ar fi simulări și jocuri simulations and interactive games.
interactive. Greenfoot is being developed and
Greenfoot este dezvoltat de catre maintained at the University of Kent and
Universitatea din Kent și La Trobe La Trobe University, with support from
University, cu sprijin din partea Oracle. Oracle. It is free software, released under
Acesta este un software gratuit, lansat sub the GPL license. Greenfoot is available for
licenta GPL. Greenfoot este disponibil Microsoft Windows, Mac OS X, Linux,
pentru Microsoft Windows, Mac OS X, Sun Solaris, and any recent JVM
Linux, Sun Solaris, precum și orice recente
JVM VISUAL DEVELOPMENT
ENVIRONMENTS – GREENFOOT
MEDII DE DEZVOLTARE AND ALICE 3
VIZUALA – GREENFOOT AND
ALICE 3 Java is a programming language
and computing platform first released by
Java este un limbaj de programare Sun Microsystems in 1995. It is the
si prima platforma de calcul lansata de Sun underlying technology that powers state-
Microsystems în 1995. Aceasta este of-the-art programs including utilities,
tehnologia de baza pentru progamele stat- games, and business applications. Java
of-the-art, incluzand utilități, jocuri și runs on more than 850 million personal
aplicații de afaceri. Java ruleaza pe mai computers worldwide, and on billions of
mult de 850 de milioane de computere devices worldwide, including mobile and
personale la nivel mondial, precum și cu TV devices.
miliarde de dispozitive mobile din întreaga There are lots of applications and
lume, inclusiv și dispozitive TV. websites that won't work unless you have
Există o mulțime de aplicații și site- Java installed, and more are created every
uri care nu vor funcționa dacă nu aveți day. Java is fast, secure, and reliable. From
instalat Java, și mai sunt create altele în laptops to datacenters, game consoles to
fiecare zi. Java este rapid, sigur și fiabil. scientific supercomputers, cell phones to
De la laptop-uri la centre de date, console the Internet, Java is everywhere!
de jocuri la supercalculatoare stiintifice,
telefoane mobile la Internet, Java este
peste tot!

Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
152
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

Sintaxa limbajului derivă mare parte din The language derives much of its syntax
sintaxa C și C + +, dar are mai puține from C and C++, but has fewer low-level
facilități de nivel scăzut decât oricare facilities than either of them. Java
dintre ele. Aplicațiile Java sunt, de obicei applications are typically compiled to byte
compilate în cod octet (fișier de clasă), code (class file) that can run on any Java
care poate rula pe orice Java Virtual Virtual Machine (JVM) regardless of
Machine (JVM), indiferent de arhitectura computer architecture. Java is a general-
calculatorului. Java este cu scop general, purpose, concurrent, class-based, object-
concurent, pe bază de clase, limbaj oriented language that is specifically
orientat-obiect, care este special conceput designed to have as few implementation
pentru a avea putine dependențe de punere dependencies as possible. It is intended to
în aplicare. Acesta este destinat pentru a let application developers "write once, run
permite dezvoltatorilor de aplicații " write anywhere" (WORA), meaning that code
once, run anywhere " (WORA), ceea ce that runs on one platform does not need to
înseamnă că un cod care ruleaza pe o be recompiled to run on another. Java is as
platforma nu trebuie să fie recompilat of 2012 one of the most popular
pentru a rula pe o alta platforma. Java este programming languages in use,
din 2012 unul dintre cele mai populare particularly for client-server web
limbaje de programare utilizat, în special applications, with a reported 10 million
pentru aplicații web client-server, cu 10 users.
milioane de utilizatori. We will present you two of the most
Va vom prezenta două dintre cele mai popular Java tools: Alice 3 and Greenfoot.
populare instrumente Java: Alice 3 și Both of them are used to create animation.
Greenfoot. Ambele dintre ele sunt folosite Alice 3 is used to create animations with
pentru a crea animație. Alice 3 este folosit 3D objects that move and act. Greenfoot is
pentru a crea animații 3D cu obiecte care used for creating interactive games that
se mișcă și acționează. Greenfoot este involve human interactions, decisions, and
utilizat pentru crearea de jocuri interactive, actions. but with 2D objects. Both Alice
care implică interacțiuni umane, decizii și and Greenfoot are very useful tools for
acțiuni, dar cu obiecte 2D. Atât Alice si learning Java.
Greenfoot sunt instrumente foarte utile Why Learn Alice 3?
pentru a învăța Java. Alice 3 offers a good introduction to
De ce sa studiem Alice 3? learning how to program for many reasons:
Alice 3 ofera o buna introducere pentru 1. It uses natural English language words
invatarea elementelor de programare like “move forward” or “turn left”
pentru mai multe motive: rather than obscure programming
1. Foloseste cuvinte din limba engleza syntax.
mai usor de folosit decat o sintaxa de 2. The programmer drag and drop
programare obscura. objects on the screen and press “Run”
2. Programatorul trage si plaseaza to run your animation rather than
obiectele pe ecran, apoi apasa “Run” using the keyboard to type.
pentru a fi executata animatia. 3. When the programmer makes a
3. Atunci cand programatorul face o mistake in Alice 3, it is usually
greseala in Alice 3, de obicei este obvious how to fix the mistake. In
foarte simplu sa o resolve. În limbajele programming languages it is often
de programare, este de multe ori dificil difficult to interpret error messages.
de a interpreta mesaje de eroare. 4. Alice 3 allows you to learn
4. Alice 3 permite învațare de concepte fundamental programming concepts in
fundamentale de programare, în the context of creating animated
contextul crearii de filme animate și movies and simple video games.
jocuri video simple.

Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
153
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

5. Prin manipularea obiectelor intr-o 5. By manipulating the objects in a virtual


lume virtuala, puteti castiga experienta world, you can gain experience with many
cu multe dintre elementele de of the programming constructs typically
programare de obicei predate intr-un taught in an introductory programming
curs intensiv de programare. course.
De ce sa studiem Greenfoot? Why Learn Greenfoot?
1. Ne invata elementele de baza ale 1. It teaches the basics of Java syntax
sintaxei Java si orientarea pe obiecte and object orientation which makes
ceea ce face dezvoltarea de aplicații developing desktop Java applications
desktop Java mai ușoara decât pornind easier than starting from scratch.
de la zero. 2. Its interface is an interactive
2. Interfata sa este un mediu de development environment (IDE) that
dezvoltare interactive (IDE) ceea ce allows you to edit source code,
permite editarea codului sursa, compile, and debug, just like in other
compilarea si depanarea exact ca in Java IDE's.
orice alt mediu interactiv Java.
Alice 3 and Greenfoot will help users learn
Alice 3 and Greenfoot ajuta utilizatorii sa to program in Java. In order to use Alice 3
invete programarea in Java. Cu toate and Greenfoot, however, we need to learn
acestea, in scopul de a utiliza Alice 3 si certain skills to create animations and
Greenfoot, este nevoie sa dezvoltam games. Here is a high level overview of the
anumite competente pentru crea animatii si steps involved in creating an animation or
jocuri. Iata o imagine de ansamblu la nivel game:
înalt cu privire la pasii implicati în crearea 1. Define a scenario
unei animații sau unui joc: – What story is to be told?
1. Definirea unui scenariu – What objects are needed?
– Care este scenariul (povestea)? – What actions will take place?
– Ce obiecte sunt necesare? 2. Design the storyboard for the scenario
– Ce actiuni vor avea loc? – Visual or textual (or both)
2. Proiectarea unui storyboard pentru 3. Create the animation or game (in Alice
scenariu – Vizual sau textual (sau ambele) or Greenfoot)
3. Crearea animatiei sau jocului (in Alice 4. Test
sau Greenfoot)
4. Testarea A scenario contains three parts:
• Story: The story to tell, or game to play.
Un scenariu contine trei parti: For example, a flying frog will catch flies
• Povestea: Povestea care trebuie spusa, and eat them.
ori jocul care trebuie jucat. • Objects: The objects you will use in your
• Obiectele: Obiectele pe care vor fi story. For example, a frog and flies.
folosite in poveste. • Actions: All the actions the objects will
• Actiunile: Toate actiunile pe care le vor take.
efectua obiectele.
Animation Development Process
Procesul de dezvoltare a animatiei

Step 1 Step 2 Step 3 Step 4

Define the Design a Program the Run the


Scenario Storyboard Animation Animation

Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
154
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

Cand lucram cu Alice 3, invatam


cum sa programam fara a invata efectiv un
limbaj de programare! Elementele pe care As we work with Alice 3, we learn
le trage si le plasam intr-un scenario how to program without learning an actual
reprezinta structuri logice, iar obiectele si programming language! The tiles that we
actiunile in Alice 3 corespund limbajului drag and drop represent logical structures
de programare Java. and also the objects and actions in Alice 3
correspond to the Java programming
Alice versus Java language.

Alice 3 Java
Limbaj de programare; pot fi efectuate
editari folosind un mediu de dezvoltare
Mediu de programare 3D integrat (IDE).

3D programming environment Programming language; can be edited


using integrated development environment
(IDE).
Poate fi folosit pentru crearea aplicatiilor
Poate fi folosit pentru a crea animatii,
care ruleaza pe orice platform, inclusiv pe
jocuri sau filme interactive
web.
Can be used to create animations,
Can be used to create applications that run
interactive games or videos
on any platform, including the web.
Limbajul orientat pe obiecte reduce
complexitatea deoarece modeleaza obiecte
Operatiile de tip “drag and drop” reduc din lumea reala, este permisa reutilizarea
erorile de sintaxa lor si obiectele sunt mai usor de intretinut.

Drag and drop coding reduces syntax Object oriented language reduces
errors complexity because objects model real
world objects, allow for re-use and easier
maintenance.

public class HelloWorld


{
public static void main()
{
System.out.println( "Hello World!" );
}
}

Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
155
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

Greenfoot versus Java Greenfoot versus Java

Spre deosebire de Alice, care presupune Unlike Alice that means very much visual
foarte multa programare vizuala, programming, Greenfoot means mostly
Greenfoot inseamna mai mult scrierea de writing code in Java. The main tool for
cod Java. Principalul instrument de programming in Greenfoot is the code
programare in Greenfoot este editorul de editor. The code editor displays the source
cod (code editor). Editorul de cod afiseaza code for the class. The source code of a
codul sursa pentru clasa. Codul sursa al class is the code that specifies all of the
clasei specifica toate proprietatile si properties and characteristics of that class
caracteristicile clasei si ale obiectelor sale. and its objects. The programmer can
Programatorul poate cere obiectelor din command the objects in his scenario to
scenario sa efectueze actiuni sau sa perform tasks or answer questions by
raspunda unor cerinte prin scrierea de cod writing source code, or syntax, in the Java
sursa in limbajul de programare Java. Cand programming language. When selecting
selectam “Open Editor” din meniul clasei the Open Editor from the class's menu to
putem vedea fereastra de editare care see the editor window that contains the
contine codul sursa al clasei. Codul sursa class's source code. The source code
afiseaza ce actiuni pot realiza obiectele displayed defines what the objects of the
clasei) class can do.

In editorul de cod, programatorul poate sa In the code editor, the programmer can:
realizeze urmatoarele: • Write source code to tell instances of the
• Sa scrie cod sursa pentru a preciza cum class how to act
vor actiona instantele clasei • Review a class's inherited methods and
• Sa revizuiasca metodele si proprietatile properties, to understand what actions the
mostenite de clasa, sa inteleaga ce actiuni instances are capable of taking
pot fi efectuate de catre instante • Review methods created specifically for
• Sa revizuiasca metodele create special the class by the programmer who wrote the
pentru clasa de catre programatorul care a source code
scris codul sursa • Modify existing source code to change an
• Sa modifice codul sursa existent pentru a instance's behavior
modifica comportamentul unei instante
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
156
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

Modelul de programare Greenfoot este The Greenfoot programming model


format din clasa World (reprezentata consists of a World class (represented by a
printr-o zona de ecran dreptunghiulara) rectangular screen area) and any number of
impreuna cu un numar de obiecte actor actor objects that are present in the world
care sunt prezente in aceasta lume (world) and can be programmed to act
si care pot fi programate sa actioneze independently. The world and actors are
independent. Lumea si actorii sunt represented by Java objects and defined by
reprezentati de obiectele Java si sunt Java classes. Greenfoot offers methods to
definite de clasele Java. Greenfoot ofera easily program these actors, including
metode de a programa usor acesti actori, method for movement, rotation, changes of
incluzand metode pentru miscare, rotatie, appearance, collision detection, etc.
schimbarea aspectului, detectarea Programming in Greenfoot at its most
coliziunii etc. basic consists of subclassing two built-in
Programarea in Greenfoot are ca baza doua classes, World and Actor. An instance of
component, clasele World and Actor si se the world subclass represents the world in
dezvolta subclase ale acestora. O instanta a which Greenfoot execution will occur.
subclasei World reprezinta mediul in care Actor subclasses are objects that can exist
are loc actiunea. Subclasele Actor sunt and act in the world. An instance of the
obiecte care pot exista si actiona in acea world subclass is automatically created by
lume. O instanta a subclasei world is create the environment.
automat de catre mediul de programare. Execution in Greenfoot consists of a built-
Executarea in Greenfoot consta dintr-o in main loop that repeatedly invokes each
bucla principala care apeleaza in mod actor's act method. Programming a
repetat fiecare metoda de actiune a scenario, therefore, consists mainly of
actorului. Programarea unui scenariu, prin implementing act methods for the
urmare, constă în principal din punerea în scenario's actors. Implementation is done
aplicare a metodelor de actiune pentru in standard Java. Greenfoot offers API
actorii scenariului. Punerea în aplicare se methods for a range of common tasks, such
face în standardul Java. Greenfoot oferă as animation, sound, randomisation, and
metode API pentru o gamă de sarcini image manipulation. All standard Java
comune, cum ar fi animatie, sunet, libraries can be used as well, and
randomizare, precum și manipularea sophisticated functionality can be
imaginii. Toate bibliotecile standard Java achieved.
pot fi folosite la fel de bine, și pot fi atinse
funcționalitati complexe. Important Java Concepts

Concepte Java importante In Alice3

In Alice3 • Animation of 3D objects takes place in


a virtual world
• Animatia obiectelor 3D are loc intr-o • Galleries contain 3D objects
lume virtuala • Objects can move in 6 directions
• Galeriile contin obiecte 3D • An Object has an orientation
• Obiectele se pot misca in 6 directii • An Object's center is set by the object
• Un obiect are o orientare creator
• Centrul unui obiect este stabilit de • A scenario describes an overall
creatorul obiectului. animation
• Un scenario descrie o animatie de • A storyboard can be visual or textual
ansamblu • A program consists of lines of code
• Un storyboard poate fi vizual sau • Program code is structured in blocks
textual (Do together)
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
157
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

determina daca programul functioneaza


• Un program este format din linii de cod corect.
• Codul programului este structurat in 4. Configurarea mediului – Configurarea
blocuri mediului hardware si software
• Functiile furnizeaza proprietatile unui
obiect • Functions provide properties of an
• Functile pot fi folosite pentru a calcula object
o valoare • Functions can be used to compute a
value
In Greenfoot • Boolean functions return true or false

• Scenariile sunt formate dintr-o multime In Greenfoot


de clase
• Obiectele sunt create dintr-o clasa • Scenarios consist of a set of classes
• Obiectele plasate intr-o lume sunt • Objects are created from a class
cunoscute sub denumirea de actori • Objects placed in a world are known as
• Obiectele au metode actors
• Metoda returneaza un tip care specifica • Objects have methods
ce va returna aceasta • Method return types specify what a
• Void inseamna ca nu returneaza nimic method will return
• Parametrii sunt folositi pentru a • Void return types return nothing
transmite date unei metode • Parameters are used to pass data to a
• Parametrii au tipuri (int, boolean) method
• Signatura este specificatia metodei • Parameters have types (int, boolean)
• O subclasa este o specializare a unei • Signatures are a specification of a
clase method
• Fiecare clasa este definite de codul • A subclass is a specialization of a class
sursa • Every class is defined by source code
• Codul sursa necesita compilare • Source code needs to be compiled
• Notatia cu punct este folosita pentru a (translated tomachine code)
apela o metoda static in alta clasa • Dot notation is used to call a static
• Metodele care apartin claselor folosesc method in another class
cuvantul cheie static in signature lor. • Methods belonging to classes use the
• Metodele pot fi definite pentru o actiune static keyword in their signature
noua. • Methods can be defined for a new
action
Etapele de testare a software-ului sunt:
Software testing activities or stages
1. Analiza cerintelor – procesul de include:
determinare a asteptarilor utilizatorului
(listarea tipurilor de teste pentru a fi 1. Requirement analysis – the process for
executate, stabilirea prioritatilor testelor, determining the user expectations (listing
fezabilitate automata) the type of tests to perform, prioritizing
2. Planificarea testului – Scrierea unei and focusing tests, automation feasibility)
strategii de planificare a testului; selectarea 2. Test planning - Writing test plan
uneltelor de test; estimarea timpului strategy; selecting test tools; estimating
necesar pentru testare; instruirea time required for testing; training
3. Dezvoltarea situatiei de test – poate fi 3. Test case development - can be defined
definit ca o multime de conditii sau as a set of conditions or variables with
variabile cu care un inginer de test va

Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
158
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

which a test engineer will determine if a construi și sprijini un model mental care
software program is working correctly reprezintă intr-un mod corect sistemele
4. Environment setup - Set up hardware moderne de programare orientate pe
and software environment obiect.
4. Configurarea mediului – Configurarea 5. Test execution - is defined as the
mediului hardware si software execution of the same test against many
5. Executarea testului – se defineste ca parts of a software program (interface,
executarea aceluiasi test pe mai multe parti business logic, web layer, etc.)
de program 6. Test cycle closure - is a set of defined
6. Testare cyclului de inchidere closure - start and stop points in a quality assurance
este un set de puncte de start și puncte program.
pentru verificarea calității programului. The users can find a description of all Java
Utilizatorii pot gasi descrierea tuturor methods in the on-line Java API.
metodelor Java in on-line Java API. Understanding how to navigate this vast
Intelegerea navigarii in aceasta vasta library of standard methods and classes
biblioteca de metode si clase standard va will aid you in writing Java programs and
ajuta in scrierea programelor Java sis a reusing many code blocks that have
reutilizati multe blocuri de cod care au fost already been created by others. Using a
deja create de altii. Aici puteti gasi Editia browser search engine search for the
Standard pentru Java 6: keywords “Java API.” You will find your
http://docs.oracle.com/javase/6/docs/api/ way to several editions. Here is the
Standard Edition for Java 6:
CONCLUZIE http://docs.oracle.com/javase/6/docs/api/

Utilizand un mediu de programare CONCLUSION


3D, inovator, care face mai ușoara crearea
de animații sau jocuri, proiectul Alice Using an innovative 3D
urmărește să ofere unelte și materiale programming environment that makes it
pentru un nucleu conceptual al gândirii easy to create animations or games, the
computationale, rezolvarea de probleme și Alice Project seeks to provide tools and
programarea calculatorului. materials for a conceptual core of
Suita de instrumente educaționale Alice computational thinking, problem solving,
este conceputa pentru a sprijini predarea și and computer programming.
învățarea la diferite nivele de varsta si de The Alice Suite of educational tools is
specializare, atat la nivel preuniversitar cat designed to support teaching and learning
si la nivel de universitate. across a spectrum of ages, grade levels,
Greenfoot își propune să motiveze and classes in K-12 and in college or
persoanele care învață rapid prin university courses.
asigurarea unui acces facil la grafică Greenfoot aims to motivate learners
animata, sunet și interacțiune. Mediul este quickly by providing easy access to
extrem de interactiv și încurajează animated graphics, sound and interaction.
explorarea și experimentarea. Pedagogic, The environment is highly interactive and
proiectarea se bazează pe abordări encourages exploration and
constructiviste. experimentation. Pedagogically, the design
În al doilea rând, mediul este conceput is based on constructivist and
pentru a ilustra și sublinia abstractizarile apprenticeship approaches.
importante și conceptele de programare Secondly, the environment is designed to
orientata pe obiecte. Concepte cum ar fi illustrate and emphasize important
relația clasa / obiect, metodele, parametrii, abstractions and concepts of object-
și interacțiunea obiectelor sunt transmise oriented programming. Concepts such as
prin intermediul vizualizării și a the class/object relationship, methods,
interacțiunilor ghidate. Scopul este de a parameters, and object interaction are
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
159
Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012

conveyed through visualizations and


guided interactions. The goal is to build
and support a mental model that correctly
represents modern object-oriented
programming systems. REFERENCES

BIBLIOGRAFIE [1] Ficher, S., Kölling, M., Utting, I.,


Brown, N., Stevens, P., 2010, Repositories
[1] Ficher, S., Kölling, M., Utting, I., of Teaching Material and Communities Of
Brown, N., Stevens, P., 2010, Repositories Use: Nifty Assignments and the
of Teaching Material and Communities Of Greenroom, Proceedings of the Sixth
Use: Nifty Assignments and the international workshop on Computing
Greenroom, Proceedings of the Sixth education research (ACM SIGCSE): 107–
international workshop on Computing 114.
education research (ACM SIGCSE): 107– [2] Gaddis, T., Starting Out with Alice: A
114. Visual Introduction to Programming, 2007,
[2] Gaddis, T., Starting Out with Alice: A Pearson Addison Wesley
Visual Introduction to Programming, 2007, [3] Henriksen, P., Kölling, M., McCall, D.,
Pearson Addison Wesley 2010, Motivating Programmers Via An
[3] Henriksen, P., Kölling, M., McCall, D., Online Community, Journal of Computing
2010, Motivating Programmers Via An Sciences in Colleges (Association for
Online Community, Journal of Computing Computing Machinery) 25 (3): 82–93.
Sciences in Colleges (Association for [4] Herbert C. W., An Introduction to
Computing Machinery) 25 (3): 82–93. Programming Using Alice, 2009
[4] Herbert C. W., An Introduction to [5] Kölling, M., 2010, The Greenfoot
Programming Using Alice, 2009 Programming Environment, ACM
[5] Kölling, M., 2010, The Greenfoot Transactions on Computing Education
Programming Environment, ACM (TOCE), Vol. 10, No. 4, Article 14, Pub.
Transactions on Computing Education date: November 2010.
(TOCE), Vol. 10, No. 4, Article 14, Pub. [6] Kölling, M., 2010, Introduction to
date: November 2010. Programming with Greenfoot - Object-
[6] Kölling, M., 2010, Introduction to Oriented Programming in Java with Games
Programming with Greenfoot - Object- and Simulations, Pearson Education.
Oriented Programming in Java with Games [7] Shelly, G.B., Cashman T. J., Herbert,
and Simulations, Pearson Education. C.W., 2009, Alice 2.0: Introductory
[7] Shelly, G.B., Cashman T. J., Herbert, Concepts and Techniques
C.W., 2009, Alice 2.0: Introductory [8] Utting, I., Cooper, S., Kölling, M,.
Concepts and Techniques Maloney, J., Resnick, M., Alice, 2010,
[8] Utting, I., Cooper, S., Kölling, M,. Greenfoot, and Scratch - A Discussion,
Maloney, J., Resnick, M., Alice, 2010, ACM Transactions on Computing
Greenfoot, and Scratch - A Discussion, Education (TOCE) Vol. 10, No. 4, Article
ACM Transactions on Computing 17
Education (TOCE) Vol. 10, No. 4, Article [9] http://en.wikipedia.org/wiki/Greenfoot
17 [10]
[9] http://en.wikipedia.org/wiki/Greenfoot http://en.wikipedia.org/wiki/Alice_%28sof
[10] tware%29
http://en.wikipedia.org/wiki/Alice_%28sof
tware%29

Annals of the „Constantin Brancusi” University of Targu Jiu, Engineering Series , No. 3/2012
160

S-ar putea să vă placă și