Java programming/Javaprogrammering (id1006)

Course page fall term 2010

Important notice

This course is a self-study course. Students are expected to

The schedule is available here.

Six seminars (not mandatory) are scheduled to aid the self-study regime. During these seminars students review their essay topics, do exercises individually and in groups and have the opportunity to put questions and have discussions.

Outside the seminars, a First Class conference "JAVA" is the primary means of communication. If the conference is not on your Fist Class desktop, it can be found here:

ISE Announcements/JAVA

The examination consists of three assignments and a written essay. The examination assignments are presented in the seminars and also issued in First Class.

Schedule

Mon 30 Aug, 10-12, 533 Introduction to the course
Mon 06 Sep, 10-12, 439 Scientific writing, programming assignments
Mon 13 Sep, 13-15, 533 Essay topic presentation (prepare a topic proposal!)
Mon 20 Sep, 13-15, C22 (Electrum) The Java framework, tools and documentation
Mon 27 Sep, 10-12, 532 Java examples
Mon 04 Oct, 10-12, 439 Object-oriented programming
Wed 13 Oct, 10-12, C22 (Electrum) Solutions to assignments

News

If you feel that you would like to add more to your Java experience, please check out http://www.dsv.su.se/~fk/pis/java.html

18 Nov 2010 A course evaluation form has been published in Daisy. Please take a few moments to fill it out, to help us improve the course. Thank you.
09 Nov 2010 Here (bundle123B.zip) are the followup assignments, 1B, 2B, and 3B. In these assignments, you are given most of the files for an application that measures the Flesch reading ease on individual sentences of a file. The three tasks are to complete the application, by implementing the three missing classes, Sentence, TextRenderer, and HTMLRenderer. Detailed instructions are provided in the zip-file, as text, Ms Word and PDF files.
13 Oct 2010 Solutions to programming assignments: solutions123.zip. This archive contains all the source files, including the ones issued with the assignments.
04 Oct 2010

Software is very hard to get correct, as the following demonstrates:

The syllable count for the example file HCAndersen.txt as given in the assignment text is listed as

2595
Implementing the syllable counter algorithm as the assignment requires, gives a count of
2583
i.e. 12 syllables less in total.

>java FleschTest -f HCAndersen.txt
File: HCAndersen.txt
Flesch : 75.30589909708289
sentences : 124
syllables : 2583
words : 1881

The reason for this is that when I prepared the example in the assignment text, I had forgotten to remove the Swedish national characters ÅÄÖ from the detected vowels. Although the text is in English, it contains Swedish names and thus these were counted.

2583 is the 'correct' count, as per the assignment.


-fk
27 Sep 2010 Some clarifications regarding the assignment instructions Note01.txt
20 Sep 2010 Java tools slides Java tools.ppt
14 Sep 2010 Example file Primes.java
14 Sep 2010 Assignment 4 - Essay assignment04_essay.txt (.doc) (.pdf)
14 Sep 2010 Course plan and grading criteria courseplan_eng.txt
08 Sep 2010 Assignment 1 - Parser: Assignment 1.txt (.pdf) (.doc) Token.java PunctToken.java WordToken.java TextMeter.java ParserTest.java
08 Sep 2010 Assignment 2 - Lix and files: Assignment 2.txt (.pdf) (.doc)
08 Sep 2010 Assignment 3 - Flesch: Assignment 3.txt (.pdf) (.doc)
08 Sep 2010 Assignment 1, 2, 3 - Example texts: HCAndersen.txt MaryWollstonecraft.txt OskarI.txt
30 Aug 2010 When the course starts, make sure you are able to consult First Class for further news.
For information regarding access cards, First Class account, etc, please consult: Your first day at DSV