Advanced Programming in C++, 6 credits

Avancerad programmering i C++, 6 hp

TDDD38

Main field of study

Computer Science and Engineering Computer Science Programming

Course level

Second cycle

Course type

Programme course

Examiner

Klas Arvidsson

Director of studies or equivalent

Ahmed Rezine

Education components

Preliminary scheduled hours: 84 h
Recommended self-study hours: 76 h

Available for exchange students

Yes
ECV = Elective / Compulsory / Voluntary
Course offered for Semester Period Timetable module Language Campus ECV
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CYYY Applied Physics and Electrical Engineering, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6IDAT Computer Engineering, B Sc in Engineering (Embedded Systems) 5 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6IDAT Computer Engineering, B Sc in Engineering (Software Engineering) 5 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CDDD Computer Science and Engineering, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CDDD Computer Science and Engineering, M Sc in Engineering (International Software Engineering) 9 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CDDD Computer Science and Engineering, M Sc in Engineering (Programming and Algorithms) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CDDD Computer Science and Engineering, M Sc in Engineering (Secure Systems) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CDDD Computer Science and Engineering, M Sc in Engineering (Secure Systems) 9 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CMJU Computer Science and Software Engineering, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CMJU Computer Science and Software Engineering, M Sc in Engineering (International Software Engineering) 9 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CMJU Computer Science and Software Engineering, M Sc in Engineering (Programming and Algorithms Specialization) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CMJU Computer Science and Software Engineering, M Sc in Engineering (Secure Systems) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CMJU Computer Science and Software Engineering, M Sc in Engineering (Secure Systems) 9 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6MDAV Computer Science, Master's programme 3 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6MICS Computer Science, Master's programme 3 (Autumn 2017) 1 2 English Linköping, Valla E
6MICS Computer Science, Master's programme 3 (Autumn 2017) 2 - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Chinese 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Chinese (Specialization Computer Science and Engineering) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - French 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - French (Specialization Computer Science and Engineering) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - German 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - German (Specialization Computer Science and Engineering) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Japanese 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Japanese (Specialization Computer Science and Engineering) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Spanish 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIEI Industrial Engineering and Management - International, M Sc in Engineering - Spanish (Specialization Computer Science and Engineering) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIII Industrial Engineering and Management, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CIII Industrial Engineering and Management, M Sc in Engineering (Specialization Computer Science and Engineering) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CITE Information Technology, M Sc in Engineering 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CITE Information Technology, M Sc in Engineering (International Software Engineering) 9 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CITE Information Technology, M Sc in Engineering (Programming and Algorithms) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CITE Information Technology, M Sc in Engineering (Secure Systems) 7 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6CITE Information Technology, M Sc in Engineering (Secure Systems) 9 (Autumn 2017) 1, 2 2, - English Linköping, Valla E
6KIPR Programming 5 (Autumn 2017) 1, 2 2, - English Linköping, Valla E

Main field of study

Computer Science and Engineering, Computer Science, Programming

Course level

Second cycle

Advancement level

A1X

Course offered for

  • Computer Engineering, B Sc in Engineering
  • Programming
  • Computer Science and Engineering, M Sc in Engineering
  • Industrial Engineering and Management - International, M Sc in Engineering
  • Industrial Engineering and Management, M Sc in Engineering
  • Information Technology, M Sc in Engineering
  • Computer Science and Software Engineering, M Sc in Engineering
  • Applied Physics and Electrical Engineering - International, M Sc in Engineering
  • Applied Physics and Electrical Engineering, M Sc in Engineering
  • Computer Science, Master's programme
  • Communication Systems, Master's programme

Entry requirements

Note: Admission requirements for non-programme students usually also include admission requirements for the programme and threshold requirements for progression within the programme, or corresponding.

Prerequisites

Good knowledge and skills in programming in at least one procedural and/or object-oriented language (e.g. Ada, C, Pascal, Java or C++), and knowledge about fundamentals of object-oriented programming (class, inheritance, polymorhism).

Intended learning outcomes

The purpose of this course is to give deep knowledge about constructs and mechanisms in the programming language C++. Less focus is on advanced applications, i.e., the course is not a systems development course, a problem solving course, or alike. Upon completion of this course the student should be able to:

  • Explain non-trivial C++ language constructs and their semantics, e.g. classes, derivation, polymorphism, templates, exception handling, namespaces, types, type conversion, temporary objects, etc.
  • Explain the overall design principle of the C++ standard library, especially the container, iterator and algorithms related parts.
  • Design and implement usable, correct, error-safe, non-trivial classes and polymorphic classes.
  • Design and implement advanced program components, such as e.g. traits classes, policy classes and function object classes.
  • Use different components from the C++ standard library in combination to solve non-trivial computation problems, e.g. combine standard containers algorithms, iterators, function objects, an own function objects, to design computations.

 

Course content

Classes, operator overloading, derived classes, inheritance, polymorphism, lambda expression, namespaces, exception handling, templates. C++ Standard library: strings, streams, containers, iterators, algorithms, function objects, traits and policy classes. C++-specific design patterns.

