TND012 |
Programming , 6 ECTS credits.
/Programmering grk/
For:
ED
KTS
MT
|
|
Prel. scheduled
hours: 68
Rec. self-study hours: 92
|
|
Area of Education: Technology
Main field of studies: Computer Engineering
|
|
Advancement level
(G1, G2, A): G1
|
|
Aim:
To provide foundations for constructing computer programs and to convey specific skills in a high level programming language, C++. Basic programming concepts and techniques are introduced. Upon completion of the course, the student should fulfill the following learning outcomes.
- To describe the output of a program from the source code.
- To describe the following concepts: compilation, source code, object code, executable code.
- To use built-in data types for integers, floating point numbers, text strings, arrays and records
- To use selection and iteration statements in programs.
- To construct sub-programs (functions) and use different types of parameters and return values.
- To construct a program that solves a given problem.
- To construct programs modularly from subprograms, where every sub program performs one task.
- To use the functionality from some basic standard C++ libraries.
- To write programs with basic file processing.
|
|
Prerequisites: (valid for students admitted to programmes within which the course is offered)
Note: Admission requirements for non-programme students usually also include admission requirements for the programme and threshhold requirements for progression within the programme, or corresponding.
|
|
Supplementary courses:
Object-Oriented Programming (MT), Programming, continued course (ED, KTS).
|
|
Organisation:
Lectures, lessons, laboratory work.
|
|
Course contents:
Introduce students to how to develop and structure a program. Basic types: int, double, bool, char. Variables, declarations, and expressions. If-statements and loops. Arrays. Search and sorting an array. Functions. Functions declaration and definition. Functions that return no value. Call-by-value and call-by-reference. Scope and visibility rules. Structuring the code in header (.h) and source (.cpp) files. Records. Input/output. Files. Basic standard C++ libraries.
|
|
Course literature:
C++ direkt, Jan Skansholm, Studentlitteratur, 3rd edition year 2011.
|
|
Examination: |
|
Computer examination Laboratory work Voluntary assignment |
3 ECTS 3 ECTS 0 ECTS
|
|
|
The computer exam consists of three parts. Passed Part 1 gives grade 3. Approved in Part 1 and Part 2 gives grade 4. Approved on all parts gives grade 5. The optional assignment consists of three quizzes. Approved on all three quizzes will be credited to the portion of the computer exam that gives grade 3. For higher grades must therefore the rest of the computer exam be conducted and passed. |
Course language is English.
Department offering the course: ITN.
Director of Studies: Camilla Forsell
Examiner: Aida Nordman
Link to the course homepage at the department
Course Syllabus in Swedish
|