SylabUZ
Course name | Programming |
Course ID | 11.3-WE-ELEKTP-Program-Er |
Faculty | Faculty of Engineering and Technical Sciences |
Field of study | WIEiA - oferta ERASMUS / Electrical Engineering |
Education profile | - |
Level of studies | First-cycle Erasmus programme |
Beginning semester | winter term 2018/2019 |
Semester | 3 |
ECTS credits to win | 4 |
Course type | obligatory |
Teaching language | english |
Author of syllabus |
|
The class form | Hours per semester (full-time) | Hours per week (full-time) | Hours per semester (part-time) | Hours per week (part-time) | Form of assignment |
Lecture | 15 | 1 | - | - | Credit with grade |
Laboratory | 30 | 2 | - | - | Credit with grade |
To provide basic knowledge about computer system architecture and programming. To provide basic knowledge about C: syntax and semantics of the language C. To give basic skills in using C commands and functions and to design and implement simple algorithms.
Mathematics at the secondary school level.
The introduction to C programming . Numeral systems: decimal numeral system, binary numeral system and hexadecimal numeral system. Program structure, commands syntax. Main function, functions and procedures. Programming environment. Compilation and linking programs.
Constants, variables, data types: declaration, definition and scope. Operators, expressions and basic instructions in C. Basic operations on variables. Arithmetical operators, hierarchy.
Data input and output: functions putchar, getchar, printf, scanf. Printout formatting: flag, field width, precision, formatting character.
Bitwise operation, bitwise operators.
Control instructions: if-else, switch. Loops: do, while, for. Functions: declaration, definition, arguments, result, prototype, declaration, calling out. Use of functions. Recurrence functions.
Pointers: rules of operation, declaration, using the address and the pointed value. Use of pointers to communicate with other elements. Tables: declaration, usage, examples. String as a table of characters. Name of a table as a pointer. Tables of tables: declaration, usage, examples. Data structures. Features, operation. User defined type: definition (struct), access to individual members of structure,
Lecture, discussion
laboratory exercises.
Outcome description | Outcome symbols | Methods of verification | The class form |
Lecture – the passing condition is to obtain a positive mark from the exam.
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%
King K. N. , C Programming: A Modern Approach, 2008
Kerighan B., Ritchie D.: C Programming Language, Prentice Hall; 2 edition, 1988)
Kochan S. G. Programming in C (4th Edition) , Addison-Wesley Professional, 4 edition, 2014
Modified by dr hab. inż. Paweł Majdzik, prof. UZ (last modification: 27-03-2018 13:56)