Course detail

Computers and Programming 2

FEKT-CPC2Acad. year: 2017/2018

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.

Learning outcomes of the course unit

Obtaining basic programming abilities and the ability of algorithmic thinking. Understanding basic properties and strctures of C and the ability to apply them. Ability of basic programming in Borland C++ Builder.

Prerequisites

The subject knowledge on the secondary school education level is requested.

Co-requisites

Not applicable.

Recommended optional programme components

Not applicable.

Recommended or required reading

PRINZ, P., KIRCH-PRINZ, U. A Complete Guide to Programming in C+. Sudbury: Jones and Bartlett Computer Science, 2002
DALE, N., WEEMS, CH. Programming in C+. Sudbury: Jones and Bartlett Computer Science, 2005

Planned learning activities and teaching methods

Teaching methods depend on the type of course unit as specified in the article 7 of BUT Rules for Studies and Examinations.

Assesment methods and criteria linked to learning outcomes

The student can obtain up to 22 points for the activity in computer labs, up to 20 points for tests in semester and 28 points for the final test. An individual project in C can be honored by 30 points (maximally).

Language of instruction

English

Work placements

Not applicable.

Course curriculum

Algorithmization (extensions of basic knowledge from the previous semester). Definition of the task, the definition of inputs / outputs, expressing
an algorithm in meta-language, rewritting into programming language. Introduction to C language. Basic types of variables, derived types, constants, arrays.
Expressions, arithmetic conversions, arithmetic operators, shift operators, relation operators, logical operators, bitwise operators, assignment
operators, operator priority. Strings and their operators, library functions, standard library string.h. Commands, compound statements, branching commands, cycles and control commands. Flowchart. Function. Declaration of functions, methods of function calling, treatment events, recursion of functions. Advanced data types. Union, enum, dynamic variable, pointer. Objects. Lexical elements, constants and strings, classes, objects, object types. User interface of Microsoft Visual C++ Studio. Graphical components. Algorithms Finding maxima and minima, sorting. Programming with arrays, matrices operations. Programming with files in Windows. Database systems. Records, sorting, searching, statistics. Linking of databases.

Aims

Educating students in algorithmic and programming thinking. Explaining basic properties and structures of language C. Preparing students for exploration of Borland C++ Builder.

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.

Classification of course in study plans

  • Programme EEKR-BC Bachelor's

    branch BC-AMT , 1. year of study, summer semester, 5 credits, compulsory
    branch BC-EST , 1. year of study, summer semester, 5 credits, compulsory
    branch BC-MET , 1. year of study, summer semester, 5 credits, compulsory
    branch BC-SEE , 1. year of study, summer semester, 5 credits, compulsory
    branch BC-TLI , 1. year of study, summer semester, 5 credits, compulsory

Type of course unit

 

Lecture

26 hours, optionally

Teacher / Lecturer

Computer exercise

26 hours, compulsory

Teacher / Lecturer