460-8701/01 – Programming in C/C++ (CPP)

Gurantor departmentDepartment of Computer ScienceCredits4
Subject guarantordoc. Mgr. Jiří Dvorský, Ph.D.Subject version guarantordoc. Mgr. Jiří Dvorský, Ph.D.
Study levelundergraduate or graduateRequirementCompulsory
Year1Semesterwinter
Study languageCzech
Year of introduction2010/2011Year of cancellation2020/2021
Intended for the facultiesUSPIntended for study typesMaster, Follow-up Master
Instruction secured by
LoginNameTuitorTeacher giving lectures
DVO26 doc. Mgr. Jiří Dvorský, Ph.D.
Extent of instruction for forms of study
Form of studyWay of compl.Extent
Full-time Graded credit 2+2
Part-time Graded credit 2+6

Subject aims expressed by acquired skills and competences

The aim of the subject is practical programming in C++ applying the whole lifecycle of a programme, debugging and tuning of the code. Modern and object oriented parts of C++ and template library are highlited. The reasonable part of a semestral project is the documentation for programmer and for user.

Teaching methods

Lectures
Tutorials

Summary

Intrinsic data types and structures and pointers are covered, plus the language constructs for loops, relational expressions, branching statements and the C++ build process. C++ extensions and additions to the C language, such as class construct and objects and messages, are examined. Students gain practice in using the concepts of class membership, templates and hierarchy (including inheritance), function overloading, operator overloading and virtual functions. Upon completion, students are able to write a complex C++ program, having multiple source files and using address-based and object oriented programming.

Compulsory literature:

ECKEL. Bruce. Thinking in C++. Prentice Hall Stroustrup, B.: The programming language C++ SCHILDT. Herbert. Teach yourself. Osborne

Recommended literature:

ECKEL. Bruce. Thinking in C++. Prentice Hall Stroustrup, B.: The programming language C++ SCHILDT. Herbert. Teach yourself. Osborne

Way of continuous check of knowledge in the course of semester

E-learning

Other requirements

There are not defined other requirements for student.

Prerequisities

Subject has no prerequisities.

Co-requisities

Subject has no co-requisities.

Subject syllabus:

Lectures: The algorithm , the means for algorithm notation Introduction to C, input and output, how the processor code is created. Source code, object code, linking, compilation. Data types, operators, expressions, constants. Operators - arithmetical, assignment, relational, logical, conditionl expression, type conversion Statements and blocks. Comma operator. Break and continue statements. Register variables. Loop statements for and do-while. Simple program. Arrays. Functions. Automatic and external variables. Recursive functions Pointers, arrays, functions. Pointers and addresses, pointers and function arguments. Pointers and arrays. Pointers and constants. Command line arguments. Initialization of arrays and arrays of pointers. Standard C library functions. Making library functions in Code Warrior environment. Structures, classes, unions, bit arrays, structures and classes, Array of structures, union type, anonymous type union and bit array. Object oriented programming. Classes and objects in C++. Access modifiers. Inheritance. Polymorphism in C++, early and late binding. Overloading. Templates.

Conditions for subject completion

Full-time form (validity from: 2010/2011 Winter semester, validity until: 2020/2021 Summer semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of pointsMax. počet pokusů
Graded exercises evaluation Graded credit 100 (100) 51 2
        First Test Written test 20  10 2
        Second Test Written test 30  15 2
        Project Project 50  26 1
Mandatory attendence participation:

Show history

Conditions for subject completion and attendance at the exercises within ISP:

Show history

Occurrence in study plans

Academic yearProgrammeBranch/spec.Spec.ZaměřeníFormStudy language Tut. centreYearWSType of duty
2019/2020 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2019/2020 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2018/2019 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2018/2019 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2017/2018 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2017/2018 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2017/2018 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2017/2018 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan
2016/2017 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2016/2017 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2016/2017 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2016/2017 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan
2015/2016 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2015/2016 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2015/2016 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan
2015/2016 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2015/2016 (N3943) Mechatronics (3906T007) Automotive Electronics P English Ostrava 1 Compulsory study plan
2014/2015 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2014/2015 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2014/2015 (N3943) Mechatronics P Czech Ostrava 1 Compulsory study plan
2014/2015 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan
2014/2015 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2013/2014 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2013/2014 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2013/2014 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2013/2014 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2013/2014 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan
2012/2013 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2012/2013 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2012/2013 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2012/2013 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan
2011/2012 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2011/2012 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2011/2012 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2011/2012 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan
2010/2011 (N3943) Mechatronics (3906T006) Mechatronic Systems P Czech Ostrava 1 Compulsory study plan
2010/2011 (N3943) Mechatronics (3906T007) Automotive Electronics P Czech Ostrava 1 Compulsory study plan
2010/2011 (N3943) Mechatronics (3906T006) Mechatronic Systems K Czech Ostrava 1 Compulsory study plan
2010/2011 (N3943) Mechatronics (3906T007) Automotive Electronics K Czech Ostrava 1 Compulsory study plan

Occurrence in special blocks

Block nameAcademic yearForm of studyStudy language YearWSType of blockBlock owner

Assessment of instruction



2011/2012 Winter