  Anotace čs en
Algorithmization and Programming (E012035)
 Katedra: ústav technické matematiky (12101) Zkratka: Schválen: 14.03.2011 Platí do: ?? Rozsah: 1+2 Semestr: * Kredity: 4 Zakončení: KZ Jazyk výuky: EN
Anotace
Students are acquainted with programming language C and exercised at basic problems of numerical mathematics.
Vyučující
RNDr. Marta Čertíková Ph.D.
Zimní 2018/2019
RNDr. Marta Čertíková Ph.D.
Zimní 2017/2018
RNDr. Marta Čertíková Ph.D.
Zimní 2016/2017
Osnova
Illustration of a simple program, translation, loading and debugging program. Basic elements of C, variables and arrays. Expressions. Assignment expression and statement. Operators of incrementation and decrementation, if statement and conditional expression, switch statement. Go statement, loop statement. Input and output statements. Functions, call by reference and value. Solution of equations f(x) = 0. Numerical integration. Recursive function, pointers, dynamic allocation of memory. Sorting. Solution of system linear equations by finite and iterative methods. Type typedef, enumeration type, structures. Date structures in language C.

Osnova cvičení
Illustration of a simple program, translation, loading and debugging program. Basic elements of C, variables and arrays. Expressions. Assignment expression and statement. Operators of incrementation and decrementation, if statement and conditional expression, switch statement. Go statement, loop statement. Input and output statements. Functions, call by reference and value. Solution of equations f(x) = 0. Numerical integration. Recursive function, pointers, dynamic allocation of memory. Sorting. Solution of system linear equations by finite and iterative methods. Type typedef, enumeration type, structures. Date structures in language C.

Literatura
Barclay,K.A.: ANSI C Problem Solving and Programming, Prentice Hall 1990;, www.cplusplus.com/doc/tutorial