Publicação
From concrete to abstract: about teaching UML class diagrams to novice programmers
| Resumo: | Object-oriented programming is frequently taught in the first programming course. The implicit level of indirection, expressed in the name-value duality of objects, demands an additional level of abstraction ability. This brings an additional complication for novice students, which are also fighting with flow control and composition. Graphical languages can help visualise the program structure but only if they are not seen as an additional burden. UML class diagrams are the most widely used structure diagram for object-oriented code, but they are very complex for novices. This paper presents a set of translation rules from code to a UML class diagrams that can be introduced in the first or second programming course. To that end, it discusses how to meaningfully explain the semantics of class and object relations, namely by presenting a minimal subset of the UML class diagram metamodel that supports simple and direct translations from object-oriented code. As most students learn better from concrete to abstract, this minimal subset and the respective code translation provide an intermediate step towards the use of a more complete metamodel in more advanced courses. |
|---|---|
| Autores principais: | Barros, João |
| Assunto: | Class diagrams CS1 Introductory programming Java Object diagrams UML |
| Ano: | 2013 |
| País: | Portugal |
| Tipo de documento: | comunicação em conferência |
| Tipo de acesso: | acesso restrito |
| Instituição associada: | Instituto Politécnico de Beja |
| Idioma: | inglês |
| Origem: | Repositório Institucional do IPBeja |
Registos relacionados
article Bringing class diagrams to life
por: Barbosa, L. S.
Publicado em: (2010)
por: Barbosa, L. S.
Publicado em: (2010)
article A coalgebraic semantic framework for reasoning about UML: sequence diagrams
por: Sun, Meng
Publicado em: (2008)
por: Sun, Meng
Publicado em: (2008)
groups Towards the use of sequence diagrams as a learning aid
por: Barros, João Paulo
Publicado em: (2011)
por: Barros, João Paulo
Publicado em: (2011)
article Designing tool support for translating use cases and UML 2.0 Sequence Diagrams into a Coloured Petri Net
por: Fernandes, João M.
Publicado em: (2007)
por: Fernandes, João M.
Publicado em: (2007)
article Model-to-model transformation: from UML class diagrams to labeled property graphs
por: León, Ana
Publicado em: (2024)
por: León, Ana
Publicado em: (2024)
article On the derivation of class diagrams from use cases and logical software architectures
por: Santos, Maribel Yasmina
Publicado em: (2010)
por: Santos, Maribel Yasmina
Publicado em: (2010)
article Student perspectives on the use of a Java library for novices
por: Barros, João
Publicado em: (2017)
por: Barros, João
Publicado em: (2017)
book A coalgebraic semantic framework for reasoning about interaction designs
por: Barbosa, L. S.
Publicado em: (2009)
por: Barbosa, L. S.
Publicado em: (2009)
article Integration of DFDs into a UML - based model-driven engineering approach
por: Fernandes, João M.
Publicado em: (2006)
por: Fernandes, João M.
Publicado em: (2006)
school Criação de uma camada de serviço especificada em diagramas de sequência UML
por: Lima, Marcelo Alexandre Matos Fonseca
Publicado em: (2019)
por: Lima, Marcelo Alexandre Matos Fonseca
Publicado em: (2019)
book Gestures, Diagrams, and the Craft of Musical Composition
por: Aguiar, Vinícius de
Publicado em: (2024)
por: Aguiar, Vinícius de
Publicado em: (2024)
article From relational ClassSheets to UML+OCL
por: Cunha, Jácome Miguel Costa
Publicado em: (2012)
por: Cunha, Jácome Miguel Costa
Publicado em: (2012)
article Translating Alloy Specifications to UML Class Diagrams Annotated with OCL
por: Riesco, Daniel
Publicado em: (2011)
por: Riesco, Daniel
Publicado em: (2011)
article Translating alloy apecifications to UML class diagrams annotated with OCL
por: Garis, Ana
Publicado em: (2011)
por: Garis, Ana
Publicado em: (2011)
article Translating between Alloy specifications and UML class diagrams annotated with OCL
por: Cunha, Alcino
Publicado em: (2015)
por: Cunha, Alcino
Publicado em: (2015)
book Amplifying the concept of diagram with techniques of composition
por: de Aguiar, Vinicius
Publicado em: (2021)
por: de Aguiar, Vinicius
Publicado em: (2021)
article Waste identification diagrams with OEE data
por: Carvalho, Dinis
Publicado em: (2014)
por: Carvalho, Dinis
Publicado em: (2014)
article Tailoring poly(vinylidene fluoride-co-chlorotrifluoroethylene) microstructure and physicochemical properties by exploring its binary phase diagram with dimethylformamide
por: Sousa, R. E.
Publicado em: (2015)
por: Sousa, R. E.
Publicado em: (2015)
article Deriving software architectures for CRUD applications: the FPL tower interface case study
por: Mashkoor, Atif
Publicado em: (2007)
por: Mashkoor, Atif
Publicado em: (2007)
article An automated patterns-based model-to-model mapping and transformation system for labeled property graphs
por: Guimarães, Pedro
Publicado em: (2023)
por: Guimarães, Pedro
Publicado em: (2023)
article Extending argoUML© for real-time UML®
por: Lopes, Sérgio F.
Publicado em: (2004)
por: Lopes, Sérgio F.
Publicado em: (2004)
groups Measuring spatial interaction behavior in team sports using superimposed Voronoi diagrams
por: Fonseca, Sofia
Publicado em: (2013)
por: Fonseca, Sofia
Publicado em: (2013)
article Landau model for the phase diagrams of the orthorhombic rare-earth manganites RMnO3 (R=Eu, Gd, Tb, Dy, Ho)
por: Ribeiro, José Luís Pires
Publicado em: (2010)
por: Ribeiro, José Luís Pires
Publicado em: (2010)
article Magnetic phase diagram of multiferroic Eu1−xLuxMnO3 investigated by infrared spectroscopy
por: Ribeiro, José Luís Pires
Publicado em: (2014)
por: Ribeiro, José Luís Pires
Publicado em: (2014)
article A resource for signs and Feynman diagrams of the standart model
por: Romão, Jorge C.
Publicado em: (2012)
por: Romão, Jorge C.
Publicado em: (2012)
article Short-chain di-ureasil ormolytes doped with potassium triflate: Phase diagram and conductivity behavior
por: Zea Bermudez, V. de
Publicado em: (2003)
por: Zea Bermudez, V. de
Publicado em: (2003)
article Spatial dynamics of team sports exposed by Voronoi diagrams
por: Fonseca, Sofia
Publicado em: (2012)
por: Fonseca, Sofia
Publicado em: (2012)
article M2M mapping and transformation tool for labeled property graphs
por: Guimarães, Pedro
Publicado em: (2023)
por: Guimarães, Pedro
Publicado em: (2023)
article Introductory programming in higher education: A systematic literature review
por: Rodrigues, Gabryella
Publicado em: (2022)
por: Rodrigues, Gabryella
Publicado em: (2022)
article Process mapping improvement: extending value stream maps with waste identification diagrams
por: Dinis-Carvalho, José
Publicado em: (2015)
por: Dinis-Carvalho, José
Publicado em: (2015)
article New Eyes for an Old Challenge: How the Portuguese Ministry of Justice is Using Sankey Diagrams to Improve Knowledge on the Judicial System Dynamics
por: Romão, Miguel
Publicado em: (2021)
por: Romão, Miguel
Publicado em: (2021)
article Variation of the physicochemical and morphological characteristics of solvent casted poly(vinylidene fluoride) along its binary phase diagram with dimethylformamide
por: Ferreira, J. C. C.
Publicado em: (2015)
por: Ferreira, J. C. C.
Publicado em: (2015)
category Specifying and Monitoring Java Classes
por: Lopes, Antonia
Publicado em: (2009)
por: Lopes, Antonia
Publicado em: (2009)
article Waste identification diagram and value stream mapping: A comparative analysis
por: Dinis-Carvalho, José
Publicado em: (2019)
por: Dinis-Carvalho, José
Publicado em: (2019)
article UML model refactoring as refinement: a coalgebraic perspective
por: Barbosa, L. S.
Publicado em: (2009)
por: Barbosa, L. S.
Publicado em: (2009)
article How patchy can one get and still condense? The role of dissimilar patches in the interactions of colloidal particles
por: Tavares, Jose
Publicado em: (2009)
por: Tavares, Jose
Publicado em: (2009)
school O diagrama como mecanismo de confronto
por: Castro, Bruno Daniel Sequeira Almeida
Publicado em: (2013)
por: Castro, Bruno Daniel Sequeira Almeida
Publicado em: (2013)
article The role of solvent evaporation in the microstructure of electroactive β-poly(vinylidene fluoride) membranes obtained by isothermal crystallization
por: Magalhães, R.
Publicado em: (2011)
por: Magalhães, R.
Publicado em: (2011)
article The effect of thermal conductivity of RIM moulds in kinetics cure
por: Mateus, A.
Publicado em: (2008)
por: Mateus, A.
Publicado em: (2008)
article Specifying UML protocol state machines in Alloy
por: Garis, Ana
Publicado em: (2012)
por: Garis, Ana
Publicado em: (2012)
Registos relacionados
-
article Bringing class diagrams to life
por: Barbosa, L. S.
Publicado em: (2010) -
article A coalgebraic semantic framework for reasoning about UML: sequence diagrams
por: Sun, Meng
Publicado em: (2008) -
groups Towards the use of sequence diagrams as a learning aid
por: Barros, João Paulo
Publicado em: (2011) -
article Designing tool support for translating use cases and UML 2.0 Sequence Diagrams into a Coloured Petri Net
por: Fernandes, João M.
Publicado em: (2007) -
article Model-to-model transformation: from UML class diagrams to labeled property graphs
por: León, Ana
Publicado em: (2024)