on a new cycle of lectures/assignments on 'architecture, design, and patterns' adp 2010...
TRANSCRIPT
On a new cycle of lectures/assignments on
'Architecture, Design, and Patterns'
ADP 2010
Gordana Rakic, Vladimir Kurbalija
About course Elective Joint MSc SE course
+4th year “non-Bologna” bachelor students
Summer semester 7.5 ECTS
Participants Lecturer
Vladimir Kurbalija
Assistant Gordana Rakic
Students Bachelor level – 3 Master level - 14
Topics - lectures Analogy Master plan Deliverables Elements of SA Analysis evaluation Process organization MDA Design patterns
Exam Assignments – 60%
Refactoring – 15% Software architecture styles – 15% Design patterns – 30%
Oral exam – 40% Defend assignment solutions – 10% Oral exam on design patterns – 30%
Students could win extra percentages for individual extra work
Refactoring – exercises Short introduction
Definition
Bad smells
Refactoring that address common bad smells
Each student was asked (during the session) to find one example of code with bad smell
demonstrate refactoring on given example
Refactoring – assignment
5 examples
Students should
find bad smells
propose refactored solution
15 %
Architectural style - exercises Architectural styles by examples Seven common architectural styles proposed by
(Shaw and Garlan, 1994) Pipes and filters Objects Implicit invocation Layering Repositories Interpreters Process Control
Architectural style - assignment
Choose appropriate architecture style
and
develop software architecture for ATM!!!
15%
Design patterns - exercises Design patterns by examples
(Gamma, Helm, Johnson and Vlissides) Creational patterns Structural patterns Behavioral patterns
One pattern from each group was described through example
Each student should find appropriate example to describe one pattern during the session
Design patterns – assignment(s)1. From particular class diagram recognize used
design patterns Give general diagram (“schema”) of used design pattern Find relationship between elements on “schema” and on
particular class diagram 15%
2. From given source code (Draw class diagram) Give general diagram (“schema”) of used design pattern Find relationship between elements on “schema” and on
particular class diagram 15%
Results (assignments)Refactoring (~15%)
Arch. Styles (~15%)
Design Patterns (~30%) (~60)
14 20 30 64
14 13 25 52
13 20 18 51
5 15 30 50
5 14 25 44
1 30 13 44
4 15 20 39
3 30 20 33
1 15 0 15
4 0 0 4
Results (in total) 6 students passed oral exam 3 students
? Will pass in September exam period ?
Average grade for now ~8.33! We expect ~/>8.5 at the end
Conclusion First year in this team
Experimental
Students were interested Mainly in (practical) extra works
We need additional innovations for next year Now we know what direction innovations should go