Course Unit Code | 450-2041/01 |
---|
Number of ECTS Credits Allocated | 4 ECTS credits |
---|
Type of Course Unit * | Compulsory |
---|
Level of Course Unit * | First Cycle |
---|
Year of Study * | First Year |
---|
Semester when the Course Unit is delivered | Summer Semester |
---|
Mode of Delivery | Face-to-face |
---|
Language of Instruction | Czech |
---|
Prerequisites and Co-Requisites | Course succeeds to compulsory courses of previous semester |
---|
Name of Lecturer(s) | Personal ID | Name |
---|
| PRA132 | doc. Ing. Michal Prauzek, Ph.D. |
Summary |
---|
The subject is a introductory course into the problems of programming focused on preparing students for work with specialized microprocessor systems used in process control. the students are acquainted with fundamental computer hardware components. Thge algorithms are demenstrated in C language wheras studnets are instructed in structured approaches to analysis. Practical implementation and data structures are accentuated. |
Learning Outcomes of the Course Unit |
---|
The goal of the subject is to introduce student into provide students by basic appliance for control systems programming. After finishing the subject the student will be able to create elementary programs based on simple algorithmic constructions of C language in a general development environment. He will understand the realtions between some computer architectural elemetns and their correponding mapping into programming language, wich is necessary for constructing tasks using non-satandards peripherals. He will be also able to analyze and implement simple problems using structuerd approaches. |
Course Contents |
---|
lectures
1. Algorithm, algorithms, basic algorithmic structures. Types and variables.
2. Basic programming construction: instruction, control commands, subroutines. The program, machine language,
machine code, binary system, programming languages.
3. Structure of the program in C language Simple inputs and výstupy.Základní data types. Branching and cycles.
4. Arrays, array element access.
5. Representation of the data base format specification. Function parameters and return values
6. Comments, headers - info, basic syntax, keywords, return values, main body, use features
7. Structure of the computer central unit, registers, RAM, address, external memory, program counter, fetch-execute cycle, aynchronní events. Inputs and outputs. Polling and interrupt bus.
8. Use PC peripherals for solving simple measurement tasks.
9. Structure, unions, enumerated types, work with bits.
10. indicators. Files. Using files in measurement tasks.
11. macros, dynamic allocation exceptions. Modules. Header files. Meaning dynamic allocation and exception mechanism for secure programming of control systems.
12. Standard Library
13. User Library
|
Recommended or Required Reading |
---|
Required Reading: |
---|
Herout, P. Učebnice jazyka C. Praha: [Středisko pro podporu studentů se specifickými potřebami ELSA ČVUT], 2015. ISBN 978-80-7232-383-8. |
Herout, P. Učebnice jazyka C. Praha: [Středisko pro podporu studentů se specifickými potřebami ELSA ČVUT], 2015. ISBN 978-80-7232-383-8. |
Recommended Reading: |
---|
Richta, K., Šaloun, P.: Programovací jazyk C, skriptum ČVUT, Praha 1998
Wirth, N.: Algoritmy a štruktúry údajov, Alfa, Bratislava 1989
Šaloun, P.: Programovací jazyk C. Skriptum FEI VŠB-TU Ostrava 1994
Šnorek, M. Richta K.: Připojování periferií k PC, Grada, 1996
Horák, J: Učebnice hardware, Computer Press, 2000 |
Richta, K., Šaloun, P.: Programovací jazyk C, skriptum ČVUT, Praha 1998
Wirth, N.: Algoritmy a štruktúry údajov, Alfa, Bratislava 1989
Šaloun, P.: Programovací jazyk C. Skriptum FEI VŠB-TU Ostrava 1994
Šnorek, M. Richta K.: Připojování periferií k PC, Grada, 1996
Horák, J: Učebnice hardware, Computer Press, 2000 |
Planned learning activities and teaching methods |
---|
Lectures, Tutorials, Experimental work in labs, Project work |
Assesment methods and criteria |
---|
Task Title | Task Type | Maximum Number of Points (Act. for Subtasks) | Minimum Number of Points for Task Passing |
---|
Credit and Examination | Credit and Examination | 100 (100) | 51 |
Credit | Credit | 40 (40) | 15 |
Úkoly v laboratoři | Laboratory work | 10 | 1 |
Závěrečný projekt | Project | 15 | 1 |
Zápočtová písemka | Written test | 15 | 1 |
Examination | Examination | 60 (60) | 25 |
Písemná zkouška | Written examination | 50 | 20 |
Ústní zkouška | Oral examination | 10 | 5 |