Programming I 0900-FX1-2PRO1
Educational profile: general academic
Type of course stationary
Module: obligatory
Area and discipline of science: mathematical sciences, computer science
Module: IT tools
Study year / semester: year 1 / semester 1
Preliminary requirements: basic computer running Windows or Linux, mathematics of secondary school
Number of teaching hour:lecture - 15 h, laboratory - 45 h
Teaching methods: lecture, discussion, presentation, practical classes, consultations, student's own work at home
ECTS scores: 5
Total student workload: participation in lectures (15 h), participation in laboratory (45 h), participation in consultations (30 h), own work at home (30 h), preparation for credit (30 h)
Quantitative ratios: student workload associated with activities requiring direct teacher participation - 3.0 ECTS; student workload associated with practical activities - 1.8 ECTS
Programme of classes (lecture and laboratory):
1. Introduction
2. The concept of variable and basic data types
3. Namespace std
4. Mathematical operations
5. Comparison operations
6. Logical operations
7. Conditional statement if ... else
8. The condition of multiple-choice switch ... case. Instruction break
9. Loops: do ... while, while, for. Keywords continue, break.
10. Pseudo-random integers
11. One-dimensional arrays of variables
12. Functions
13. Text variables
14. Basics of file handling
Type of course
Mode
Requirements
Prerequisites
Prerequisites (description)
Learning outcomes
K_W25 - knows the basics of programming in the selected high level language
K_U23 - knows how to write a simple computer program in selected programming language, compile it and run
K_K05 - can independently search the literature and Internet resources, also in foreign languages
Assessment criteria
lecture: Lecture assessment is based on the presence and activity of student at lectures. The absence of more than a half of the lectures eligible to not complete the course
laboratory: Laboratory assessment is based on attendance, work at the lab, homework and practical test at the computer including the issues discussed during the course. The absence of more than a half of the laboratory is eligible to not complete the course.
Bibliography
[1] W. Porębski, Język C++ : wprowadzenie do programowania, wyd. 2, Komputerowa Oficyna Wydawnicza "Help", Warszawa 1999.
[2] J. Grębosz, Symfonia C ++ standard : programowanie w języku C++ orientowane obiektowo, Wydawnictwo "Edition 2000" : Oficyna Kallimach, Kraków 2005.
[3] S. Prata, Język C++, wyd. 5, Wydawnictwo Helion, Gliwice 2006.
[4] A. Koenig, Accelerated C++ : practical programming by example, 22nd printing, Addison-Wesley, Boston 2013.
[5] Internet resources.
Additional information
Additional information (registration calendar, class conductors, localization and schedules of classes), might be available in the USOSweb system: