Course detail
Algorithms
FEKT-KIZPAcad. year: 2011/2012
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).
Language of instruction
Number of ECTS credits
Mode of study
Guarantor
Department
Learning outcomes of the course unit
Prerequisites
Co-requisites
Planned learning activities and teaching methods
Assesment methods and criteria linked to learning outcomes
Course curriculum
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.
Recursion.
Pointer types and dynamic variables. Linked structures.
Sorting.
Searching.
Program verification, debugging, documentation.
Work placements
Aims
Specification of controlled education, way of implementation and compensation for absences
Recommended optional programme components
Prerequisites and corequisites
Basic literature
Wirth N.: Algoritmy a štruktúry údajov, Alfa Bratislava, 1988.
Wirth N.,Jensen K.: Pascal User manual and report, ISO Pascal Standard, Springer-Verlag, 1991.
Recommended reading
Classification of course in study plans
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
Problem solving techniques. Design and implementation of algorithms
Principles of high level programming languages. Symbols and separators, constants, identifiers, variables, numbers representation, labels.
Expression and statements.
Text file input and output.
The concept of data. Simple data types, structured data types.
Structured programming. Control structures. Blocks, scope and activation.
Procedures and functions, parameters.
Recursion.
Pointer types and dynamic variables. Linked structures.
Sorting.
Searching.
Program verification, debugging, documentation.
Exercise in computer lab
Teacher / Lecturer
Syllabus
Tools for debugging. Standard libraries. Simple programs in Turbo Pascal language.
Tutorial on home assignment (calculation.) Defence of the home assignment.
Tutorial on home assignment (matrix). Defence of the home assignment.
Tutorial on home assignment (file handling). Defence of the home assignment.
Tutorial on home assignment (program units) Defence of the home assignment.