Teaching and working methods

The course is to a great extent a self-study course, and is given continuously each semester. A series of lectures is given during the first half of the course. Self-studies exercises and different kind of information sources are available on the course web pages. Tutoring is mainly given via e-mail. Computer resourses are scheduled for self-studies. The course is examined four times per year.
The course is offerd twice during 2014: Vt1+Vt2 and Ht1+Ht2.

Examination

DAT1Computer examination6 creditsU, 3, 4, 5

There are 4 examination occasions per year, in the examination periods "påsk" (Easter), Vt2 (May/June), August, and Ht2 (January). The computer exam length is 5 hours and IDA's Sun computer system is used, which demands familiarity with that system, the C++ programming environment and text exiting facilities available on that system.

Grades

Four-grade scale, LiU, U, 3, 4, 5

Department

Institutionen för datavetenskap

Director of Studies or equivalent

Ahmed Rezine

Examiner

Klas Arvidsson

Course website and other links

http://www.ida.liu.se/~TDDD38/

Education components

Preliminary scheduled hours: 84 h
Recommended self-study hours: 76 h

Course literature

Additional literature

Books

  • Bjarne Stroustrup, (2013) The C++ Programming Language 4/E Addison-Wesley
  • Stanley B. Lippman, Josée Lajoie, Barbara E. Moo, (2012) C++ Primer 5/E Addison-Wesley
Code Name Scope Grading scale
DAT1 Computer examination 6 credits U, 3, 4, 5

There are 4 examination occasions per year, in the examination periods "påsk" (Easter), Vt2 (May/June), August, and Ht2 (January). The computer exam length is 5 hours and IDA's Sun computer system is used, which demands familiarity with that system, the C++ programming environment and text exiting facilities available on that system.

Regulations (apply to LiU in its entirety)

The university is a government agency whose operations are regulated by legislation and ordinances, which include the Higher Education Act and the Higher Education Ordinance. In addition to legislation and ordinances, operations are subject to several policy documents. The Linköping University rule book collects currently valid decisions of a regulatory nature taken by the university board, the vice-chancellor and faculty/department boards.

LiU’s rule book for education at first-cycle and second-cycle levels is available at http://styrdokument.liu.se/Regelsamling/Innehall/Utbildning_pa_grund-_och_avancerad_niva. 

Additional literature

Books

Bjarne Stroustrup, (2013) The C++ Programming Language 4/E Addison-Wesley
Stanley B. Lippman, Josée Lajoie, Barbara E. Moo, (2012) C++ Primer 5/E Addison-Wesley

Note: The course matrix might contain more information in Swedish.

I = Introduce, U = Teach, A = Utilize
I U A Modules Comment
1. DISCIPLINARY KNOWLEDGE AND REASONING
1.1 Knowledge of underlying mathematics and science (G1X level)
X
DAT1

                            
1.2 Fundamental engineering knowledge (G1X level)
X
X
DAT1

                            
1.3 Further knowledge, methods, and tools in one or several subjects in engineering or natural science (G2X level)

                            
1.4 Advanced knowledge, methods, and tools in one or several subjects in engineering or natural sciences (A1X level)

                            
1.5 Insight into current research and development work

                            
2. PERSONAL AND PROFESSIONAL SKILLS AND ATTRIBUTES
2.1 Analytical reasoning and problem solving
X
DAT1

                            
2.2 Experimentation, investigation, and knowledge discovery
X
DAT1

                            
2.3 System thinking
X
X
DAT1

                            
2.4 Attitudes, thought, and learning
X
DAT1

                            
2.5 Ethics, equity, and other responsibilities
X
X
DAT1

                            
3. INTERPERSONAL SKILLS: TEAMWORK AND COMMUNICATION
3.1 Teamwork

                            
3.2 Communications

                            
3.3 Communication in foreign languages

                            
4. CONCEIVING, DESIGNING, IMPLEMENTING AND OPERATING SYSTEMS IN THE ENTERPRISE, SOCIETAL AND ENVIRONMENTAL CONTEXT
4.1 External, societal, and environmental context

                            
4.2 Enterprise and business context

                            
4.3 Conceiving, system engineering and management

                            
4.4 Designing

                            
4.5 Implementing

                            
4.6 Operating

                            
5. PLANNING, EXECUTION AND PRESENTATION OF RESEARCH DEVELOPMENT PROJECTS WITH RESPECT TO SCIENTIFIC AND SOCIETAL NEEDS AND REQUIREMENTS
5.1 Societal conditions, including economic, social, and ecological aspects of sustainable development for knowledge development

                            
5.2 Economic conditions for knowledge development

                            
5.3 Identification of needs, structuring and planning of research or development projects

                            
5.4 Execution of research or development projects

                            
5.5 Presentation and evaluation of research or development projects

                            

This tab contains public material from the course room in Lisam. The information published here is not legally binding, such material can be found under the other tabs on this page.

There are no files available for this course.