5013.14 - Introductory Programming in C++
Introductory Programming in C++
The course: Introduction to computer science (7.5 ECTS)
The objective of the course is to give an introduction to C++ and to learn to code simple programs with C++ based on procedural programming.
Programming fundamentals. Sequences, iterations, selection as a basis for the construction of algorithms. Datatypes and operators. You will use subprograms, functions and libraries in C++ for program-structuring and the re-usability of code: - simple datatypes and built-in operators in C++ - sequences, iterations, selection - program structure, flowchart and pseudocode - functions and overlaying of functions - passing of parameters by value- and by reference - use of library functions - use of class-templates from standard library for strings and collections - classes and objects in standard library used for input/output-streams of data - simple search and ordering algorithms
Learning and teaching approaches
Remote education from Mid-Sweeden University: DT018G Introduktion till programmering i C++, / DT018G Introduction to Programming in C++, and local teaching at NVD (about 3 hours/week).
By the end of the course, the student should be able to: - construct simple C++ programs based on procedural programming, - use built-in facilities for iterations and selection, - use built-in types and overlayed operators, - define functionality in parts of code and re-write this functionality into functions, - use parameters for transfer of data between different program modules, - use pseudo-code to construct parts of simple programs, - construct simple algorithms, - know about and be able to construct simple algorithms for search and ordering, which are comparable to the relevant templates in the standard library, - use class-templates from the standard library for strings and collections - use different input/output data-streams
Approved exercises (3 ECTS), approved theoretical examination (1.5 ECTS) and a programming project (3 ECTS, which will be graded and count for the final grade for this course. Note: students that have not delivered any required course work during the first 3 weeks of the course may risk to be excluded from the course.
Lippman, B. Stanley, Lajoie, Josée, Moo, E. Barbara., C++ Primer, Addison Wesley, 5 edition (2012), ISBN-13: 978-0-321-71411-4 http://www.amazon.co.uk/C-Primer-Stanley-B-Lippman/dp/0321714113/ref=sr_1_1?s=books&ie=UTF8&qid=1412075491&sr=1-1&keywords=9780321714114