C2160 C Programming for Chemists

Faculty of Science
Spring 2009
Extent and Intensity
0/2. 2 credit(s) (plus extra credits for completion). Type of Completion: k (colloquium).
Teacher(s)
Mgr. Martin Prokop, Ph.D. (lecturer)
Guaranteed by
Mgr. Martin Prokop, Ph.D.
National Centre for Biomolecular Research – Faculty of Science
Timetable
Tue 10:00–11:50 Kontaktujte učitele
Prerequisites
Basic experience with operating system UNIX (e.g. C2110 course).
Course Enrolment Limitations
The course is only offered to the students of the study fields the course is directly associated with.

The capacity limit for the course is 18 student(s).
Current registration and enrolment status: enrolled: 0/18, only registered: 0/18
fields of study / plans the course is directly associated with
Course objectives
The course is focused on acquiring of basic knowledge of C programming language. The main emphasis is directed to practical usage of programming in chemistry and bioinformatics. At the end of this course, students should be able to: understand basic principles of programming; have basic knowledge of C language programming; develop simple program solving selected problem from chemistry, bioinformatics or other natural sciences.
Syllabus
  • History of programming languages. Programing language C. Editors, development environments, compilators. Basic elements of C. C program structure. Building of a program.
  • Data types, variables, constants. Assignment and arithmetic operations. Conditionals. Comparison and logical operators. The precedence and associativity of C operators.
  • Loops. Functions. Global and local variables. Preprocessor directives, macros.
  • Arrays. Structures. Pointers. Strings.
  • Input and output commands. Standars I/O devices, reading and writing files.
  • Dynamic memory allocation, dynamic variables. Function parameters, passing by value, pointer and reference.
  • Standard C library functions.
  • Recursive functions calling. Searching and sorting algorithms. Time complexity and memory complexity of algorithms.
  • Reprezentation of numbers in the computers. Computational round-off errors.
  • Finding and elimination of program errors. Program efficiency. Program portability.
  • Libraries for numerical calculations. Libraries for chemical and scientific calculations.
  • Examples of selected chemoinformatic and bioinformatic problem solutions.
Literature
  • KAČMÁŘ, Dalibor. Jazyk C. 1. vyd. Praha: Computer Press, 2000, 185 s. ISBN 8072262955. info
  • HEROUT, Pavel. Učebnice jazyka C. České Budějovice: KOPP, 1998, 236 s. ISBN 80-85828-50-2. info
  • HEROUT, Pavel. Učebnice jazyka C. 3. upr. vyd. České Budějovice: KOPP, 1996, 269 s. ISBN 80-85828-21-9. info
Assessment methods
Lectures and practical exercises in computer classroom. Colloquium consists of development of simple program solving selected problem.
Language of instruction
Czech
Follow-Up Courses
Further Comments
Study Materials
The course can also be completed outside the examination period.
The course is taught annually.
Listed among pre-requisites of other courses
Teacher's information
http://ncbr.chemi.muni.cz/~martinp/C2160/
The course is also listed under the following terms Spring 2008 - for the purpose of the accreditation, Spring 2011 - only for the accreditation, Spring 2010, Spring 2011, Spring 2012, spring 2012 - acreditation, Spring 2013, Spring 2014, Spring 2015, Spring 2016, Spring 2017, spring 2018, Spring 2019, Spring 2020, Spring 2021, Spring 2022, Spring 2023, Spring 2024, Spring 2025.
  • Enrolment Statistics (Spring 2009, recent)
  • Permalink: https://is.muni.cz/course/sci/spring2009/C2160