Expected learning outcomes
- Read and explain fundamental C++ syntax.
- Analyze the problem for simple programming tasks.
- Find and write the program code for solving such a problem.
- Obtain a suitable/appropriate data structures for a computer program, primarily containing arrays/tables.
- Using a program develoment tool containing a C++ compiler.
- Understand and use fundamental C++ syntax.
- Writing program code that is implementation/realization of a self-found or already known algorithm.
- Getting to known and change/modify/expand already existing program code.
- Create and manage simple data structures consisting of arrays/tables.
- Work systematically, structured and targeted to solve a (programming) problem.
- Practical own efforts ("hands on ") is the way to new knowledge and skill.
Construction of programs:
- Step by step
- Pseudo code
Introduction to language elements as:
- Program structure and expressions
- Types of data, variables, strings and constants
- Flow of control (decisions and loops)
- Functions and parameters
- Classes and objects
Use of library functions:
- Streams (files and I/O)
- String handling
Form(s) of Assessment
Written exam, 4 hours
Alphabetical Scale, A(best) – F (fail)
Graded by course instructor and examiner.
Ordinary re-sit examination
All printed matters and hand written notes
Exercises (must have been approved by student assistant).
Lafore, Robert. (2002). Object-Oriented Programming in C++. Indianapolis, IN: SAMS.
Faglærer. Kompendium. Gjøvik: HiG.
The course overlaps entirely with IMT1241 Basic programming in Java