TND002 |
Object-Oriented Programming, 6 ECTS credits.
/Objektorienterad programmering/
For:
KTS
MT
|
|
Prel. scheduled
hours: 52
Rec. self-study hours: 108
|
|
Area of Education: Technology
Main field of studies: Computer Engineering
|
|
Advancement level
(G1, G2, A): G1
|
|
Aim:
The course should give knowledge of object-oriented program development
and programming in an object-oriented language, Java. After this course the student should be able to:
- write simple programs with input and output of numbers and text, using the command prompt as well as dialog boxes.
- explain the difference between built-in data types and class types, and the difference between simple variables and reference variables.
- explain the difference between instance variables and class variables, and the difference between instance methods and class methods.
- design and implement classes, and use them.
- use common standard classes from the Java API.
- write programs for file processing, in particular text files.
- explain the concepts inheritance, polymorphism and dynamic binding, and the concepts abstract class and interface.
- design and implement class hierarchies, and use them.
- write programs with simple graphical user interfaces.
- explain the concept event-driven program.
- for a given problem, develop an object-oriented program consisting of a number of classes, and document this in UML.
|
|
Prerequisites: (valid for students admitted to programmes within which the course is offered)
Introductory course in programming
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:
Programming in C++
|
|
Organisation:
Lectures, lessons, and laboratory work.
|
|
Course contents:
The Java programming language, variables and data types, input and output, control structures.
Classes and objects, instance variables and instance methods, class variables and class methods.
Object-oriented programming, class diagrams and UML.
Standard classes and the Java API,
Inheritance, subclasses and superclasses, polymorphism and dynamic binding, abstract classes and interfaces.
Streams and files, exceptions.
Programs with graphical user interfaces, graphical components and layout managers, event-driven programs.
|
|
Course literature:
Java direkt med Swing, Jan Skansholm, Studentlitteratur,
7th edition year 2013 (or later).
|
|
Examination: |
|
Computer examination Laboratory work |
3 ECTS 3 ECTS
|
|
|
|
Course language is English.
Department offering the course: ITN.
Director of Studies: Camilla Forsell
Examiner: Mark E Dieckmann
Link to the course homepage at the department
Course Syllabus in Swedish
|
|