Programming in C++, 6 credits

Programmering i C++, 6 hp

TNG033

Main field of study

Computer Science and Engineering

Course level

First cycle

Course type

Programme course

Examiner

Aida Nordman

Director of studies or equivalent

Camilla Forsell

Education components

Preliminary scheduled hours: 60 h
Recommended self-study hours: 100 h

Available for exchange students

Yes
ECV = Elective / Compulsory / Voluntary
Course offered for Semester Period Timetable module Language Campus ECV
6CKTS Communication and Transportation Engineering, M Sc in Engineering 7 (Autumn 2017) 2 3 English E
6CIEN Electronics Design Engineering, M Sc in Engineering 5 (Autumn 2017) 2 3 English C
6CMEN Media Technology and Engineering, M Sc in Engineering 3 (Autumn 2017) 2 3 English C

Main field of study

Computer Science and Engineering

Course level

First cycle

Advancement level

G2X

Course offered for

  • Media Technology and Engineering, M Sc in Engineering
  • Electronics Design Engineering, M Sc in Engineering
  • Communication and Transportation Engineering, M Sc in Engineering

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

Programming, Object-Oriented Programming.

Intended learning outcomes

The aim of the course is to equip students with the necessary knowledge to develop programs in C++. To pass the course, the student must fulfill following learning outcomes:

  • To use pointers and dynamic memory allocation.
  • To program dynamic data structures.
  • To write object oriented programs with inheritance, association and aggregates.
  • To use polymorphism and dynamic binding.
  • To define classes with overloaded operators.
  • To write and use class/function templates.
  • To write programs using different types of streams.
  • To use data structures, algorithms and iterators from the C++ standard library

      Course content

      Pointers and dynamic memory allocation/deallocation. Singly-linked lists. Classes and inheritance. Constructors and destructors. Operator overloading. Friends. Virtual functions. Abstract classes. Streams and data files. Templates. Namespaces. C++ standard library: container classes, iterators, and algorithms.

      Teaching and working methods

      Lectures, lessons, laboratory work.

      Examination

      LAB1Laboratory work3 creditsU, G
      DAT1At-computer exam3 creditsU, 3, 4, 5
      UPG2Voluntary assignment0 creditsU, G

      The computer exam consists of three parts. Passed Part 1 gives grade 3. Approved in Part 1 and Part 2 gives grade 4. Approved on all parts gives grade 5. The optional assignment consists of two quizzes. Approved on all quizzes will be credited to the portion of the computer exam that gives grade 3. For higher grades the rest of the computer exam must be conducted and passed.

      Grades

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

      Other information

      Supplementary courses: Data structures, Software Engineering, Design patterns

      Department

      Institutionen för teknik och naturvetenskap

      Director of Studies or equivalent

      Camilla Forsell

      Examiner

      Aida Nordman

      Course website and other links

      http://www2.itn.liu.se/utbildning/kurs/index.html?coursecode=TNG033

      Education components

      Preliminary scheduled hours: 60 h
      Recommended self-study hours: 100 h

      Course literature

      Additional literature

      Books

      • Jan Skansholm, C++ direkt 3. upplaga
Code Name Scope Grading scale
LAB1 Laboratory work 3 credits U, G
DAT1 At-computer exam 3 credits U, 3, 4, 5
UPG2 Voluntary assignment 0 credits U, G

The computer exam consists of three parts. Passed Part 1 gives grade 3. Approved in Part 1 and Part 2 gives grade 4. Approved on all parts gives grade 5. The optional assignment consists of two quizzes. Approved on all quizzes will be credited to the portion of the computer exam that gives grade 3. For higher grades the rest of the computer exam must be conducted and passed.

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

Jan Skansholm, C++ direkt 3. upplaga

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

                            
1.2 Fundamental engineering knowledge (G1X level)

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

                            
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
X

                            
2.2 Experimentation, investigation, and knowledge discovery
X

                            
2.3 System thinking
X
X

                            
2.4 Attitudes, thought, and learning
X
X

                            
2.5 Ethics, equity, and other responsibilities
X
X

                            
3. INTERPERSONAL SKILLS: TEAMWORK AND COMMUNICATION
3.1 Teamwork
X

                            
3.2 Communications
X

                            
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.