SylabUZ
Nazwa przedmiotu | Principles of programming |
Kod przedmiotu | 11.3-WE-ELEKTP-PrinProgr-Er |
Wydział | Wydział Nauk Inżynieryjno-Technicznych |
Kierunek | Elektrotechnika |
Profil | ogólnoakademicki |
Rodzaj studiów | Program Erasmus pierwszego stopnia |
Semestr rozpoczęcia | semestr zimowy 2021/2022 |
Semestr | 3 |
Liczba punktów ECTS do zdobycia | 5 |
Typ przedmiotu | obowiązkowy |
Język nauczania | angielski |
Sylabus opracował |
|
Forma zajęć | Liczba godzin w semestrze (stacjonarne) | Liczba godzin w tygodniu (stacjonarne) | Liczba godzin w semestrze (niestacjonarne) | Liczba godzin w tygodniu (niestacjonarne) | Forma zaliczenia |
Wykład | 30 | 2 | - | - | Zaliczenie na ocenę |
Laboratorium | 30 | 2 | - | - | Zaliczenie na ocenę |
To provide basic knowledge about computer system architecture and programming.
To provide basic knowledge about C program structure and design.
To give basic skills in using C commands and functions to solve programming problems.
-
Computer system structure. Operating system. Program structure and design.
Programming languages. Algorithmic languages. C programming. Program structure, commands syntax, identifiers, types, constans, declarations of data.
Arithmetic Operations, Relational and Logical Operations, Bitwise Operators, Assignment Operators, Type Conversions
Instructions: expressional instruction, empty instruction, grouping instruction.
Control instructions: if-else , for loop, switch, while loop. Printout formatting with printf function. Flag, field width, precision, formatting character.
Complex instructions, expressional instruction, grouping instruction. Control instructions: if-else, switch. Loops: do, while, for.
Functions: prototypes, declaration, definition, benefits for functions, arguments, result, calling out, use of functions, recurrence functions.
Scopes of names: local scope, external scope, modular programming.
Pointers: pointers syntax, declaration, operators, using the address and the pointed value. Use of
pointers to communicate with other elements.
Arrays : declaration, usage, pointers and arrays, strings.
Data structures. Features, operation. Arrays of structures. Fields. Unions.
Dynamic memory: standard memory allocation functions, dynamic memory management
Data structures: lists, stacks, binary trees, circular buffers.
Lecture, laboratory exercises.
Opis efektu | Symbole efektów | Metody weryfikacji | Forma zajęć |
Lecture – the passing condition is to obtain a positive mark from the final test.
Laboratory – the passing condition is to obtain positive marks from all laboratory exercises to be planned during the semester.
Calculation of the final grade: lecture 50% + laboratory 50%
Zmodyfikowane przez dr hab. inż. Paweł Szcześniak, prof. UZ (ostatnia modyfikacja: 08-07-2021 21:49)