Hans-Joachim Böckenhauer and Dennis Komm
Digital Medicine I: Introduction to Programming
Introduction to the Course
Autumn 2019 – October 3, 2019
Digital Medicine I: Introduction to Programming Introduction to the - - PowerPoint PPT Presentation
Hans-Joachim Bckenhauer and Dennis Komm Digital Medicine I: Introduction to Programming Introduction to the Course Autumn 2019 October 3, 2019 Welcome to the Course Material Lecture website https://courses.ite.inf.ethz.ch/digiMed19
Autumn 2019 – October 3, 2019
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 1 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 2 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 3 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 4 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 5 / 36
Alan Turing [Wikimedia] Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 5 / 36
Charles Babbage [Wikimedia] Konrad Zuse [Wikimedia] John von Neumann [Wikimedia] Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 6 / 36
Arithmetic unit ALU Control unit
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 7 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 8 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 8 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 9 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 9 / 36
"‘Dixit algorizmi. . . "’ Latin translation [Wikimedia] Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 9 / 36
Input: a and b while b = 0 if a > b then a = a − b else b = b − a Output: a
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 10 / 36
Input: a and b while b = 0 if a > b then a = a − b else b = b − a Output: a
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 10 / 36
Input: a and b while b = 0 if a > b then a = a − b else b = b − a Output: a
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 10 / 36
Input: a and b while b = 0 if a > b then a = a − b else b = b − a Output: a
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 10 / 36
Input: a and b while b = 0 if a > b then a = a − b else b = b − a Output: a
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 10 / 36
Input: a and b while b != 0: if a > b: a = a − b else: b = b − a Output: a
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 10 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 11 / 36
ACTGCATGGC A C G C T A A G C A C T G C A T G G C C A A ACGCTAAGCACTGCATGGCCAA
algorithmics, concepts of programming
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 11 / 36
ACTGCATGGC A C G C T A A G C A C T G C A T G G C C A A ACGCTAAGCACTGCATGGCCAA
c
m u n i c a t i
b e t w e e n m e d i c i n e a n d c
p . s c i e n c e
algorithmics, concepts of programming
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 11 / 36
ACTGCATGGC A C G C T A A G C A C T G C A T G G C C A A ACGCTAAGCACTGCATGGCCAA
c
m u n i c a t i
b e t w e e n m e d i c i n e a n d c
p . s c i e n c e n e e d s b a s i c k n
l e d g e
algorithmics, concepts of programming
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 11 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 12 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 12 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 13 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 13 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 13 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 14 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 14 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 15 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 15 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 15 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 15 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 16 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 16 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 17 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 17 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks Syntactically correct, but ambiguous [no analogon]
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks Syntactically correct, but ambiguous [no analogon]
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks Syntactically correct, but ambiguous [no analogon] Syntactically correct, but gramatically and semanti- cally wrong: wrong article [type error]
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks Syntactically correct, but ambiguous [no analogon] Syntactically correct, but gramatically and semanti- cally wrong: wrong article [type error]
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks Syntactically correct, but ambiguous [no analogon] Syntactically correct, but gramatically and semanti- cally wrong: wrong article [type error] Syntactically and gramatically correct, but semanti- cally wrong [run-time error]
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks Syntactically correct, but ambiguous [no analogon] Syntactically correct, but gramatically and semanti- cally wrong: wrong article [type error] Syntactically and gramatically correct, but semanti- cally wrong [run-time error]
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Syntactically and semantically correct Syntax error: word building Syntax error: word order Syntax error: missing punctuation marks Syntactically correct, but ambiguous [no analogon] Syntactically correct, but gramatically and semanti- cally wrong: wrong article [type error] Syntactically and gramatically correct, but semanti- cally wrong [run-time error] Syntactically and sematically correct, but ambiguous [no analogon]
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 18 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 19 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 19 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 19 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 20 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 21 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 21 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 22 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 22 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 23 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 24 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 24 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 25 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 25 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 26 / 36
Effect: Output of the string This is... Effect: Variable x is created and assigned value 20
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 26 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 27 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 27 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 28 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 28 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 28 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 29 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 29 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 29 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 30 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 31 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 31 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 31 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 32 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 33 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 34 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 34 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 35 / 36
Digital Medicine I: Introduction to Programming – Introduction to the Course Autumn 2019 Böckenhauer, Komm 36 / 36