Programming and Data Structures, 8 credits

Programmering och datastrukturer, 8 hp

TDDC76

The course is disused. Offered for the last time Autumn semester 2023. Replaced by TDDE71.

Main field of study

Computer Science and Engineering Computer Science

Course level

First cycle

Course type

Programme course

Examiner

Eric Elfving

Director of studies or equivalent

Ahmed Rezine

Education components

Preliminary scheduled hours: 98 h
Recommended self-study hours: 115 h
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 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6CYYI Applied Physics and Electrical Engineering - International, M Sc in Engineering 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6CYYY Applied Physics and Electrical Engineering, M Sc in Engineering 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6CMED Biomedical Engineering, M Sc in Engineering 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6CKEB Chemical Biology (Industrial Biotechnology and Production) 9 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla E
6CTBI Engineering Biology, M Sc in Engineering (Devices and Materials in Biomedicine) 9 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla E
6CTBI Engineering Biology, M Sc in Engineering (Industrial Biotechnology and Production) 9 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla E
6KMAT Mathematics 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla C
6KFYN Physics and Nanotechnology 5 (Autumn 2017) 1, 2 2, 2 Swedish Linköping, Valla E

Main field of study

Computer Science and Engineering, Computer Science

Course level

First cycle

Advancement level

G2X

Course offered for

  • Biomedical Engineering, M Sc in Engineering
  • Applied Physics and Electrical Engineering - International, M Sc in Engineering
  • Applied Physics and Electrical Engineering, M Sc in Engineering
  • Physics and Nanotechnology
  • Mathematics
  • Engineering Biology, M Sc in Engineering
  • Chemical Biology

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

A basic course in programming is required for this course, especially basic skills in problem solving and construction of small programs. Basic knowledge of computers and familiarity with unix based computer systems.

Intended learning outcomes

This course offer a deeper study in programming, especially imperative and object-oriented programming in the programming language C++, and also knowledge about frequently used data structures and algorithms. Upon completion of this course the student should be able to:

  • Design imperative and object-oriented programs and implement them in the programming language C++.
  • utilize object-oriented program development methodology.
  • Describe and use frequently used data structures and algorithms.

Course content

Lectures, lessons and programming exercises deal with the programming language C++ and its environment, object-oriented analysis and design, programming in C++, data structures and algorithms.

  • Imperative programming in C++ (variables, constants, declarations, expressions, statements, functions, fundamental data types and data structures).
  • Classes (declaration, data members, member functions, nested types, access specification for class members, constructors, destructors, derived classes, polymorphism, dynamic type control and type conversion).
  • Object-oriented program design (object-oriented analysis, design and coding).
  • The C++ standard library (input and output, character and string handling, containers).
  • Data structures: lists, stacks, queues, priority queues, trees, especially search trees, hash tables, heaps, especially binary heap.
  • Algorithms: searching and sorting.

Teaching and working methods

The course is arranged as a series of lectures, lessons and programming
exercises, and a small programming project. Self-study hours must be set aside for literature study, programming exercises, project work and home examination.

Examination

UPG4Optional reflection paper0 creditsU, G
UPG3Computer-based exercises1.5 creditsU, G
LAB2Laboratory work3.5 creditsU, G, VG
PRA1Project work3 creditsU, G

The programming exercises give the student opportunity to practice and test her/his knowledge and skills in procedural and object-oriented programming.
The project work give the student opportunity to practice and test her/his knowledge and skills in object-oriented analysis, design and programming within a project group.

The computer based exercises tests the students knowledge about data structures and algorithms and is also an opportunity for learning.
The final grade (U,3,4,5) for this course is based on the laboratory work ("pass" or "pass with distinction") in combination with the reflection paper ("pass" only). The laboratory work form the base with "pass" translated to grade 3 and "pass with distinction" to grade 4. The reflection paper may raise the grade one step to either 4 or 5.

Grades

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

Other information


Supplementary courses: This course is well suited for supplemantary courses where good knowledge in procedural and object-oriented programming, especially in C++, is required. Examples of such courses are courses covering compilers and interpreters, databases, concurrent programming, real-time programming, operating systems, design patterns, software engineering projects, and programming of parallel computers.

Department

Institutionen för datavetenskap

Director of Studies or equivalent

Ahmed Rezine

Examiner

Eric Elfving

Course website and other links

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

Education components

Preliminary scheduled hours: 98 h
Recommended self-study hours: 115 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
UPG4 Optional reflection paper 0 credits U, G
UPG3 Computer-based exercises 1.5 credits U, G
LAB2 Laboratory work 3.5 credits U, G, VG
PRA1 Project work 3 credits U, G

The programming exercises give the student opportunity to practice and test her/his knowledge and skills in procedural and object-oriented programming.
The project work give the student opportunity to practice and test her/his knowledge and skills in object-oriented analysis, design and programming within a project group.

The computer based exercises tests the students knowledge about data structures and algorithms and is also an opportunity for learning.
The final grade (U,3,4,5) for this course is based on the laboratory work ("pass" or "pass with distinction") in combination with the reflection paper ("pass" only). The laboratory work form the base with "pass" translated to grade 3 and "pass with distinction" to grade 4. The reflection paper may raise the grade one step to either 4 or 5.

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
LAB2

                            
1.2 Fundamental engineering knowledge (G1X level)
X
X
LAB2
PRA1
UPG3

                            
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
X
LAB2
PRA1

                            
2.2 Experimentation, investigation, and knowledge discovery
X
LAB2
PRA1

                            
2.3 System thinking
X
X
LAB2
PRA1

                            
2.4 Attitudes, thought, and learning
X
LAB2
PRA1

                            
2.5 Ethics, equity, and other responsibilities
X
X
LAB2
PRA1

                            
3. INTERPERSONAL SKILLS: TEAMWORK AND COMMUNICATION
3.1 Teamwork
X
LAB2
PRA1

                            
3.2 Communications
X
X
LAB2
PRA1

                            
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
X
X
PRA1

                            
4.4 Designing
X
X
PRA1

                            
4.5 Implementing
X
X
PRA1

                            
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.