Course detail
Computers and Programming 2
FEKT-KPC2Acad. year: 2010/2011
ANSI C language - data types, constants, operators, expressions, commands, program, function. Console applications - basic algorithms and programs (searching, sorting). Borland C++ Builder - simple Windows applications.
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
Work placements
Aims
Specification of controlled education, way of implementation and compensation for absences
Recommended optional programme components
Prerequisites and corequisites
Basic literature
PROKOP, J. Algoritmy v jazyku C a C++. Praha: Grada Publishing, 2008
RAIDA, Z., FIALA, P. Počítače a programování 2. Edice "Elektronická skripta". Brno: FEKT VUT v Brně, 2002. s. (110 s.)
Recommended reading
Classification of course in study plans
- Programme EECC Bc. Bachelor's
branch BK-EST , 1 year of study, summer semester, compulsory
branch BK-MET , 1 year of study, summer semester, compulsory
branch BK-TLI , 1 year of study, summer semester, compulsory
branch BK-SEE , 1 year of study, summer semester, compulsory
branch BK-AMT , 1 year of study, summer semester, compulsory - Programme EEKR-CZV lifelong learning
branch EE-FLE , 1 year of study, summer semester, compulsory
Type of course unit
Lecture
Teacher / Lecturer
Syllabus
Introduction to C. Basic types, derived types, constants, operators, expressions, commands, program, functions.
Objects. Lexical elements, constants and strings, objects classes, object types.
Expressions. General rules, primary expressions, unary operators, multiplicative operators, additive operators, shift operators, relation operators, logical operators, conditioned operator.
Declaration. Structure of declarations, declaration of elementary objects, structures and units, initialization, external definition of functions, lexical range of validity.
Commands. Empty command, expression command, block command, conditioned command, switch.
Cycles. Cycles while, do and for.
Functions. Calling and returning, real arguments, recursion of functions, command goto, label.
Basic algorithms and programs. Examples and implementation of selected algorithms (searching, sorting, etc.).
Introduction into Microsoft Visual C.
Exercise in computer lab
Teacher / Lecturer
Syllabus
Introduction to C. Basic types, derived types, constants, operators, expressions, commands, program, functions.
Objects. Lexical elements, constants and strings, objects classes, object types.
Expressions. General rules, primary expressions, unary operators, multiplicative operators, additive operators, shift operators, relation operators, logical operators, conditioned operator.
Declaration. Structure of declarations, declaration of elementary objects, structures and units, initialization, external definition of functions, lexical range of validity.
Commands. Empty command, expression command, block command, conditioned command, switch.
Cycles. Cycles while, do and for.
Functions. Calling and returning, real arguments, recursion of functions, command goto, label.
Basic algorithms and programs. Examples and implementation of selected algorithms (searching, sorting, etc.).
Introduction into Microsoft Visual C.