Computer Technologies and Programming, part 2

Major: Automation and Computer-integrated Technologies
Code of subject: 6.151.00.O.013
Credits: 9.00
Department: Automation and Computer-Integrated Technologies
Lecturer: Dilay Ihor Volodymyrovych, Associate Professor, Doctor of Technical Sciences
Semester: 2 семестр
Mode of study: денна
Learning outcomes: 1. Demonstrate the ability to develop algorithms for solving basic technical and other application problems. 2. Demonstrate C, C ++ and Matlab application development skills in automation applications. 3. Demonstrate knowledge of the basic C, C ++ languages and ability to work in appropriate environments. 4. Know and be able to apply methods of debugging developed programs in order to obtain reliable results in a user-friendly form. 5. Be able to use Word, Matlab, Visio application packages to handle the solution of technical and other problems. 6. Demonstrate ability to work with data sets and textual information; be able to solve problems on the basis of structural and object-oriented programming paradigms.
Required prior and related subjects: Prerequisites: - Further Mathematics; - Physics; - Computer Technologies and Programming, Part 1.
Summary of the subject: General information and features of C programming language; standard C functions, operations, expressions, and operators; the structure of the C language program and the preprocessor directive. Graphical representation of the algorithm; classification of algorithms (linear, branched, cyclic), nested repetitions, accumulations, iterative processes, hits. Assignment, branching and repetition operators; programming of tasks of calculation of values of technological parameters (temperature, cost, level, etc.). Logical expressions and their order of execution; conditioned transition operators; embedding conditional operators. Operators of the organization of cycles; nested cycles; accumulation of sum and product. The concept of blocks (modules) of the program; function description formats and access to it. One-dimensional data sets and their identifiers; declaring arrays; formation and output of arrays; determination of extreme values of technological parameters from data sets; sorting array elements. Multidimensional data arrays; declaring arrays; formation and output of arrays. Fundamental types: logical, symbolic, goals, valid, none, enumeration; advertisement. Create and read files, write information to files, pass arguments, return values, suppress arguments, function pointers, structures, merge pointers and arrays, structures and functions. The paradigm of structural programming with C++, the differences between C and C++. Covering the basics of object-oriented programming. Class concepts, class announcement format, constructors and destructors.
Assessment methods and criteria: - written reports on laboratory works, oral questioning (30%); - final control (control measure - exam): written and oral form (70%).
Recommended books: - Shpak Z.Ya. C Programming: Educ. manual. - Lviv: Edition of the Lviv Polytechnic, 2011. - 436 p. - Practical C ++ programming course: Educational. manual. PP Zinchenko and others. - K .: NTUU “KPI”, 2008. - 216 p. - Petrovich RY, Tumashova OV Fundamentals of SI Language Programming: manual. - Lviv: Issue of the National University of Lviv Polytechnic, 2005. - 116 p. - Shchedrina OI Algorithmization and programming of information processing procedures: Tut. manual. - K .: KNEU, 2001. - 240 p. - Practical C ++ programming course: Educational. manual. PP Zinchenko and others. - K .: NTUU "KPI", 2008. - 216 p. - Schildt G. C ++: Basic Course. - M .: Izd. Williams House, 2010. - 624 p.