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 2021 term: 1 September 2021, at 15:00 via Zoom (see details in Canvas).
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.
Date and time | Type | Place | Topic | Teacher |
---|---|---|---|---|
2021-09-01 15:00 |
Introduction and Lecture 1 |
Zoom | 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 |
2021-09-02 15:00 | Lecture 2 | Zoom | Essentials of developing code in a collaborative environment: code repositories, software versioning, development frameworks, documentation | OS |
2021-09-03 15:00 | Lecture 3 | Zoom | 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 |
2021-09-08 15:00 | Tutorial 1 | Zoom | Setting up the course work environment: installation and usage of the Linux desktop client for LUNARC | FP |
2021-09-09 15:00 | Tutorial 2 | Zoom | Working in Linux shell, essential command line tools, operating on files and directories, using advanced text editors | BK |
2021-09-10 15:00 | Tutorial 3 | Zoom | Practical examples of more complex programming: implementation of algorithms, work with data sets, usage of bash | FP |
2021-09-15 15:00 | Lecture 4 | Zoom | Specifics of distributed computing: basic concepts, methods for distributed data access, authentication and authorisation, information systems and resource discovery, Grids and Clouds | BK |
2021-09-16 15:00 | Tutorial 4 | Zoom | Usage of computing clusters: secure logging into remote systems, examples of usage of parallel calculations, assessment of speed-up(exercises) | BK |
2021-09-17 15:00 | Tutorial 5 | Zoom | Working with a Git repository: checking code out, committing changes, resolving conflicts, applying patches | FP |
2021-09-22 15:00 | Tutorial 6 | Zoom | First steps in programming: simple C++ programs, constants and variables, operators | BK |
2021-09-23 15:00 | Tutorial 7 | Zoom | First steps in programming: C++ functions, input/output, compilation and execution | BK |
2021-09-24 15:00 | Lecture 5 | Zoom | Programming in C++, next steps: control structures, functions, pointers, arrays, data structures | EE |
2021-09-29 15:00 | Lecture 6 | Zoom | Object oriented programming in C++: classes, inheritance, polymorphism | EE |
2021-09-30 15:00 | Tutorial 8 | Zoom | Exercises on implications of finite discrete representation of numbers, machine precision and accuracy | EE |
2021-10-01 15:00 | Tutorial 9 | Zoom | Usage of compound data types, choice of optimal strategies | EE |
2021-10-06 15:00 | Tutorial 10 | Zoom | Filestream, usage of standard containers | EE |
2021-10-07 15:00 | Tutorial 11 | Zoom | C++ classes | EE |
2021-10-08 15:00 | Tutorial 12 | Zoom | Usage of Makefile | EE |
2021-10-13 15:00 | Lecture 7 | Zoom | ROOT as a data storage framework: introduction and architecture overview, usage of ROOT to store and represent data | EL |
2021-10-14 15:00 | Tutorial 13 | Zoom | Simulation of a physics process using random number generators, recording data in a given format | EL |
2021-10-15 15:00 | Tutorial 14 | Zoom | Reading data files, plotting data and functions | EL |
2021-10-20 15:00 | Lecture 8 | Zoom | ROOT as a data analysis framework: ntuples, accessing information, statistical analysis | EL |
2021-10-21 15:00 | Tutorial 15 | Zoom | Running statistical analysis, assessing uncertainties | EL |
2021-10-22 15:00 | Tutorial 16 | Zoom | Advanced data analysis with ROOT | EL |
2021-10-27 15:00 | Zoom | Project consultations | ||
2021-10-28 15:00 | Zoom | Project consultations | ||
2021-10-29 15:00 | Zoom | Project consultations |
Teachers:
- OS - Oxana Smirnova
- FP - Florido Paganelli
- BK - Balázs Kónya
- EE - Einar Elén
- EL - Else Lytken
Contact:
Course responsible: Oxana Smirnova, tel. 046-222 7699, Fysikum A418
Previous terms:
Official syllabi:
- Official syllabus of MNXB01 (in Swedish)
- Official information on NAFY018 (with syllabi in Swedish and English)