F1400 Computer programming

Faculty of Science
Autumn 2005
Extent and Intensity
1/2/0. 3 credit(s). Type of Completion: z (credit).
Teacher(s)
doc. RNDr. Petr Mikulík, Ph.D. (lecturer)
doc. RNDr. Petr Mikulík, Ph.D. (seminar tutor)
Guaranteed by
prof. RNDr. Josef Humlíček, CSc.
Department of Condensed Matter Physics – Physics Section – Faculty of Science
Contact Person: doc. RNDr. Petr Mikulík, Ph.D.
Timetable
Tue 7:00–7:50 F1 6/1014, Tue 8:00–9:50 Fcom,01034
Prerequisites
basic PC skills
Course Enrolment Limitations
The course is also offered to the students of the fields other than those the course is directly associated with.
fields of study / plans the course is directly associated with
Course objectives
Basic information on the C language enabling its application for calculations in physics. Basic information on programs Octave / Matlab with the emphasis on the manipulation with vectors and matrices and graphical output of the data. Basic information on typesetting with the LaTeX system that enables to write simple physical texts.
Syllabus
  • 1. Operating systems. Programming languages, programming, scripting. Editors and developing environments. Documentation. 2. Representation of numbers in the computers. Computational errors. Propagation of errors during the calculation. Good, badly conditioned tasks. 3. Language C. Basic structure of the language. Identificators, variables, constants. Data types. Declarations. Arrays, allocation of memory. Strings. Operations. Assignments. Input/Output. Standard functions, libraries. Routines and macros, their parameters. Language C++. 4. Programs Octave / Matlab. Working with the program, basic commands. M-files. Graphical output. Input/output. 5. Writing scientific texts in LaTeX. Basic commands. Packages. Basics of typography. Fonts. Environments. Equations, tables. Bibliography and index. Figures.
Literature
  • KERNIGHAN, Brian W. and Dennis M. RITCHIE. Programovací jazyk C : The C Programming Language (Orig.). Translated by Vladimír Benko. 1. vyd. Bratislava, Praha: Alfa, Státní nakladatelství technické literatury, 1988, 249 s. info
  • KERNIGHAN, Brian W. and Dennis M. RITCHIE. Programovací jazyk C. 2. vyd. Bratislava: Alfa, 1989, 249 s. ISBN 80-05-00154-1. info
  • STROUSTRUP, Bjarne. C++ : programovací jazyk : The C++ programming language (Orig.). 1. české vyd. Praha: Softwarové Aplikace a Systémy, 1997, 686 s. ISBN 80-901507-2-1. info
  • RYBIČKA, Jiří. Latex pro začátečníky. 2. vyd. Brno: Konvoj, 1999, 190 s. ISBN 8085615746. info
  • LAMPORT, Leslie. LATEX : a document preparation system : user's guide & reference manual. Illustrated by Duane Bibby. Reading: Addison-Wesley Publishing Company, 1986, 242 s. ISBN 0-201-15790-X. info
  • GOOSSENS, Michel, Frank MITTELBACH and Alexander SAMARIN. The LaTeX companion. Reading, Mass.: Addison Wesley, 1994, 528 s. ISBN 0-201-54199-8. info
  • http://www.octave.org/docs.html; http://octave.sourceforge.net
  • HERINGOVÁ, Blanka and Petr HORA. Matlab pro Windows. Praha: H-S, 1995, 147 s. info
  • HERINGOVÁ, Blanka and Petr HORA. Matlab pro Windows. Praha: H-S, 1995, l sv. info
  • GANDER, W. and Jiří HŘEBÍČEK. Solving Prolems in Scientific Computing Using Maple and MATLAB. 3rd ed. Heidelberg: Springer Verlag, 1997, 408 pp. ISBN 3-540-61793-0. info
Assessment methods (in Czech)
přednáška a cvičení, předmět je ukončen zápočtem
Language of instruction
Czech
Further comments (probably available only in Czech)
The course can also be completed outside the examination period.
The course is taught annually.
Teacher's information
http://www.physics.muni.cz/~mikulik/vyuka/Programovani.zima.2005
The course is also listed under the following terms Autumn 2007 - for the purpose of the accreditation, Autumn 1999, Autumn 2010 - only for the accreditation, Autumn 2000, Autumn 2001, Autumn 2002, Autumn 2003, Autumn 2004, Autumn 2006, Autumn 2007, Autumn 2008, Autumn 2009, Autumn 2010, Autumn 2011, Autumn 2011 - acreditation, spring 2012 - acreditation, Autumn 2012, Autumn 2013, Autumn 2014, Autumn 2015, Autumn 2016, autumn 2017, Autumn 2018, Autumn 2019, Autumn 2020, autumn 2021, Autumn 2022, Autumn 2023, Autumn 2024.
  • Enrolment Statistics (Autumn 2005, recent)
  • Permalink: https://is.muni.cz/course/sci/autumn2005/F1400