Web
Faculty of Science UvA

Course C++ Programming Methods

"C++ programmeermethoden"

This is the information of year 2014-2015.

In 2015-2016 the course is given by Bas Terwijn. The updated information on the current year can be found here The information of previous year can be found here

Description

The official code of course 5082CPRM6Y. The description can be found here. In addition, note that the course can be used in the BscAI-honours program. Also a Datanose entry available. The blackboard page of the course can be found here.

Contents

This course covers the basics of creating a program with an object oriented language such as C++. It covers the basic datatypes and control statements. It describes call-by-reference and overloading of functions. It covers multidimensional arrays and dynamic arrays (vectors). It introduces classes as structures combined with member functions. It decribes pointers and basic memory management. It covers how the definition and implementation can be seperated. Finally, it provides inheritance as tool to derive one class from another and late binding to postpone the selection of the appropriate member function.

Literature

Absolute C++ by Walter Savitch, Pearson international edition.

Reading guide (each week 1 chapter in this order):

  • Ch.1 C++ basics (finished 9 Feb)
  • Ch.2 Flow of control (finished 16 Feb)
  • Ch.3 Function Basics (finished 23 Feb)
  • Ch.4 Parameters and overloading (finished 2 March)
  • Ch.12 Streams and File I/O (finished 9 March)
  • Ch.5 Arrays (finished 16 March)
  • Ch.6 Structures and Classes (finished 23 March)
  • Ch.7 Constructors and other tools (finished 30 March)
  • (Ch.9 Strings)
  • Ch.10 Pointers and Dynamic Arrays (finished 13 April)
  • Ch.11 Seperate Compilation and namespaces (finished 20 April)
  • Ch.14-15 on inheritance (Extra useful for robotics lab) (finished 28 April)

Schedule

Every week a 2 hour session (every two weeks supported by Arnoud Visser (Mondays and Wednesdays) and Bas Terwijn (Tuesdays and Thursdays)).

These sessions are held in the robotics lab (C3.165) from 13:00 to 15:00.

Read one chapter each week by yourself. Work on the assignments during the 2 hour sessions (you can ask questions there). Bring your own laptop to the sessions, make sure you have installed the IDE software.

Exams

This year's exam will be scheduled the last week of May (week 22).

The LIACS institute has a list of exams from 1996-2012.

Previous exams of the UvA:

There are for each chapter quizzes available belonging to the 2nd edition of the book.

Evaluation

Last year the course was overall evaluated by the participants with a 8.13 .


Links


Last updated December 12, 2023

UvA This web-page and the list of participants to this course is maintained by Arnoud Visser (arnoud@science.uva.nl)
Faculty of Science
University of Amsterdam

visitors in A.Visser@uva.nl