Logo ČVUT
Loading...
CZECH TECHNICAL UNIVERSITY IN PRAGUE
STUDY PLANS
2011/2012

Algorithmization and Programming Fundamentals

Login to KOS for course enrollment Display time-table
Code Completion Credits Range Language
2012035 KZ 4 1+2 Czech
Lecturer:
Marta Čertíková, Olga Majlingová, Petr Sváček
Tutor:
Vojtěch Běták, Marta Čertíková, Jiří Holman, Jaroslav Huml, Jan Karel, Olga Majlingová, Vladimír Prokop, Petr Sváček
Supervisor:
Department of Technical Mathematics
Synopsis:

Students are acquainted with programming language C and exercised at basic problems of numerical mathematics.

Requirements:
Syllabus of lectures:

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.

Syllabus of tutorials:

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.

Study Objective:

1. Example of elementary program, program structure, programming process;, Algorithm statements; Building blocks of C language;, 2. Statements, assignment, priorities of operations; Mathematical functions, standard libraries; Flow control: Conditional statement, Switch, Goto;, 3. Cycles: For, While, Do-while; Break; Continue;, 4. Formatted and unformatted intput/output; Input/output from data files;, 5. Functions - call by value, call by reference; Recursive functions;, 6. Pointers; Array as a parameter of function; function as a parameter of function; Data types typedef, enumeration, structure;, 7. Dynamic memory allocation: one-dimensional arrays, multi-dimensional arrays;, 8. Sorting: direct selection, bubblesort, shakesort, quicksort;, 9. Numerical integration: trapezoidal method, Simpson's method;, 10. Equation f(x)=0: bisection method, iterative method, Newton's method;, 11. System of linear algebraic equations: Finite methods: Gaussian elimination, Gaussian elimination for tridiagonal system;, 12. System of linear algebraic equations: Iterative methods: Jacobi's method, Gauss-Seidel method;, 13. Cauchy problem for one ordinary differential equation

Study materials:

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

Note:
Time-table for winter semester 2011/2012:
06:00–08:0008:00–10:0010:00–12:0012:00–14:0014:00–16:0016:00–18:0018:00–20:0020:00–22:0022:00–24:00
Mon
roomKN:A-424

09:00–10:30
(parallel nr.19)
Karlovo nám.
Poc.ucebna A424
roomKN:A-424

10:45–12:15
(parallel nr.20)
Karlovo nám.
Poc.ucebna A424
Tue
Fri
roomKN:A-424

09:00–10:30
(parallel nr.9)
Karlovo nám.
Poc.ucebna A424
roomKN:A-312

10:45–12:15
EVEN WEEK

(lecture parallel1)
Karlovo nám.
Poslucharna KA312 (A25)
roomKN:A-447

12:30–14:00
(parallel nr.14)
Karlovo nám.
Poc.ucebna A447
roomKN:A-447

09:00–10:30
(parallel nr.10)
Karlovo nám.
Poc.ucebna A447
roomKN:A-312

10:45–12:15
ODD WEEK

(lecture parallel2)
Karlovo nám.
Poslucharna KA312 (A25)
roomKN:A-424

12:30–14:00
(parallel nr.18)
Karlovo nám.
Poc.ucebna A424
roomKN:A-446

09:00–10:30
(parallel nr.17)
Karlovo nám.
Poc.ucebna A446
Thu
roomKN:A-424

09:00–10:30
(parallel nr.15)
Karlovo nám.
Poc.ucebna A424
roomKN:A-424

10:45–12:15
(parallel nr.11)
Karlovo nám.
Poc.ucebna A424
roomKN:A-424

12:30–14:00
(parallel nr.13)
Karlovo nám.
Poc.ucebna A424
roomKN:A-424

14:15–15:45
(parallel nr.1)
Karlovo nám.
Poc.ucebna A424
roomKN:A-424

16:00–17:30
(parallel nr.3)
Karlovo nám.
Poc.ucebna A424
roomKN:A-447

09:00–10:30
(parallel nr.16)
Karlovo nám.
Poc.ucebna A447
roomKN:A-447

10:45–12:15
(parallel nr.12)
Karlovo nám.
Poc.ucebna A447
roomKN:A-447

14:15–15:45
(parallel nr.2)
Karlovo nám.
Poc.ucebna A447
roomKN:A-447

16:00–17:30
(parallel nr.4)
Karlovo nám.
Poc.ucebna A447
Fri
roomKN:A-424

09:00–10:30
(parallel nr.5)
Karlovo nám.
Poc.ucebna A424
roomKN:A-447

10:45–12:15
(parallel nr.7)
Karlovo nám.
Poc.ucebna A447
roomKN:A-447

09:00–10:30
(parallel nr.6)
Karlovo nám.
Poc.ucebna A447
roomKN:A-447

10:45–12:15
(parallel nr.8)
Karlovo nám.
Poc.ucebna A447
Time-table for summer semester 2011/2012:
Time-table is not available yet
The course is a part of the following study plans:
Generated on 2012-7-9
For updated information see http://bilakniha.cvut.cz/en/predmet1761906.html