Basics of programming - algoritms
FEKT-CIZPAcad. year: 2019/2020
Algorithms and problem solving: strategy of problem solving, structured decomposition, concept and features of algorithm. Basic programming construction: syntax and semantics of high programming language, variables, type, assignment, control structures, procedure and functions, parameter passing, input/output, exceptional state processing. Basic data structure: simple data types, structured data typed: array, record, file, strings. Dynamic data structures, concept of pointers. Strategy for selecting appropriate data structure. Recursion, concept of recursion. Global and local variables. Simply recursion procedures. Modular Design and abstraction. Concepts will be illustrated by using appropriate programming language. (ISO/IEC 9899: Programming languages - C).
Learning outcomes of the course unit
Student acquaints with the methods of analysing and designing simple computer algorithms. Student will introduced to the fundamental concepts of programming languages. Student gets up how to write programs in high programming languages. Student gets up how to use EBNF to describe programming language syntax. Student acquires basic English terminology of programming, syntax, and semantics of programming language.
The subject knowledge on the secondary school level is required.
Recommended optional programme components
Recommended or required reading
Kadlec, V.: Učíme se programovat v jazyce C, Computer Press, Praha, 2002, ISBN 80-7226-715-9.
Herout, P.: Učebnice jazyka C, Kopp, České Budějovice, 2003, ISBN 80-85828-21-9.
Wirth, N.: Algoritmy a štruktúry údajov, Alfa Bratislava, 1988.
Cormen, T., Leiserson, Ch., Rivest, R., Stein, C.:Introduction to Algorithms, Second Edition Publisher: The MIT Press; 2nd edition (September 1, 2001), ISBN: 0262032937
Prezentace přednášek: http://www.fit.vutbr.cz/study/courses/IZP/private/
Planned learning activities and teaching methods
Teaching methods include lectures, practical laboratories and computer laboratories. The part of this course are 3 projects and presentation of their results.
Assesment methods and criteria linked to learning outcomes
Evaluated home assignments with the defence: 26 points. Computer practices: 8 points. Mid-term written examination: 12 points. Final written examination: 54 points.
Language of instruction
Properties of algorithms, notations for describing algorithms.
Problem solving techniques. Design and implementation of algorithms
Principles of high level programming languages. Symbols and separators, constants, identifiers, variables, numbers repesentation, labels.
The concept of data. Simple data types. Expression and statements.
Control structures. Blocks, scope and activation.
Functions, parameters of functions.
Text file standard input and output.
Structured data types.
Pointer types and dynamic variables. Linked structures.
Program verification, debugging, documentation.
To grasp an analysis of problems and to determine basic algorithms for their solving. To acquaint oneself with principles and features of high programming language and to possess them for implementing of algorithms. To learn how to use tools for program debugging. To get basic knowledge of data representation in memory. To make the acquaintance of evaluate algorithm complexity. To make the acquaintance of testing principles of programs. To possess active basic algorithms. To learn how to document, present and defend the reached results.
Specification of controlled education, way of implementation and compensation for absences
The content and forms of instruction in the evaluated course are specified by a regulation issued by the lecturer responsible for the course and updated for every academic year.