Skip to main content
Till KTH:s startsida Till KTH:s startsida

ID1301 Programming I, Java 7.5 credits

Course offerings are missing for current or upcoming semesters.
Headings with content from the Course syllabus ID1301 (Autumn 2010–) are denoted with an asterisk ( )

Content and learning outcomes

Course contents

- Store data as primitive values and exert different operations with them
- Implement conditional actions and repetitions
- Store data in a vector of the inbuilt type
- Distribute code between different methods, classes and packages
- Use objects of the classes that exist in the standard library
- Exception situations in a program
- Input, output and files
- Define own object types. Nestled and inner classes. Lists.
- Inheritance and interface

Intended learning outcomes

The course develops the students programming abilities so that he/she can solve easier tasks with the help of a computer. The course also lays a foundation for further studies in software engineering.
The student will be able to:
- Choose an appropriate form for data-storage (e.g. primitive values, vectors, lists or objects) and use the stored data in different ways
- Implement conditional actions and repetitions
- Develop appropriate methods, classes and packages to implement different operations
- Create objects of different standard classes and use their services
- Handle exception situations in a program
- Create programs that communicate with the standard input unit, standard output unit and the files in the file system
- Create appropriate object types to be able to implement given services

Literature and preparations

Specific prerequisites

General eligibility for university studies in Sweden, i.e. completed upper secondary education including documented proficiency in Swedish and English. In addition, specific requirements of mathematics, physics and chemistry corresponding to Mathematics D/Mathematics 3c, Physics B/Physics 2 and Chemistry A/Chemistry 1.

Recommended prerequisites

No information inserted

Equipment

No information inserted

Literature

Preliminärt:

  • Galjic Fadil: Programmeringsprinciper i Java, del 1 (Upplaga: 1), Studentlitteratur, Lund, 2005, 91-44-03586-1
  • Galjic Fadil: Programmeringsprinciper i Java, exempelsamling, del 1 (Upplaga: 1), Studentlitteratur, Lund, 2006, 91-44-03819-4
  • Galjic Fadil: Programmeringsprinciper i Java, övningsbok, del 1 (Upplaga: 1), Studentlitteratur, Lund, 2005, 91-44-03805-4

Examination and completion

If the course is discontinued, students may request to be examined during the following two academic years.

Grading scale

A, B, C, D, E, FX, F

Examination

  • LAB1 - Laboratory Work, 4.5 credits, grading scale: A, B, C, D, E, FX, F
  • TEN1 - Examination, 3.0 credits, grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

During the course the student does and presents a certain amount of example-programs. An exam is done in the end of the course. To be able to do the examination the student must present all the example-programs first.
One grade is given for the example-programs, one for the final examination, and then one final grade for the course as a whole. Both for the grade for the example-programs and the final examinations the actual grading scale (A, B, C, D, E, Fx, F) is used.

The final grade for the whole course is a rounded mean value of the grade for the examination and the grade for the example-programs (the mean value rounds up).

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted

Examiner

Ethical approach

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Further information

Course room in Canvas

Registered students find further information about the implementation of the course in the course room in Canvas. A link to the course room can be found under the tab Studies in the Personal menu at the start of the course.

Offered by

Main field of study

Technology

Education cycle

First cycle

Add-on studies

No information inserted

Contact

Fadil Galjic, fadil@kth.se, tfn 08 - 790 4476