teaching object-orientation with smartphones as digital crc cards · 2020-04-17 · teaching...

20
Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer, and Stephan Diehl Software Engineering, University of Trier CSEE&T 2013 San Francisco, CA, USA

Upload: others

Post on 24-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Teaching Object-Orientation with Smartphones as Digital CRC Cards

Rainer Lutz, Sascha Schäfer, and Stephan Diehl Software Engineering, University of Trier

CSEE&T 2013 San Francisco, CA, USA

Page 2: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Concepts of Object-Orientation

2

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

Simpsons South Park Super Mario Plastic

Wood

Page 3: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Process of Task-Solving

3

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

Page 4: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Active Learning

4

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

Page 5: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

CREWSpace

• Computer-assisted modeling on a conceptual level

• Group work → multiple mobile devices

• Simultaneous access to a shared object-oriented model

• Private workspaces for each user

5

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

Page 6: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

CLASS RESPONSIBILITIES COLLABORATORS CARD METHOD

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

6

Page 7: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

CRC Card Method

• Introduced by Beck and Cunningham (1989)

• Represent classes of a future software system

7

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

Responsibilities Data and Behavior

Collaborators Relationships to other classes

cards hardly editable, inconsistencies between cards

Class name

Page 8: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

CRC Sessions

• Group work activity

• Development of an object-oriented model

• 3 Phases

I. Identifying use cases

II. Identifying classes (initial software model)

III. Analyzing use cases through role play to refine the object-oriented model

8

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

Keep track of the current state and how it was reached

Page 9: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

DIGITAL CRC SESSIONS WITH CREWSPACE

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

9

Page 10: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

I. Identifying use cases

• Students …

• … identify use cases and scenarios

• … create use case diagram

• In a previous session or as homework assignment

• Information loaded into the private workspace

• Available for subsequent phases 10

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

I.

Mobile application

Page 11: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

II. Identifying classes

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

11

II.

• Create an initial software model

Full video: http://www.st.uni-trier.de/crewspace/

Page 12: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

III. Analyzing use cases

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

12

III.

• Refining the software model through role play

Full video: http://www.st.uni-trier.de/crewspace/

Page 13: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

III. Analyzing use cases

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

13

III.

• History navigation

• Replay and reflect on previous steps of the role play

• Auto-save after each completed role play

• Haptic feedback

• Indicates a change of the active person during role play

Page 14: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Beyond classical CRC modeling

• Basic UML class diagrams

• CRC cards as classes

• Simple relationships

• Further use with common UML tools

• Export class diagrams

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

14

Page 15: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

EVALUATION OF CREWSPACE

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

15

Page 16: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Qualitive Evaluation

• Participants

• 16 (under)graduate students → 4 groups

• Universities of Trier, Germany and Antwerp, Belgium

• Procedure

• Prepared requirements, use cases, and scenarios in an earlier session

• Introduction to the traditional CRC method

• Use CREWSpace to model the software system

• Feedback from students and supervisors

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

16

Page 17: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Student Activities

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

17

Editing

10 min

Creating a initial software model

Group 1

Group 2

Analyzing edits through role play

Reflecting on a previous role play

UML class diagramming

Role play History navigation UML modeling Others

Page 18: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Students • Edit CRC simultaneously • Keep track of the current state and how it was reached • Save and export results

Supervisors • Testing of an collaborative tool motivates students • group discussion and individual work

Feedback

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

18

• Set up hardware • Familiarize with the controls • Mobile devices for all students

Page 19: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Learning Scenario

Design of a software system: 1. Homework assignment

• Requirements, use cases, and scenarios

2. Groupwork • CRC method → model the software system

• Two groups: • Traditional CRC method with pen and paper

• Digital CRC method with CREWSpace

• Afterwards report on their experiences

3. Use results for further exercises

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

19

Page 20: Teaching Object-Orientation with Smartphones as Digital CRC Cards · 2020-04-17 · Teaching Object-Orientation with Smartphones as Digital CRC Cards Rainer Lutz, Sascha Schäfer,

Conclusion

• CREWSpace

• Object-oriented conceptual modeling • Language-independent

• Shows current state of the role play • Replay and reflect on previous steps

• Active learning through group work • Multi-user interaction and private workspaces

• Website: http://www.st.uni-trier.de/crewspace/ 20

Teaching Object-Orientation with Smartphones as Digital CRC Cards, Lutz et al.

20

Questions?