en_GB
Hold Ctrl-tasten nede. Trykk på + for å forstørre eller - for å forminske.

DAT110_1

Introduction to programming

This is the study programme for 2019/2020. It is subject to change.


The student learns how to write and run computer programs using the Python programming language

Learning outcome

Knowledge:
  • Have a basic understanding of structured programming
  • Have a basic understanding of Object Oriented Programming (OOP).
  • Know about programming constructs such as variables, data types, control structures, lists, functions, classes and objects

Skills:
  • Be able to write and run programs using classes and objects, functions, control structures, and lists.
  • Be able to write programs using the Python programming language
  • Be able to write simple graphical user interfaces
  • Know how to use methods from predefined classes, create your own classes and objects, and establish communication between objects.

Competence:
  • Know how to plan and code computer programs.

Contents

Programming in the Python programming language. The course gives the student a basic understanding of structured and object-oriented programming (OOP), and the ability to write and run your own programs. The student should learn how to use methods from already existing classes. The student should learn how to create his/her own classes and objects. An important concept is how to split a problem into parts, implement each part in its own module, and use these modules to solve the whole problem. Such modules may be functions or classes. The student should learn how to make objects communicate with each other. The student should learn how a program can communicate with a user using either a text interface or a simple graphical user interface. The student should learn how a program can read data from files and write results to files. The student should learn basic use of the Python data structures list, tuple, set and dictionary.

Required prerequisite knowledge

None.

Recommended previous knowledge

ING100 Introductory course for engineers - Computer science and electrical engineering, ING110 Engineering Course introduction - Construction, ING120 Introduction to Mechanical Engineering, ING130 Introductory Course for Engineers - Petroleum, ING140 Introductory course for engineers - Chemistry and Environmental Engineering

Exam

Weight Duration Marks Aid
Written exam1/14 hoursA - FAll written and printed means are allowed. Definite, basic calculator allowed.

Coursework requirements

Computer exercises
In order to take the exam 9 of 10 exercises must be approved before the announced deadline.

Course teacher(s)

Course coordinator
Erlend Tøssebro
Coordinator laboratory exercises
Per Jotun
Head of Department
Tom Ryen

Method of work

Four hours of lectures per week. All students can get help for the exercises at a room reserved for the purpose four hours a week. Student assistants will be in the exercise rooms to assist the students in solving the mandatory exercises. The students should also present their exercises to the student assistants for approval in the exercise room.
Completion of mandatory exercises are to be made at the times and in the groups that are assigned and published. Absence due to illness or for other reasons must be communicated as soon as possible to the laboratory personnel. One cannot expect that provisions for completion of the exercises at other times are made unless prior arrangements with the laboratory personnel have been agreed upon.
Failure to complete the assigned exercises on time or not having them approved will result in barring from taking the exam of the course.
The exercises are as important to this course as the lectures. This course is about learning how to program computers, and you do not learn this unless you sit down and write some programs of your own. Unlike some other courses, you cannot learn programming just from attending lectures and reading a book.

Open to

Bachelor studies at the Faculty of Science and Technology.

Master studies at the Faculty of Science and Technology. 

Course assessment

Form and/or discussions. 

Literature

Starting out with Python byTony Gaddis. Published by Pearson


This is the study programme for 2019/2020. It is subject to change.

Sist oppdatert: 14.11.2019

History