NITH 2012-2013 / Emner / Programming subjects (PG, IPG) / PG2100 Programming 2  

PG2100 Programming 2


Bachelor

Code
PG2100

Course
Programming 2

ECTS (European Credit Transfer System)
7.50

Course leader
Stein Marthinsen

External examiner
Morten Andersen-Gott

Date of approval
16/10/2011

Aim
The course aims to introduce object oriented programming, discussing a number of central mechanisms and giving examples of interaction between objects of a few classes. Modelling in UML of small systems (class diagrams and sequence diagrams) are also part of the course. The aim is to give basic knowledge of programming of graphic user interfaces (GUI) with event handling. An introduction to a standard Collection class (ArrayList) is given.

Prerequisites
PG1100

Learning outcomes

Knowledge

At completion of the course the students will know

  • what inheritance is;
  • what polymorphism is;
  • the differences or similarities between abstract classes and interfaces; 
  • how the mechanism of event handling functions. 

Skills

At completion of the course the students are able to

  • define classes and master the use of objects;
  • master various UML diagram types such as simple class diagrams and sequence diagrams;
  • master the use of objects and making objects cooperate;
  • define specialisations of classes through inheritance; 
  • master the use of abstract classes and interface ("contracts");
  • apply inheritance and interfaces through codes with a polymorph structure;
  • program unsophisticated graphic interfaces;
  • use the ArrayList class to establish and use a dynamic data structure.

General competence

At completion of the course the students are able to

  • master en unsophisticated integrated developing tool (IDE);
  • write and edit source code with this tool;
  • run the program with this tool;
  • apply the basic elements of this language to make programs;
  • apply a debugger for error detection.
Structure
Lectures, practices, assignments and written assessment.

Recommended workload

Activity

Work load (hours)

Participation in scheduled instruction

 24

Self study

 128

Preparing discussions and presentations in class

 

Practices

 24

Exam

 24

Total recommended work load in hours 

200

Technology and tools
  • Java JDK 1.6 or more recent
  • IDE
Grading system
Letter grades A-E for passed and F for failure

Diploma supplement text
The course has introduced object oriented programming. The student is able to define and apply specialisations of classes through inheritance/interface/polymorphism, and masters the programming of unsophisticated graphic user interfaces (GUI) with simple event handling. Additionally, the student has learnt to use a standard Collection class to implement a dynamic data structure.

Type of assessment
Mappevurdering

Assessment

Portfolio with assignments, and written test.




Literature:
Title Author Publisher Published ISBN Version Comment Type Litterature
Building Java Programs  Stuart Reges/Marty Stepp    2011  978-0-13-706290-4  2.International    Bok  Pensum 

Vurdering / Assessment

Percentual weighting (%):


Type of assessment:
Mappevurdering m/skriftlig prøve (se emnesiden) / Portfolio w/written test

Help:
Ingen / None

Duration:
180 minutter

Semester:
Vår / Spring