Android applications are inspired by Multi-Agent argo/papers/2014_Baldoni_   Android applications

  • View
    215

  • Download
    0

Embed Size (px)

Text of Android applications are inspired by Multi-Agent argo/papers/2014_Baldoni_   Android...

Android applications are inspired

by Multi-Agent Systems

a.k.a. What does teaching technologies at university mean? Howto teach Android?

Matteo BaldoniUniversita degli Studi di Torino

Dipartimento di Informatica

DroidCon Torino, February 6-7, 2014

1 Abstract

Any technology, sooner or later, passes away. A certain technology will eventu-ally be replaced by newer technologies and computer science based technologieshas a quicker turn over than other kinds of technologies. CS students expect tolearn technologies because they are fashionable. Companies expect to hire stu-dents who are aware of the ultimate trend technologies because they need thosetechnologies to be competitive in the market. So, everything seems simple: I,as a teacher, should teach those technologies to students that will be hired bythe companies. Every time I face a new course, especially when it has a strongtechnological content, I wonder which is the best way to teach it because whileI am convinced that teachers should be up to date about technologies, I am notconvinced that teachers should teach technologies. The key aspect, however, isnot only on the solution of a problem but also in the problem-posing. Tech-nologies as part of the problem-posing and solving pedagogical methodology. Afundamental part of the learning process is the discussion of the problem itselfand the generalization of the discovered process towards a solution. In otherwords, a key aspect of teaching is to create connections, links among pre-vious technologies and methodologies, even better if they are from unrelatedproblems. Event-driven programming, the success of OO technologies for real-izing frameworks, the achievement of software reuse are just few examples oftopics, which are involved by teaching Android. So, it should not surprise thatI think it is important to teach how strong the relation is between the organi-zation of a Multi-Agent Systems, and the way in which an Android applicationworks. Especially in order to achieve a better software reuse. In my opinion,this is a good way of teaching technologies and of overcoming their prematuredeparture.

1

2 Bio

Dr. Matteo Baldoni has a Ph.D. in Computer Science. He is an associate profes-sor of Computer Science at the Computer Science Department of the Universityof Turin (Italy). He is a member of both the Agent and Service-Oriented Com-puting group and the Knowledge Representation and Reasoning group. He hasbeen working for over 15 years on multi-agent systems, computational logics,declarative programming languages, knowledge representation and reasoning,interaction protocols. He has also a long-term research experience on SemanticWeb and E-learning.

Matteo Baldoni is co-author of over 100 papers (see http://di.unito.it/baldonibibcat) on the above topics, and served the research community bytaking part to the organization or to the program committee of several confer-ences (including IJCAI, AAAI, AAMAS, ICWS), and by working as a reviewerfor major journals. From 2005, he is a member of the Steering Committee of theworkshop From Objects to Agents (WOA) and of the workshop DeclarativeAgent Languages and technologies (DALT) Steering Committee since 2009.From 2006 to 2010 he chaired the working group Sistemi ad Agenti e Multia-gente (Agent and Multi-agent Systems) of the Italian Association for ArtificialIntelligence (AI*IA). In 2011 and 2013, he was elected also as a member of theBoard of AI*IA.

2

Droidcon Torino 2014

Android applications are inspired byMulti-Agent Systems

a.k.a. What does teaching technologies at university mean?How to teach Android?

Matteo Baldoni1

1Universita degli Studi di Torino, Dipartimento di Informatica

Torino, February 6-7, 2014

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 1 / 25

Overview

1 Who I am and Where I am from

2 Teaching technologies

3 Learning is Making Links

4 An example: Agents inspire Android

5 Discussion and conclusions

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 2 / 25

Who am I?

I am an Associate Professorat Dipartimento diInformatica, Universita degliStudi di Torino

I am teachingProgrammazione II,Interazione Uomo Macchina(Android), both at I level, andAgenti Intelligenti at II level

I am a member of both theAgent and Service-OrientedComputing group and theKnowledge Representationand Reasoning group

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 3 / 25

Corso di Laurea in Informatica - I, II, and III level

Three curricula at the firstlevel, three curricula at the IIlevel and one at the third level.

The contents of curricula havebeen established incollaboration with Comitato diIndirizzo whose members arefrom University itself, CCIAAof Torino, and UnioneIndustriale of Torino

http://www.educ.di.unito.it/orientamento/

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 4 / 25

http://www.educ.di.unito.it/orientamento/

Android in our curricula

Where?

Interazione Uomo Macchina(IUM), third year of the I level(mandatory for one curriculum,optional for the remains), 3CFU, 30 hours (theory and lab)

What?

An introduction to Androidframework (theory),development of an app forreading and presenting RSSfrom the Dip. di Informatica(lab)

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 5 / 25

What is the problem of teaching technologies?

Expectations:

CS students expect to learn technologies because they are fashionable

Companies expect to hire students who are aware of the ultimatetrend technologies because they need those technologies to becompetitive in the market.

So, everything seems simple:

I, as a teacher, should teach those technologies to students that will behired by the companies!

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 6 / 25

What is the problem of teaching technologies?

Expectations:

CS students expect to learn technologies because they are fashionable

Companies expect to hire students who are aware of the ultimatetrend technologies because they need those technologies to becompetitive in the market.

So, everything seems simple:

I, as a teacher, should teach those technologies to students that will behired by the companies!

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 6 / 25

What is the problem of teaching technologies?

Any technology, sooner or later, passes away

A certain technology will eventually be replaced by newer technologiesand computer science based technologies have a quicker turn overthan other kinds of technologies.

which is the best way to teach technologies?

While I am convinced that teachers should be up to date abouttechnologies, I am not convinced that teachers should teach technologies

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 7 / 25

What is the problem of teaching technologies?

Any technology, sooner or later, passes away

A certain technology will eventually be replaced by newer technologiesand computer science based technologies have a quicker turn overthan other kinds of technologies.

which is the best way to teach technologies?

While I am convinced that teachers should be up to date abouttechnologies, I am not convinced that teachers should teach technologies

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 7 / 25

Learning is Making Links!

The key aspect is not only on the solution of a problem but also inthe problem-posing

Technologies as part of the problem-posing and solving pedagogicalmethodology

A fundamental part of the learning process is the discussion of theproblem itself and the generalization of the discovered processtowards a solution

In other words:

A key aspect of teaching is to create connections, links amongprevious technologies and methodologies, even better if they are fromunrelated problems

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 8 / 25

Learning is Making Links!

The key aspect is not only on the solution of a problem but also inthe problem-posing

Technologies as part of the problem-posing and solving pedagogicalmethodology

A fundamental part of the learning process is the discussion of theproblem itself and the generalization of the discovered processtowards a solution

In other words:

A key aspect of teaching is to create connections, links amongprevious technologies and methodologies, even better if they are fromunrelated problems

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 8 / 25

Learning is Making Links!

Topics involved by teaching Android: Event-driven programming, thesuccess of OO technologies for realizing frameworks, the achievementof software reuse

How strong the relation is between the organization of a Multi-AgentSystem, and the way in which an Android application works

In my opinion,

this is a good way of teaching technologies and of overcoming theirpremature departure

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 9 / 25

Let us consider an example

An app with two activities, the first one offers a choice to the userand the second one visualizes the information associated with thechoice of the user in the previous activity

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7, 2014 10 / 25

Let us consider an example1 5 8 9

10 15 18 19 20 21 22 23 27 30 31 32

M. Baldoni (UniTO) Droidcon 2014 Torino, February 6-7