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
Code B: All printed and hand-written support material is allowed. A specific basic calculator is allowed.
Read more about permitted examination aids.
4 of 5 mandatory assignments must be approved by student assistant. No. 1 must be one of them. Clearly inadequate work, not independently own work or deadline that is not complied is considered as undelivered.
Lafore, Robert. (2002). Object-Oriented Programming in C++. Indianapolis, IN: SAMS.
Faglærer. Kompendium. Gjøvik: HiG.