INF4330 – Problem solving with high level languages

Schedule, syllabus and examination date

Choose semester

Course content

An introduction is given to basic elements of the scripting languages Perl and Python, e.g. data structure (list, hash), regular expressions, classes, object oriented programming, interaction with the operating system, platform independent code, graphical user interfaces, interactive web pages, efficiency, combination of scripting languages with C/C++ or Fortran, modules, and program packages. Practical problem solving is emphasized.

Learning outcome

Scripting languages as Perl and Python make it possible to program far more compact and on a higher level than with Fortran, C, C++ and Java. The course gives and introduction to Perl and Python and what kind of problems these languages are especially suited for. The course demonstrates typical application of scripting, e.g. interpret and manipulate text, glue existing programs together, supply a graphical user interface to file- or command line-based applications (also over the internet), search and manipulate files, generate reports (e.g. in the form of a web page), control and archive numerical experiments. Through exercises in the course, the students will get considerable training in approaching a problem, finding relevant documentation, implementation and testing of code, and also to evaluate alternate solutions.


Students who are admitted to study programmes at UiO must each semester register which courses and exams they wish to sign up for in Studentweb.

If you are not already enrolled as a student at UiO, please see our information about admission requirements and procedures.


Formal prerequisite knowledge

In addition to fulfilling the Higher Education Entrance Qualification, applicants have to meet the following special admission requirements:

  • Mathematics R1 or Mathematics (S1+S2)

The special admission requirements may also be covered by equivalent studies from Norwegian upper secondary school or by other equivalent studies. Read more about special admission requirements (in Norwegian).

Recommended previous knowledge

At least 60 credits with INF courses

Overlapping courses

10 credits with INF3330, and 9 credits with IN228


2 hours with lectures and 2 hours with exercises each week. There are mandatory assignments.


Continous evaluation of assignments and projects (pass/fail). The papers will be evaluated on group sessions. To be able to take the exam the student must

  • have passed the assignments for ten weeks
  • for five weeks if he/she has passed a project assignment in addition.

The different ways the course is carried through is in detail described at Students may do an oral exam in the middle of the semester. All students must have a written exam in the end of the semester. Both written and (if relevant) oral must be graded 'pass' and also in the same semester.

Both theory and assignments given in the course can be subject for the contents of the exam (both oral and written).

Grading scale

Grades are awarded on a pass/fail scale. Read more about the grading system.

Resit an examination

Students who can document a valid reason for absence from the regular examination are offered a postponed examination at the beginning of the next semester.

Re-scheduled examinations are not offered to students who withdraw during, or did not pass the original examination.


Note that the first lecture is compulsory. The subject is regarded equal to IN 228 and INF3330 when practicing exam regulations.

Course Auditor: Jan Olav Langseth

Facts about this course




Every autumn

This version of the course will be held for the last time Autumn 2007. INF3330 – Problem solving with high level languages (discontinued) will still be held.


Every autumn

Teaching language