User Tools

Site Tools


courses:sdm2015:main

Software Development Methods, Fall 2015

This course introduces a selection of theories and practices that, we believe, will enhance the student's ability in developing correct and high-quality software. Its goal is to acquaint the students with some of the well-used methods and tools for practical software development as well as some fundamentals of software verification, so as to prepare them for a career in software development. The view taken here is that of an engineer (programmer, software engineer, or software architect) and hence the focus of the course is primarily on the technical aspects of software development process.

Announcements

  • 02/14: Grade Report available; contact Yih-Kuen Tsay by 5PM 02/15 if you have any question or request.
  • 12/30: slides for Automata-Based Model Checking available.
  • 12/23: slides for Logic and OCL available.
  • 12/16: slides for the invited talk today available.
  • 12/16: slides for Software Testing available.
  • 12/02: slides for Web Application Security available.
  • 12/02: slides for Design Document and an example design document available.
  • 11/20: slides for Design Patterns and some code examples available.
  • 11/11: Term Project finalized.
  • 11/11: slides for Team Collaboration and for Bluemix available.
  • 11/04: Draft of Term Project (announced 10/01) revised, to be finalized today (or tomorrow).
  • 11/04: Draft of the Common Core of the Alumni Database available for discussions.
  • 10/21: HW#4 due 11/02 (design document) and 11/04 (demo).
  • 10/14: slides for Data Modeling available.
  • 10/10: HW#3 due 10/15.
  • 10/07: slides for UML Diagrams available.
  • 10/01: Draft of Term Project available for discussions, to be finalized in three weeks.
  • 09/30: slides for Web Application Development available.
  • 09/30: slides for Eclipse and EGit available.
  • 09/24: the tutorial How to Use the SDM Developer Console revised.
  • 09/23: HW#2 due 09/30.
  • 09/22: slides for An Overview of UML available.
  • 09/21: HW#1 revised and due time postponed to 10AM 09/23.
  • 09/19: HW#1 due 10PM 09/22; follow these instructions to create an account on the Git server for this course.
  • 09/17: slides for Version Control with Git available.
  • 09/16: slides for Course Introduction available.
  • 09/16: website announced. This website is the sole source of all up to date course information and syllabus of Software Development Methods 2015; there is no separate PDF version for the syllabus.

Instructor

