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
ABD006 Ing. Hussam Abdulla, Ph.D.
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. Introduction to C programming language. Basic data types, variable, print to standard output. Function definition. Fundamentals of flow control. 2. Representation of strings, working with dynamically alocated memory. 3. Structured data types and their usage. Fundamentals of programs debugging. 4. Working with files. Loading and saving data into text and binary files. 5. Use of recursion. 6. Program testing, source code documentation. 7. Brief introduction to C++ Concepts. Exercises: 1. Getting familiar with a development environment. Compiling source code. 2. Basic data types, variable, standard output. 3. Definition of function. Fundamentals of flow control. Reading input data. 4. Representing and working with strings. 5. Use of dynamically allocated memory. 6. Utilization of dynamically allocated memory for the implementation of simple data structures. 7. Structured data types and their usage. Using the preprocessor. 8. Fundamentals of program debugging. 9. Working with files. Loading and saving data into text and binary files. 10. Use of recursion and its relation to cycles. 11. Program testing, source code documentation. 12. Using library functions. 13. Brief Introduction to C++ concepts. 14. Final test.

Conditions for subject completion

Full-time form (validity from: 2019/2020 Winter semester, validity until: 2019/2020 Summer semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of points
Graded credit Graded credit 100 (100) 51
        Project Project 30  15
        Entrance Questionary Other task type  
        Final Questionary Other task type  
        Handout of Solved Tasks from Exercises Laboratory work 55  28
        Final Test Written test 15  8
Mandatory attendence parzicipation: Every student has to obtain at least the minimum number of points for each task.

Show history

Occurrence in study plans

Academic yearProgrammeField of studySpec.ZaměřeníFormStudy language Tut. centreYearWSType of duty
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