INF3330 – Problem solving with high level languages

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.

Admission

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.

Prerequisites

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 INF4330, and 9 credits with IN228

Teaching

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

Examination

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
    or
  • 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 www.ifi.uio.no/~inf3330/eksamen.shtml. 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

This subject does not offer new examination in the beginning of the subsequent term for candidates who withdraw during an ordinary examination or fail an ordinary examination. For general information about new examination, see /studier/admin/eksamen/sykdom-utsatt/mn/index.html and http://www.matnat.uio.no/english/studies/examination/repeat.html

Other

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

Course Auditor: Jan Olav Langseth

Facts about this course

Credits
10
Teaching
Every autumn

This course will be taught for the last time in this version Autumn 2008. The course is continued as INF3331 – Probleml?sning med h?yniv?-spr?k (continued).

Examination
Every autumn
Teaching language
Norwegian