spring 2019

ELE-3506 Programming - 5 ECTS

Sist endret: 30.08.2019

The course is provided by

Faculty of Engineering Science and Technology

Location

Narvik |

Type of course

Theoretical subject.
Cannot be taken as a single subject.

Admission requirements

Suggested prerequisites: A course in basic programming at bachelor level.

Course content

Introduction to C / C++ Programming

Variables and basic types

Strings, Vectors and Arrays

Expressions and control Statements

Functions

Unit testing in C++

Classes

The C++ Library / File Processing

C++11 / 14 features

Objectives of the course

After completing the subject, the students will have the following learning outcome:

Knowledge and understanding:

  • The candidate will know how a program is created from source code to a running program
  • The candidate willl be familiar with concepts such as compiler, linker, machine code, executable code
  • The candidate will know how a program is built up from sequences, loops, control stuctures, functions, objects and classes
  • The candidate will know the concept of recursion
  • The candidate will know how to transfer parameters to and from a function
  • The candidate will be able to distinguish differences between C++ an other well-known programming languages
  • The candidate will have an overview of the content of the standard library

Skills:

  • The candidate will be able to use a programming environment for program development (IDE, Integrated Development Environment)
  • The candidate will be able to write a program that use functions to develop modular programs
  • The canditate will be able to debug a program
  • The candidate will be able to write a program that reads and writes to files
  • The candidate will be able to write programs that use structs and classes
  • The candidate wil be able to use pointers and different parameter transfer mechanisms
  • The candidate will be able to write unit tests
  • The candidate will be able to create programs that uses data structures and algorithms from the C++ standard library
  • The candidate will be able to create DLLs

General competence:

  • The candidate will be able to see the benefit of writing well-structured programs
  • The candidate should see the benefit of thinking through a problem, and find / write an pseudo-code algorithm to solve problems
  • The candidate should be able to use other programming IDE's and languages

Language of instruction

English

Teaching methods

Lectures and written exercises.

Lecture 1 - 2 hours, thereafter lab exercises 1 - 3 hours. All lectures will be held in a computer lab. Mandatory exercises in addition to lab exercises.

Assessment

Mandatory exercises

3 mandatory exercises

Exam

3 hours written exam, if possible as digital.

Grading scale is from A (highest) to F (lowest), with E as the minimum pass grade.

There will be arranged a re-sit exam for this course

Date for examination

Written exam 03.06.2019

The date for the exam can be changed. The final date will be announced in the StudentWeb early in May and early in November.

Schedule

Recommended reading/syllabus

Textbook: Probably Lippman / Lajoije / Moo: C++ Primer, fifth ed. or higher, definitive information will be given 5-6 weeks in advance.