Yih-Kuen Tsay (蔡益坤), Room 1108, Management II, 3366-1189, Xtsay@im.ntu.edu.twX (between the enclosing pair of X's).

Guest Lecturers

Jeffrey CH Liu (劉智雄, IBM), Wen-Chun Ni (倪文君, 叡揚), Clement CW Su (蘇志文, IBM), Scar Su (蘇瑞亨, 叡揚), Chih-Pin Tai (戴智斌, 創炎/Traiwan出來玩), Ming-Hsien Tsai (蔡明憲, Academia Sinica), and Ching-Lin Yu (游景麟, Mozilla).

Lectures

Wednesday 2:20-5:20PM, Room 204, College of Management, Building 2.

Office Hours

Wednesday 1:30-2:00PM, Room 1108, College of Management, Building 2, or by appointment.

TA

唐維佋, 3366-1205, Xpa4373@gmail.comX (between the enclosing pair of X's).

Prerequisites

Object-Oriented Programming and Discrete Mathematics.

Textbook

Class notes and selected readings.

After an overview of the typical software development process and relevant issues, we will study some fundamental elements of software modeling, design, and verification, along with several software productivity tools and development practices. To practice applying these methods and tools, we will carry out a term project that involves the development of a large Web application. We will also study Web application programming techniques and security, to better prepare for the project.

  • Introduction (.5 week: 09/16a)
    Overview of software requirements, development process, design methods, and verification
    [slides]
  • Productivity Tools: Version Control with Git (.5 week: 09/16b) [slides]
  • Software Modeling: An Overview of UML (.5 week: 09/23a)
    Introduction, basics of modeling, overview of the UML
    [slides]
  • Productivity Tools: Eclipse and EGit (.5 week: 09/23b) [Tips for Using Eclipse, EGit: Git for Eclipse]
  • Web Application Development (1 week: 09/30) [slides]
  • Software Modeling: UML Diagrams (1 week: 10/07a, 11/04a)
    Structural modeling (class diagrams, classifiers, interfaces, packages), behavioral modeling (interactions, use case diagrams, interaction diagrams, activity diagrams), architectural modeling (collaborations, deployment diagrams)
    advanced structural modeling (object diagrams, components), advanced behavioral modeling (events, state machines, processes and threads, timing constraints)
    [slides]
  • Term Project Discussions (.5 week: 10/07b)
  • Software Modeling: Data Modeling (2 weeks: 10/14, 10/28)
    Domain Model: What and How (Abstract Models, Notations and Constructs, Basic Business Logics, Crossing Domains, Layers of Abstraction), Common Patterns, with Group Exercises and Discussions
    [slides]
  • Software Development Practice: Team Collaboration (.5 week: 10/21a)
    Agile Development Process, Team Collaboration (Version Control, Issues Tracking, Rational Team Concert), Continuous Integration, and IBM Experience
    [slides]
  • Software Development Practice: Next Generation Developer and Cloud Applications (.5 week: 10/21b)
    Overview of Open Source Projects CloudFoundry and IBM Bluemix, Rapid Cloud Application Development with Composable Cloud Services, API Economics for the new generation of developers
    [slides; websites: Bluemix, JazzHub; inspiring article: A Cambrian moment]
  • Term Project Discussions (.5 week: 11/04b)
  • Design Patterns (2 weeks: 11/11, 11/18)
    Why design patterns, introduction to creational, structural, and behavioral patterns, GoF patterns
    [slides; code examples]
  • Software Development Practice: Design Document (.5 week: 11/25a)
    High level design document, implementation level design document, user story (for Agile)
    [slides, notes: An Example Design Document]
  • Term Project Discussions (.5 week: 11/25b)
  • Software Security: Web Application Security (1 week: 12/02)
    Dynamic Web pages, client-side scripts, security vulnerabilities, vulnerabilities detection and prevention
    [slides]
  • Software Verification: Testing (1 week: 12/09)
    [slides]
  • Term Project Discussions (.5 week: 12/16a)
  • Invited Talk (.5 week: 12/16b)
    [slides]
  • Software Modeling: Formal Logic and Correctness Requirements (.5 week: 12/23a)
    Propositions, proofs, theorems, predicates, models
    [slides]
  • Software Modeling: OCL or Alloy (.5 week: 12/23b)
    Object Constraint Language (relation with UML models, values, types, expressions, objects, properties, collection operations)
    [slides]
    Software modeling, simulation, and checking
    [slides]
  • Software Verification: Formal Verification (1 week: 12/30)
    Automata-based model checking, linear temporal logic, Spin (Promela, never-claims)
    [slides: Automata-Based Model Checking, Temporal Logic and Automata]
    Axiomatic semantics of programs (assertions, pre/post-conditions, invariants), partial and total correctness
    [slides; notes: Rules of Hoare Logic, Proofs with Hoare Logic]
  • Term Project Presentations (2016/01/06)
  • Final (2016/01/13)

Grading

Homework 10%, Term Project 50%, Final 30%, Attendance/Participation 10%.

References

  1. Git.
  2. Eclipse, The Eclipse Foundation open source community website.
  3. The Unified Modeling Language User Guide, 2nd Edition, G. Booch, I. Jacobson, and J. Rumbaugh, Addison-Wesley, 2005.
  4. Design Patterns: Elements of Reusable Object-Oriented Software, E. Gamma, R. Helm, R. Johnson, and J. Vlissides, Addison-Wesley, 1995.
  5. The OWASP Website. (Note: a website dedicated to Web application security.)
  6. The Formal Methods Page: http://formalmethods.wikia.com/wiki/Formal_methods, J. Bowen. (Note: this Web portal provides links to numerous formal methods and tools.)
  7. Logic in Computer Science: Modelling and Reasoning about Systems, M. Huth and M. Ryan, Cambridge University Press, 2004.
  8. Logic for Computer Science: Foundations of Automatic Theorem Proving, J.H. Gallier, Harper & Row Publishers, 1985. (Note: follow the link to author's free download site.)
  9. Object Constraint Language, OMG Available Specification, Version 2.0, OMG.
  10. Software Abstractions: Logic, Language, and Analysis, D. Jackson, MIT Press, 2006.
  11. Temporal Verification of Reactive Systems: Safety, Z. Manna and A. Pnueli, Springer-Verlag, 1995.
  12. The SPIN Model Checker: Primer and Reference Manual, G.J. Holzman, Addison-Wesley, 2003.
  13. Verification of Sequential and Concurrent Programs, 3rd Edition, K.R. Apt, F.S. de Boer, and E.-R. Olderog, Springer, 2009.

Old Exams and Solutions

courses/sdm2015/main.txt · Last modified: 2016/05/04 11:21 by tsay