C2160 C Programming for Chemists

Faculty of Science
Spring 2021
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. (deputy)
Ing. Tomáš Trnka, Ph.D. (alternate examiner)
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 1. 3. to Fri 14. 5. Mon 13:00–14:50 C04/118
Prerequisites
Basic experience with operating system UNIX (e.g. C2110 course).
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
The capacity limit for the course is 21 student(s).
Current registration and enrolment status: enrolled: 1/21, only registered: 0/21, only registered with preference (fields directly associated with the programme): 0/21
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.
Learning outcomes
At the end of the course, students will be able to: use basic constructs of programming language (e.g., conditions, loops, functions, basic data types); implement reading and writing from/to a file; use composite data types (arrays, structures); develop a simple C language programs solving problems from chemistry, bioinformatics and other natural sciences;
Syllabus
  • History of C programming language. Editors, development environments, compilers. 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. Standard 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, 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
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.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, spring 2012 - acreditation, Spring 2013, Spring 2014, Spring 2015, Spring 2016, Spring 2017, spring 2018, Spring 2019, Spring 2020, Spring 2022, Spring 2023, Spring 2024, Spring 2025.
  • Enrolment Statistics (Spring 2021, recent)
  • Permalink: https://is.muni.cz/course/sci/spring2021/C2160