MNXB01 / NAFY018
Introduction to programming and computing for scientists
Introduktion till programmering och datoranvändning för naturvetare

7.5 ECTS credits, 1st half of Fall Term

Introduction and first lecture for the HT 2020 term: 2 September 2020, at 16:30, room K404 (Sal F).

The course is fully managed in Canvas, use it to access lecture notes and assignments

Textbook: "Problem solving with C++", W. Savitch (any edition)

Other related links and downloads:

Course elements and schedule

See Timeedit for the overall up-to-date schedule of classes; details of the course elements are shown below.

HT 2020 schedule
Date and time Type Place Topic Teacher
2020-09-02 16:30  Introduction and 
Lecture 1
Sal F (K404) Introduction to the role of programming in science, overview of usage of programming in: scientific devices, calibration procedures, pattern recognition, raw data pre-processing, modeling and simulation, distributed computing and data handling, data analysis and data presentation OS
2020-09-03 15:00 Tutorial 1 Sal Curie (K204)  Installation and customisation of a Linux operating system as a virtual machine, extending it with necessary additional packages FP
2020-09-04 15:00 Tutorial 2 Sal Curie (K204) Working in Linux shell, essential command line tools, operating on files and directories, using advanced text editors BK
2020-09-09 15:00 Lecture 2 Sal F (K404) Overview of commonly used programming languages: C, C++, Python, bash. Areas of applicability of these languages, benefits and drawbacks of each (see also examples) FP
2020-09-10 15:00 Lecture 3 Sal Curie (K204) Essentials of developing code in a collaborative environment: code repositories, software versioning, development frameworks, documentation OS
2020-09-11 15:00 Tutorial 3 Sal Curie (K204) Practical examples of more complex programming: implementation of algorithms, work with data sets, usage of bash FP
2020-09-16 15:00 Lecture 4 Sal F (K404) Specifics of distributed computing: basic concepts, methods for distributed data access, authentication and authorisation, information systems and resource discovery, Grids and Clouds OS
2020-09-17 15:00 Tutorial 4 Sal Curie (K204) Usage of computing clusters: secure logging into remote systems, examples of usage of parallel calculations, assessment of speed-up(exercises) BK
2020-09-18 15:00 Tutorial 5 Sal Curie (K204) Working with a Git repository: checking code out, committing changes, resolving conflicts, applying patches FP
2020-09-23 13:00 Tutorial 6 Sal Curie (K204) First steps in programming: simple C++ programs, constants and variables, operators BK
2020-09-24 15:00 Tutorial 7 Sal Curie (K204) First steps in programming: C++ functions, input/output, compilation and execution BK
2020-09-25 15:00 Lecture 5 Sal Curie (K204) Programming in C++, next steps: control structures, functions, pointers, arrays, data structures CM
2020-09-30 15:00 Lecture 6 Sal F (K404) Object oriented programming in C++: classes, inheritance, polymorphism CM
2020-10-01 17:00 Tutorial 8 Sal Curie (K204) Exercises on implications of finite discrete representation of numbers, machine precision and accuracy CM
2020-10-02 17:00 Tutorial 9 Sal Curie (K204) Usage of compound data types, choice of optimal strategies CM
2020-10-07 15:00 Tutorial 10 Sal F (K404)  Filestream, usage of standard containers CM
2020-10-08 15:00 Tutorial 11 Sal Curie (K204) C++ classes CM
2020-10-09 15:00 Tutorial 12 Sal Curie (K204) Usage of Makefile CM
2020-10-14 15:00 Lecture 7 Sal F (K404) ROOT as a data storage framework: introduction and architecture overview, usage of ROOT to store and represent data EL
2020-10-15 15:00 Tutorial 13 Sal Curie (K204) Simulation of a physics process using random number generators, recording data in a given format EL
2020-10-16 15:00 Tutorial 14 Sal Curie (K204) Reading data files, plotting data and functions EL
2020-10-21 15:00 Lecture 8 Sal F (K404) ROOT as a data analysis framework: ntuples, accessing information, statistical analysis EL
2020-10-22 15:00 Tutorial 15 Sal Curie (K204) Running statistical analysis, assessing uncertainties EL
2020-10-23 15:00 Tutorial 16 Sal Curie (K204) Advanced data analysis with ROOT EL
2020-10-29 15:00   Sal Curie (K204) Project consultations  
2020-10-30 15:00   Sal Curie (K204) Project consultations  



Course responsible: Oxana Smirnova, tel. 046-222 7699, Fysikum A418

Previous terms:

Official syllabi: