Softwaretechnik / Software Engineering (Lecture)
Course type | Lecture |
---|---|
Instructors | Prof. Dr. Andreas Podelski Dr. Bernd Westphal |
Lecture | Monday, 14:00–16:00, HS 101-00-026 Thursday, 12:00–14:00, HS 101-00-026 |
Exercise | Thursday, 12:00–14:00 (bi-weekly) Group 1 - Liridon (English): SR 078-00-014 Group 2 - Moritz (English): Kinohörsaal Group 3 - Michael (Deutsch): SR 101-01-009/013 Group 4 - Kristin (Deutsch): SR 106-00-007 |
First session | Lecture 24.04.2016 Tutorial 04.05.2016 |
Language of instruction | German |
Credits | 6 |
Exams | Written, 8.9.2017, 14:00 c.t., 90 min. Rooms: 101-00-26 and -36 |
Course Catalog | Softwaretechnik / Software Engineering - Vorlesung Softwaretechnik / Software Engineering - Übung |
Quicklinks: News - Formalia - Plan - Links & Literature
News
- 2017-09-13: exam results "vorläufig freigegeben" - exam review ("Klausureinsicht"): Thu, 21.9., 16:00 - 18:00, 052-0-020
(please choose your visiting time randomly since we don't want to admit more than 3-5 people at a time to the room) - 2017-08-09: section "Permitted in the exam" updated - thanks for the reminders.
- 2017-07-24: Annotated slides of Lecture 17 re-uploaded - things got mixed up.
- 2017-07-24: Another update of the errata file - thanks for pointing out the issue!
- 2017-07-06: Wajakla... :-/ In the confusion caused by the malfunctioning microphone, we have lost the audio track of the second half of today's recording - as a substitute, you may consider to consult the English recordings from last year (Download (2016,EN), Stream (2016,EN)). The Multimedia Support promised to have the microphone replaced by Monday.
For support with the Uppaal tool as needed for the exercises, please don't hesitate to contact your tutors. - 2017-06-22: The slides of Lecture 9 have been extended by correct versions of the LSC semantics tables (slides 16 and 18-20); the incorrect slides as presented in the lecture are still present to match the recording, but they are crossed out in red. The links below now point to the fixed versions (same filename!).
- 2017-06-22: Mistakes seldom come alone - the errata file has been updated.
- 2017-06-20: Exercise Sheet 4 is (finally) available.
- 2017-06-20: The first mistake has been spotted in the slides; the correction is provided in the errata file.
- 2017-06-01: next tutorial is on Monday, 12.6., as an exception; room assignment is as follows:
- Liridon: SR 00-014, Geb. 078 (as usual)
- Kristin: SR 00-007, Geb. 106 (as usual)
- Michael: HS 00-026, Geb. 101 (exception!)
- Moritz: Kinohörsaal (as usual)
- 2017-05-15: Too bad - seems we've lost the recording of today's second half lecture. :-/ As a workaround, please consider the English recordings from last season; V-Model was in slightly different order, but overall content is the same. Links will be in place.
- 2017-05-03: Rooms for tutorials updated - there was an inconsistency between ILIAS and this page (ILIAS was right), thanks for the hint.
- 2017-04-28: Complementary literature "Buschman et al.: Pattern-Oriented Software Architecture", now available as e-Book via UB.
- 2017-03-21: homepage online
Formalia
Prerequisites for admission to the final exam, form of the final exam, and everything will be announced in the first lecture.
Admission criteria
50% of the total (= 120) admission (or: good will) points in the exercises are sufficient for exam admission.Exercise Submission Scheme
The exercise sheets are online early in order to allow you to be aware of the tasks while following the lecture. There will be an early/regular submission scheme following a pattern to be announced. Please submit your solutions via ILIAS (log in with RZ account, not TF Pool account).
Note: The exercises will be rated on two scales: admission points (given your knowledge before the tutorial, how sensible is your proposal; "good will rating", "upper bound") and exam points (given the additional knowledge from the comments on your proposal and the tutorial, how many points would your proposal at least be worth in a written exam; "evil rating", "lower bound").
Exam
There will be a written exam:
- Date & time: Friday, 8.9.2017
- 90 min. starting at 14:00 c.t.
- Room: 101-00-26 and -36 (and maybe Kinohörsaal)
- Permitted in the exam:
max. 1 sheet of paper, max. size A4, max. 200g/qm qualiy, all sides may be used (written/printed/painted/...).
Resources
Slides, Exercises, and Recordings
Note: the following plan is tentative, that is, the assignment of topics to dates may be subject to mild changes. The assignment of form (lecture or tutorial) to dates is fixed. We will try to provide slides before the lecture.
- Mo, 24.4.: VL 01 "Introduction" - Exercise Sheet 0 online (submit via ILIAS)
Definitions of Software Engineering etc.; course content overview; formalia.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)
(English recordings from the season 2016: ILIAS-Download (2016,EN), ILIAS-Stream (2016,EN))) - Do, 27.4.: VL 02 "Software Metrics"
- Exercise Sheet 1 online, additional file (submit via ILIAS (will be available soon))
Software metrics; properties of useful metrics; kinds of scales; examples: LOC and McCabe.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)
(English recordings from the season 2016: ILIAS-Download (2016,EN), ILIAS-Stream (2016,EN))) - Mo, 1.5.: public holiday (international workers' day)
- Do, 4.5.: Tutorial 1
- Mo, 8.5.: VL 03 "More Metrics & Cost Estimation" - Exercise Sheet 2 online (submit via ILIAS)
Subjective metrics, Goal-Question-Metric approach; Cost and Deadlines, Expert and Algorithmic Cost Estimation.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)
(English recordings from the season 2016: see homepage/ILIAS of 2016 season)) - Do, 11.5.: VL 04 "Software Project Management"
Development Project; Activities, Roles, Artefacts; From Processes to Procedure and Process Modes.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Mo, 15.5.: VL 05 "Procedure and Process Models"
Waterfall and Spiral; Prototype-based; Evolutionary, Incremental, Iterative; V-Model XT; Agile Processes; process metrics CMM(I) and SPICE.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017, DE, 1st half), ILIAS-Stream (2017, DE, 1st half)
(English recordings from the season 2016: ILIAS-Download (2016,EN), ILIAS-Stream (2016,EN))) - Do, 18.5.: Tutorial 2
- Mo, 22.5.: VL 06 "Requirements Engineering"
- Exercise Sheet 3 online (submit via ILIAS)
Requirements Engineering basics: the RE problem, the software peoples' view on requirements; quality criteria for requirements and their (natural language) documentation
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 25.5.: public holiday (ascension day)
- Mo, 29.5.: VL 07 "Formal Methods for Requirements Engineering"
One example of a formal notation for requirements: decision tables (DT); formal definitions for completeness, consistency, determinism, etc.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 1.6.: VL 08 "Use Cases and Scenarios"
Scenarios and Anti-Scenarios for requirements analysis; notations User Story, Use Case, Use Case Diagram, first half of Sequence Diagrams (abstract syntax, cuts and firedsets).
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Mo, 5.6.: whitsun break
- Do, 8.6.: whitsun break
- Mo, 12.6.: Tutorial 3
- Do, 15.6.: public holiday (corpus christi)
- Mo, 19.6.: VL 09 "Live Sequence Charts" - Exercise Sheet 4 online (submit via ILIAS)
Second half of the 'Sequence Diagram' story (TBA construction).
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 22.6.: VL 10 "Req. Eng. Wrapup / Architecture & Design"
LSCs and software; Requirements Engineering wrap-up; Software Architecture.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Mo, 26.6.: VL 11 "Structural Software Modelling"
Views and viewpoints; Class Diagrams; Object Diagrams.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 29.6.: Tutorial 4
- Mo, 3.7.: VL 12 "Proto-OCL, Modularisation & Design Patterns"
- Exercise Sheet 5 online (download additional materials and submit via ILIAS)
Proto-OCL; Principles of Software Design: Modularisation, information hiding, data encapsulation etc.; Architectural patterns (layers, pipeline, MVC); Design Patterns.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 6.7.: VL 13 "Behavioural Software Modelling"
Communicating Finite Automata; Uppaal Demo; Uppaal Query Language; CFA "at work".
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE),
Vending Machine model (vm.xml, vm.q) from the demo) - Mo, 10.7.: VL 14 "Behavioural Software Modelling II"
Implementing CFA; an outlook on UML Statemachines; Testing basics.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 13.7.: Tutorial 5
- Mo, 17.7.: VL 15 "Software Quality Assurance: Testing"
- Exercise Sheet 6 online (additional material) (submit via ILIAS)
Testing (concepts, coverage measures, etc.).
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 20.7.: VL 16 "Software Verification"
Model-based Testing; Notions of correctness; Formal verification of software: the Hoare calculus.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Mo, 24.7.: VL 17 "Wrapup & Questions"
Software Model-Checking, VCC Demo; Review; Lecture recap and time for questions.
(Slides (with annotations), 2-up, 6-up, Recording: ILIAS-Download (2017,DE), ILIAS-Stream (2017,DE)) - Do, 27. 7.: Tutorial 6
- Errata for the course slides.
Links & Literature
- Software Engineering Textbooks
- Ludewig, J. and Lichter, H. (2013). Software Engineering. dpunkt.verlag, 3. edition.
Main inspiration for the lecture; unfortunately only available in German. Available as e-Book via UB. - Sommerville, I. (2010). Software Engineering. Pearson, 9. edition.
The international "classic", also available in German. - Balzert, H. (2009). Lehrbuch der Softwaretechnik: Basiskonzepte und Requirements Engineering. Springer Spektrum, 3. edition.
The german "classic", part 1. Available as e-Book via UB. - Balzert, H. (2010). Lehrbuch der Softwaretechnik: Entwurf, Implementierung, Installation und Betrieb. Springer Spektrum, 3. edition.
The german "classic", part 2. Avaliable as e-Book via UB. - Bjørner, D. (2006). Software Engineering 1 - Abstraction and Modelling. Springer.
One of the few formal methods textbooks, part 1. - Bjørner, D. (2006). Software Engineering 2 - Specification of Systems and Languages. Springer.
One of the few formal methods textbooks, part 2. - Bjørner, D. (2006). Software Engineering 3 - Domains, Requirements, and Software Design. Springer.
One of the few formal methods textbooks, part 3.
- Ludewig, J. and Lichter, H. (2013). Software Engineering. dpunkt.verlag, 3. edition.
- Introduction
- Bauer, F. L. (1971). Software Engineering. In: IFIP Congress (1), pages 530-538.
Historic (type-writer typed) lecture notes by F. L. Bauer, one of the software engineering pioneers who is said to have brought up to the term 'software engineering' on the NATO Science Committee meeting in Garmisch, 1968, in response to the 'software crisis'. - Bjørner, D. and Havelund, K. (2014). 40 years of formal methods. . Presentation slides, UNSW, Sydney, 19. May 2014.
A brief introduction of the term "formal methods", its historical and present obstacles and hindrances, and an outlook. - Buschermöhle, R. et al. (2006). success - Erfolgs- und Misserfolgsfaktoren bei der Durchführung von Hard- und Softwareentwicklungsprojekten in Deutschland. Version 1.1 (source site).
A wealth of empirical data with a thorough evaluation wrt. a set of hypothesis on correlations of factors in software engineering. - Jones, C. B. et al., editors (2011). Dependable and Historic Computing - Essays Dedicated to Brian Randell on the Occasion of His 75th Birthday, volume 6875 of LNCS, Springer.
Timeless insights on software engineering from the early days, including an article by software engineering pioneer D. L. Parnas and the dinner talk by H. Kopetz. Available as e-Book via UB. - Most ISO/IEEE/etc. standards are unfortunately not freely available.
- Lamport, L. (2015). Who Builds a House without Drawing Blueprints?. CACM; 58(4): 38-41.
A somewhat polemic essay arguing for better planning in software engineering by 2013 ACM Turing Award winner (and LaTeX author) Leslie Lamport; not so far off from our approach to the software engineering lecture...
- Bauer, F. L. (1971). Software Engineering. In: IFIP Congress (1), pages 530-538.
- Project Management, Process Models, Metrics
- Brooks, F. P. (1996). The Mythical Man-Month - Essays on Software Engineering, Anniversary Edition. Addison-Wesley.
Some say "if you want to read only one book on the management of software development projects, let it be this" (without being the author or otherwise sponsored by the publisher). An e-Book of the 1st edition from 1974 is freely available here. - Douglass, B. P. (1999). Doing Hard Time, Addison-Wesley.
Spiral-shaped development process using formal modelling and analysis especially for (safety) critical, reactive, timed systems. - Wheeler, D. A. (2006). The Linux Kernel: It’s Worth More!
A COCOMO estimation of effort for the Linux kernel 2.6. Article includes a link to the used tool SLOCCount. - Karn, J. S., & Cowling, A. J. (2005). A Study into the Effect of Disruptions on the Performance of Software Engineering Teams. In the Proceedings of the 4th International Symposium on Empirical Software Engineering, (ISESE 2005).
- Behfar, K. J., Peterson, R. S., Mannix, E. A., Trochim, W.M. (2008). The critical role of conflict resolution in teams: a close look at the links between conflict type, conflict management strategies, and team outcomes. J Appl Psychol.; 93(1):170-88. doi: 10.1037/0021-9010.93.1.170.
- V-Modell XT Authors (2006). V-Modell XT, Version 1.4.
The V-Modell XT reference document (in German); an English document for V-Modell XT, version 1.3, is available on the same homepage. A tool to support tailoring is available here.
(Version 2.0 (in German); may not be subject of the lecture since it seems not to have an English translation so far.) - CMMI Product Team (2010). CMMI for Development, Version 1.3.
Definition of the CMMI-DEV process metrics. German translation is available here. An introdution to the appraisal procedure is available here.
- Brooks, F. P. (1996). The Mythical Man-Month - Essays on Software Engineering, Anniversary Edition. Addison-Wesley.
- Requirements Engineering, Live Sequence Charts
- Rupp, Ch., die SOPHISTen (2014). Requirements-Engineering und -Management. Hanser.
An extensive and comprehensive discussion of all aspects of Requirements Enginering, from formal notations, over quality criteria, recommendations for natural language requirements, to psychological aspects like human perception and conflicts among clients, which may show up during requirements engineering. The book's content builds on the main author's experience as general manager of SOPHIST GmbH, a company offering Requirements Engineering. Unfortunately only available in German. - Damm, W., Harel, D. (2001). LSCs: Breathing Life into Message Sequence Charts. FMSD; 19(1): 45-80, Kluwer Academic Press.
The original work on Life Sequence Charts. - Klose, J. (2003): Live Sequence Charts - A Graphical Formalism for the Specification of Communication Behavior. PhD thesis, Carl von Ossietzky Universität Oldenburg.
The original work on the TBA-semantics of LSCs as used in the lecture. - Typesetting Live Sequence Charts: lsc.sty on CTAN (and included in TeX Live).
- Architecture & Design, Modelling
- Jacobson, I. (1992). Object-Oriented Software Engineering: A Use CASE Approach. Addison-Wesley.
By the inventor and early advocate of use cases and use case diagrams, which were later included in UML. 20 years old, odd-looking notation, yet the basic messages remain valid. - Kastens, U., Kleine Büning, H. (2014). Modellierung - Grundlagen und formale Methoden, Zweite Auflage, Carl Hanser Verlag.
General Discussion of Modelling, not focusing on UML, but also considering plain set-theory, graphs, Petri nets, and their use for modelling tasks. - Buschman, F., Beunier, R., Rohnert, H., Sommerlad, P., Stal, M. (1996). Pattern-Oriented Software Architecture, Volume 1, A System of Patterns. Wiley.
Actually closer to the content of Lecture 14 than the (more famous) standard textbook on design patterns (Gamma et al.) The concrete examples may provoke nostalgic feelings ("this sounds soo early 90s of the last century") but the basic messages still hold. Available as e-Book via UB. - UML
- B. Dobing, J. Parsons: How UML is used, Communications of the ACM, 49(5):109-114, 2006.
This survey supports the relevance of our choice of diagrams to be considered in the lecture. - OMG (2011). Unified Modeling Language: Infrastructure. Version 2.4.1.
The UML standard, basic concepts. May take some getting-used-to. - OMG (2011). Unified Modeling Language: Superstructure. Version 2.4.1.
Defines all the diagrams using concepts from the infrastructure document. - B. Oesterreich: Analyse und Design mit UML 2.1, 8. Auflage, Oldenbourg, 2006.
Standard introduction into UML notation (only informal semantics). - H. Stoerrle: UML 2 fuer Studenten, Pearson Studium Verlag, 2005.
And another one of the like.
(avaible as e-book via UB) - OMG (2014). Object Constraint Language. Version 2.4.
Our Proto-OCL semantics is inspired by Appendix A (finally something more formal...). - Kleppe, A., Warmer, J. (2004). The Object Constraint Language. 2nd Edition, Addison-Wesley..
A more palatable presentation of OCL.
- B. Dobing, J. Parsons: How UML is used, Communications of the ACM, 49(5):109-114, 2006.
- Formal Verification
- Apt, K.R., Olderog, E.-R. (1994). Programmverifikation. Springer-Verlag.
The formal verification part of Lecture 15 is following the thorough presentation in this (highly recommendable) book. Also available in English. - (2015) The VCC Manual.
A draft document to become a manual for VCC. For the exercises, it should not be necessary to revert to this document too much, the content of the lecture should be sufficient. - Cohen, E., Hillebrand, A., Tobies, S., Moskal, M., Schulte, W. (2015). Verifying C Programs: A VCC Tutorial. Technical Report.
A tutorial on VCC, distributed with the VCC sources. Again: for the exercises, you should not need much more than discussed in the lecture. We're only touching the surface of VCC. - Miscellaneous
- O.
Laitenberger, C. Atkinson: Generalizing Perspective-based Inspection to
handle Object-Oriented Development Artifacts, In: Proc. ICSE '99,
494-503, IEEE CS-Press.
Reading techniques philosophy. - G.
H. Travassos, F. Shull, J. Carver, V. R. Basili: Reading Techniques for
OO Design Inspections, Technical Report CS-TR-4353, University of
Maryland, 2002.
Concrete reading techniques.
- O.
Laitenberger, C. Atkinson: Generalizing Perspective-based Inspection to
handle Object-Oriented Development Artifacts, In: Proc. ICSE '99,
494-503, IEEE CS-Press.