|
|
KEP/ZPEL
Fundamentals of Programming for El. Eng.
Guarantors: Ing. Petr Kropík, Ph.D.
|
|
|
|
Course annotation
KEP/ZPEL
-IS/STAG
Learn basic principles of structured procedural programming, and the basic data types. Understand the algorithms and the principles of their design and implementation. Familiarize with the principles and techniques of the object oriented programming, and the object application design. |
|
|
|
|
Lectures topics
- Computer from a programmer's point of view, operating systems, information storage. An example of a simple program. Problem analysis and programming, concept of algorithm.
- Program structure in C++ language, control structures, loops. Basic data types. Type conversion. Debugging and testing programs.
- Data types – range, precision, rounding. Expressions. Functions, simple parameters. Fields, text strings, basic functions for working with strings.
- Pointers, location of data in memory. Arrays and pointers. Algorithms for working with arrays. Multidimensional arrays.
- Structures, unions, enumeration types, bit structures. Working with files, input and output formatting.
- More complex data types – linked list, tree, queue, stack, circular queue. Mutual retyping of data types. Memory alignment. Packed structures.
- Differences between C and C++ at the level of basic syntax – additional data types and operators. Object-oriented style in programming. Reasons for using the object paradigm, principles. Implementation of the object programming in C++.
- Conceptual model of the object. Abstract data type. Implementation of an abstract data type – class. Objects, their properties.
- Object programming tools – encapsulation, inheritance, polymorphism, genericity. Implementation of the inheritance. Exception mechanism.
- Polymorphism, usage. Implementation of more complex structures using object programming tools.
- C++ standard libraries.
- Input and output streams usage.
- Creation of the final application. Code optimization. Documentation.
Last updated:
20.09.2022
|
|
|
|
|
Podklady k přednáškám
Documents are accessible only to registered users or students on the course.
|
|
|
|
|
|
|