460-8702/04 – Introduction to Programming (UPR)

Gurantor departmentDepartment of Computer ScienceCredits4
Subject guarantorIng. Jan Gaura, Ph.D.Subject version guarantorIng. Jan Gaura, Ph.D.
Study levelundergraduate or graduateRequirementCompulsory
Year1Semesterwinter
Study languageEnglish
Year of introduction2018/2019Year of cancellation
Intended for the facultiesFSIntended for study typesFollow-up Master
Instruction secured by
LoginNameTuitorTeacher giving lectures
DOL0133 Ing. Vít Doleží
GAU01 Ing. Jan Gaura, Ph.D.
Extent of instruction for forms of study
Form of studyWay of compl.Extent
Full-time Graded credit 1+3

Subject aims expressed by acquired skills and competences

The aim of the course is to familiarize students with the basics of procedural programming and its real use in solving some programming tasks. Students are familiarized with the overall ecosystem of software development from its writing, through compilation, debugging, but also with how to properly document source codes. An integral part is understanding the principles of dynamic memory allocation and how data is represented in it.

Teaching methods

Lectures
Tutorials

Summary

The course introduces students to all the basics of software development problems using procedural programming. The topics of simple data taps, dynamic memory allocation, program debugging, file handling, structured data types are discussed. It also explains the use of library functions.

Compulsory literature:

STROUSTRUP, Bjarne. Programming: principles and practice using C++. Second edition. Upper Saddle River, NJ: Addison-Wesley, 2014. ISBN 978-0321-992789.

Recommended literature:

HEROUT, Pavel. Učebnice jazyka C. Praha: [Středisko pro podporu studentů se specifickými potřebami ELSA ČVUT], 2015. ISBN 978-80-7232-383-8.

Way of continuous check of knowledge in the course of semester

Hand in tasks completed during exercises. Completing the final test.

E-learning

Other requirements

No additional demands are required.

Prerequisities

Subject has no prerequisities.

Co-requisities

Subject has no co-requisities.

Subject syllabus:

Lectures: 1. Introduction to course organization. Basic data types, variable, print to standard output. 2. Function definition. Fundamentals of flow control. 3. Representation of strings. 4. Structured data types and their usage. Fundamentals of programs debugging. 5. Working with files. Loading and saving data into text and binary files. 6. Use of recursion. 7. Program testing, source code documentation. Exercises: 1. Getting familiar with a development environment. Running source code. 2. Basic data types, variable, standard output. 3. Fundamentals of flow control. Reading input data. 4. Definition of function. 5. Representing and working with strings. 6. Structured data types and their usage. 7. Fundamentals of program debugging. 8. Working with files. Loading and saving data into text and binary files. 9. Use of recursion and its relation to cycles. 10. Program testing, source code documentation. 11. Using library functions. 12. Implementation of some abstract data types. 13. Drawing of graphical images. 14. Final test.

Conditions for subject completion

Full-time form (validity from: 2021/2022 Winter semester, validity until: 2022/2023 Summer semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of pointsMax. počet pokusů
Graded credit Graded credit 100 (100) 51 3
        Entrance Questionary Other task type  
        Final Questionary Other task type  
        Project Project 30  15
        Handout of Solved Tasks from Exercises Laboratory work 15  8
        Final Test Written test 15  8
        Handout of Solved Homework Other task type 40  20
Mandatory attendence participation: The student must complete all defined tasks for at least the minimum number of points.

Show history

Conditions for subject completion and attendance at the exercises within ISP: Completion of all mandatory tasks within individually agreed deadlines.

Show history

Occurrence in study plans

Academic yearProgrammeBranch/spec.Spec.ZaměřeníFormStudy language Tut. centreYearWSType of duty
2024/2025 (N0714A270004) Mechatronics CSM P English Ostrava 1 Compulsory study plan
2023/2024 (N0714A270004) Mechatronics CSM P English Ostrava 1 Compulsory study plan
2022/2023 (N0714A270004) Mechatronics CSM P English Ostrava 1 Compulsory study plan
2021/2022 (N0714A270004) Mechatronics CSM P English Ostrava 1 Compulsory study plan
2020/2021 (N0714A270004) Mechatronics CSM P English Ostrava 1 Compulsory study plan
2019/2020 (N0714A270004) Mechatronics CSM P English Ostrava 1 Compulsory study plan

Occurrence in special blocks

Block nameAcademic yearForm of studyStudy language YearWSType of blockBlock owner

Assessment of instruction



2022/2023 Winter
2021/2022 Winter