Dansk - English

Short version - Full version


C++ for Java programmers (Data Structures and Algorithms using C++) (Fall 2008)

Course code : EJ2C++-U1
ECTS Credits : 7,5 Status : Compulsory
Placement : 5. semester Hours per week : 4
Length : 1 semester Teaching Language : Danish and English

Principal Content : Data Structures
• Precondition and postcondition specifications
• Time analysis strategies
• Algorithms and their efficiency
• Standard Template Library (STL)
• Dynamic arrays
• Linked lists
• Iterators
• Stacks and queues
• Recursive thinking
• Set and maps
• Hash tables and hash functions
• Heap structures; priority queues
• Graphs; traversing graphs
• Spanning trees; shortest path
• Searching and sorting techniques
C++
• Compilers, linkers, and precompilers.
• Copy constructor, copy assignment operator, and destructor (“big three”).
• Handling of memory. Heap and stack.
• Pointers.
• Templates; Generic programming.
• Operator overloading
• Exceptions
• Polymorphic behaviours; virtual functions
Teaching method : The lessons consist of theory combined with practical exercises and course assignments. During the semester the student will have to hand in a number of mandatory course assignments. These assignments are used as a base for the oral examination.
Required prequisites : Documented knowledge corresponding to OOP2.
Responsible teacher : Henrik Kold Mikkelsen , hokm@dtu.dk