C2160 C Programming for Chemists

Faculty of Science
Spring 2012
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)
Ing. Tomáš Trnka, Ph.D. (assistant)
Guaranteed by
Mgr. Martin Prokop, Ph.D.
National Centre for Biomolecular Research – Faculty of Science
Supplier department: National Centre for Biomolecular Research – Faculty of Science
Timetable
Mon 10:00–11:50 C04/118
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 20 student(s).
Current registration and enrolment status: enrolled: 0/20, only registered: 0/20
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 will be able to apply their knowledge of C language in development of simple programs solving problems from chemistry, bioinformatics and other natural sciences.
Syllabus
  • History of C programming language. Editors, development environments, compilators. C program structure. Building of a program.
  • Basic data types, variables, constants. Assignment and arithmetic operations.
  • Conditionals. Comparison and logical operators. The precedence and associativity of C operators.
  • Loops.
  • Arrays. Structures.
  • Pointers. Strings.
  • Input and output commands. Standars I/O devices, reading and writing files.
  • Functions, parameters, passing by value, pointer and reference.
  • Preprocessor directives, macros. Standard C library functions.
  • Dynamic memory allocation, dynamic variables. Recursive functions calling.
  • Development of programs with graphical output.
  • Specific problems with development of software for chemistry bioinformatics and other natural sciences.
Literature
  • KAČMÁŘ, Dalibor. Jazyk C. 1. vyd. Praha: Computer Press. 185 s. ISBN 8072262955. 2000. info
  • HEROUT, Pavel. Učebnice jazyka C. České Budějovice: KOPP. 236 s. ISBN 80-85828-50-2. 1998. info
  • HEROUT, Pavel. Učebnice jazyka C. 3. upr. vyd. České Budějovice: KOPP. 269 s. ISBN 80-85828-21-9. 1996. info
Teaching methods
Lectures and practical exercises using computers.
Assessment methods
Colloquium consists of development of simple program solving selected problem from chemistry or bioinformatics.
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 2009, Spring 2010, Spring 2011, 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 2012, recent)
  • Permalink: https://is.muni.cz/course/sci/spring2012/C2160