This is an old revision of the document!
Software Development Methods, Spring 2024
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
06/05: suggested solutions to
HW#5 available.
05/29:
HW#5 due 11:59PM 06/04.
-
05/22: slides for Formal Logic, Hoare Logic, and Frama-C and ACSL available.
-
05/08: slides for Software Testing available.
05/08: suggested solutions to
HW#3 and
HW#4 available.
-
05/01: link to the slides of 05/01 updated.
04/24:
HW#4 due 2:20PM 05/01.
04/17: slides for Web Application Security available.
-
04/10: slides for Design Patterns and for Introduction to Debuggers available.
04/02:
HW#3 due 2:20PM 04/10.
04/02: slides for Domain Modeling available.
03/27: slides for Advanced Web Programming available.
03/20:
HW#2 due 2:20PM 03/27.
-
03/20: slides for Design Document and an example design document available.
03/14: a worth-viewing presentation (in particular the second half) of what “GPTs” may be developed using some version of ChatGPT:
OpenAI DevDay: Opening Keynote.
-
-
03/13: slides for UML Diagrams available.
03/13: slides for Chrome DevTools available.
03/12: no change has been made to the 03/05 draft of the term project description; so, that draft is the finalized version.
03/06: slides for An Overview of Software Modeling and UML available.
-
02/22: the
Google form for requesting an account on the Git server for this course.
02/21:
HW#1 (attachment: zipped
hw1.txt) due 2:00PM 02/29.
02/21: slides for Git available.
02/21: slides for Course Introduction available.
02/18: this website created to complement the NTU COOL site for this course.
Instructor
Yih-Kuen Tsay (蔡益坤), Room 1108, Management II, 3366-1189, Xtsay@ntu.edu.twX
(between the enclosing pair of X's).
Guest Speakers
Jeffrey CH Liu (劉智雄, Appier), Clement CW Su (蘇志文, IBM), Scar Su (蘇瑞亨, 叡揚), Chih-Pin Tai (戴智斌, 創炎/Traiwan出來玩), Ming-Hsien Tsai (蔡明憲, 台科大), and Ching-Lin Yu (游景麟, Google).
Lectures
Wednesday 2:20-5:20PM, Room 302, College of Management, Building 2.
Office Hours
Tuesday 1:30-2:00PM, Wednesday 1:30-2:00PM, or by appointment, Room 1108, Management Building 2.
TA
Yun-Chia Hsu (許芸嘉), Xr11725030@ntu.edu.twX (between the enclosing pair of X's).
Prerequisites
Object-Oriented Programming and Database Management.
Textbook
Class notes and selected readings.
Syllabus/Schedule (with links to slides/notes)
We will start with an overview of the typical software development process and relevant
issues and then study in greater details 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 (2/3 week: 02/21a)
Overview of software requirements, development process, design methods, verification
[
slides]
Productivity Tools: Version Control with Git (1/3 week: 02/21b) [
slides]
Term Project: Initial Discussions (1/3 week: 03/06a) [
Draft]
Software Modeling: An Overview of UML (2/3 week: 03/06b)
Introduction, basics of modeling, overview of the UML
[
slides]
Productivity Tools: Chrome DevTools (1/3 week: 03/13a) [
slides]
Software Modeling: UML Diagrams (2/3 week: 03/13b)
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: Proposal Presentations (1/3 week: 03/20a)
Software Development Practice: Design Document (2/3 week: 03/20b)
Design document introduction, high level design document, implementation level design document, design document for agile development
[
slides,
An Example Design Document]
-
Software Modeling: Domain Modeling (1 week: 04/03)
Introduction, mathematical preliminaries, and basic and higher abstractions [
slides]
Productivity Tools: Debuggers (1/3 week: 04/10a) [
slides]
Software Design: Design Patterns (1 and 2/3 weeks: 04/10b, 04/24)
Why design patterns, introduction to creational, structural, and behavioral patterns, GoF patterns
[
slides,
code examples]
Term Project: First Preliminary Demos (1/3 week: 04/17a)
Software Security: Web Application Security (2/3 week: 04/17b)
Dynamic Web pages, client-side scripts, security vulnerabilities, vulnerabilities detection and prevention
[
slides]
Software Development Practice: Agile Development in Practice (1 week: 05/01)
Principles for building an agile team, essentials of scrum, kanban, and scrumban, DevOps, and engineering culture
[
slides]
Term Project: Second Preliminary Demos (1/3 week: 05/08a)
Midterm Discussions (or Make-Up Lecture) (2/3 week: 05/08b)
Software Verification: Testing (1 week: 05/15)
[
slides]
Formal Specification: Formal Logic and Correctness Requirements (.5 week: 05/22a)
Motivation, program correctness, propositional and first-order logics (
propositions, proofs, theorems, predicates, models)
[
slides]
-
Term Project: Final Presentations (2024/05/29)
Final Exam (2024/06/05)
Grading
Homework 10%, Attendance/Participation 10%, Term Project 50%, Final 30%.
References
-
-
-
-
Eclipse, The Eclipse Foundation open source community website.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Old Exams and Solutions