ITF studiju kursi 2023/2024

Programming (Programmēšana)

Pieteikties

9:00-10:30 10:40-12:10

Otrdiena

10.02.2025. - 15.06.2025.

240

Profesionālā bakalaura

6

A307

Estere Vītola

APRAKSTS

The course covers procedure-oriented programming with some introduction to object-oriented programming. The course uses the C++ programming language, which stands out among other programming languages for its performance and saving of computer resources. C++ is used to build applications that are fast, manage computer system resources efficiently and are capable of solving critical tasks, such as embedded system software, operating systems, browsers, computer games and other applications. The course covers the following main topics: an overview of the C++ programming language, comparing it with other languages, basic program constructs (linear constructs, branching and loops), functions, strings, arrays, vectors, input/output streams(standard input/output devices, text files), structures


SATURS

"1. Introduction. Algorithms. Program. Programming paradigms. Review the most popular programming language. Programming languages trends. 

2. Programming language C++. Language standards. Integrated Development Environments. C++ program structure. Compilation and execution. Error detection and repairing. Syntax and semantics.. 

3. Variables, built-in data types. Constants. Operators. Operator precedence. Input/output using standard devices. Comments. C++ programming best practices. 

4. Conditional and logical operators. Branching statements. 

5. Loop statements. 

6. Functions. C++ standard library functions. Function definition (prototype and implementation). Function overloading. Scope of variables.

7. Creating and Using Arrays. Multidimensional arrays.. 

8. Characters, arrays of characters, and strings (C-style strings and the C++ string class). String manipulation using C++ library functions. 

9. C++ standard libraries: vector, algorithm. 

10. References. Addresses and pointers. Use of the operators * and &. Pointers and arrays. Pointer arithmetic. 

11. Memory management in C ++. Scope, visibility, and lifetime of a variable in C++. Types of memory. Static, automatic, and dynamic variables. Dynamic arrays.. 

12. C++ input and output streams. Working with text files (writing, reading information). 

13. Compound C++ types: enumerations and structures."


Share by: