Malte Schwerhoff: Catalogue data in Autumn Semester 2021

Name Dr. Malte Schwerhoff
Address
Dep. Informatik
ETH Zürich, CAB H 31.2
Universitätstrasse 6
8092 Zürich
SWITZERLAND
Telephone+41 44 632 21 08
E-mailmalte.schwerhoff@inf.ethz.ch
DepartmentComputer Science
RelationshipLecturer

NumberTitleECTSHoursLecturers
252-0232-AALSoftware Engineering
Enrolment ONLY for MSc students with a decree declaring this course unit as an additional admission requirement.

Any other students (e.g. incoming exchange students, doctoral students) CANNOT enrol for this course unit.
6 credits13RF. Friedrich Wicker, M. Schwerhoff
AbstractThis course introduces both theoretical and applied aspects of software engineering. It covers:

- Software Architecture
- Informal and formal Modeling
- Design Patterns
- Software Engineering Principles
- Code Refactoring
- Program Testing
Learning objectiveThe course has two main objectives:

- Obtain an end-to-end (both, theoretical and practical) understanding of the core techniques used for building quality software.
- Be able to apply these techniques in practice.
ContentWhile the lecture will provide the theoretical foundations for the various aspects of software engineering, the students will apply those techniques in project work that will span over the whole semester - involving all aspects of software engineering, from understanding requirements over design and implementation to deployment and change requests.
LiteratureWill be announced in the lecture
252-0836-00LComputer Science II Information 4 credits2V + 2UM. Schwerhoff, F. Friedrich Wicker
AbstractThe course provides the foundations for the design and analysis of algorithms.
Classical problems ranging from sorting up to problems on graphs are used to discuss common data structures, algorithms and algorithm design paradigms.
The course also comprises an introduction to parallel and concurrent programming.
Learning objectiveAn understanding of the analysis and design of fundamental and common algorithms and data structures. Knowledge regarding chances, problems and limits of parallel and concurrent programming.
ContentData structures and algorithms: mathematical tools for the analysis of algorithms (asymptotic function growth, recurrence equations, recurrence trees), informal proofs of algorithm correctness (invariants and code transformation), design paradigms for the development of algorithms (induction, divide-and-conquer, backtracking and dynamic programming), classical algorithmic problems (searching, selection and sorting), data structures for different purposes (linked lists, hash tables, balanced search trees, heaps, union-find), further tools for runtime analysis (generating functions, amortized analysis. The relationship and tight coupling between algorithms and data structures is illustrated with graph algorithms (traversals, topological sort, closure, shortest paths, minimum spanning trees).

Parallel programming: structure of parallel architectures (multicore, vectorization, pipelining) concepts of parallel programming (Amdahl's and Gustavson's laws, task/data parallelism, scheduling), problems of concurrency (data races, bad interleavings, memory reordering), process synchronisation and communication in a shared memory system (mutual exclusion, semaphores, monitors, condition variables). The concepts are underpinned with examples of concurrent and parallel programs and with parallel algorithms, implemented in C++.

In general, the concepts provided in the course are motivated and illustrated with practically relevant algorithms and applications.

Exercises are carried out in Code-Expert, an online IDE and exercise management system.

All required mathematical tools above high school level are covered, including a introduction to graph theory.
Lecture notestba
LiteratureCormen, Leiserson, Rivest, and Stein: Introduction to Algorithms, 3rd ed., MIT Press, 2009. ISBN 978-0-262-03384-8 (recommended text)

B. Stroustrup, The C++ Programming Language (4th Edition) Addison-Wesley, 2013.
Prerequisites / NoticePrerequisite: Computer Science I
252-0864-00LEngineering Tool: Parallel and Concurrent Programming in C++ Information
All Engineering Tool courses are for MAVT-Bachelor students only.
0.4 credits1KM. Schwerhoff
AbstractThis course provides an introduction to parallel and concurrent programming, using C++. Basic challenges and concepts will be introduced and illustrated, and applied by students in small projects.
Learning objectiveStudents develop a basic understanding of the advantages and pitfalls of concurrency, and gain an overview of the field and its concepts. They learn how to solve small problems using concurrent programs.
Prerequisites / NoticeThe course can only be passed if the projects are executed and submitted. If no or insufficient solutions are submitted, the course is considered failed ("drop out").
252-0865-00LPreparatory Course in Computer Science Information 1 credit1PM. Schwerhoff
AbstractThe course provides an elementary introduction to programming with C++. Prior programming experience is not required.
Learning objectiveEstablish an understanding of basic concepts of imperative programming and how to systematically approach programming problems. Students are able to read and write simple C++ programs.
ContentThis course introduces you to the basics of programming with C++. Programming means instructing a computer to execute a series of commands that ultimately solve a particular problem.

The course comprises the following:
- General introduction to computer science: development, goals, fundamental concepts
- Interactive self-study tutorial that provides an introduction to C++ and covers the following topics: variables, data types, conditional statements and loops
- Introduction to stepwise refinement as an approach to systematically solving programming problems
- Two small programming projects, to practically apply the studied fundamentals
Lecture notesAll teaching material is available online; an online development environment is used for the the programmig projects.