wiki:Programming2InEnglish
Last modified 2 years ago Last modified on 2015-09-15 13:25:33

Programming 2 in English

Course is done in English by doing the assignment in steps (see below) and after it is approved then doing the final exam (that is to do a few page program). There is no English lectures from this course. One must read some good Java book and try to follow these pages.

Remember, these are Wiki pages, so everyone can correct and fill these pages.

Course assignment instructions

Demonstrating the Course Assignment

Instructions for tools used

Literature

Demo tasks

There are currently 69 tasks translated in english. Tasks can be found from the demo-page. By doing exercises you can earn bonus points for the exam:

%40%50%60%70%80%90%
Points for exam123456
Number of completed tasks283542485663

Links to the english tasks:

Return tasks using NETTIDEMOWWW.

Example assignment

The assignment is done using a graphical user interface (GUI) and relational database (text files actually). The main tools to accomplish this are Java's Swing-library and the WindowBuilder-tool for Eclipse. Svn is used for version control, and is a mandatory learning objective of the course.

See the Finnish example of the plan to get an idea of the GUI and how the data tables map out. You can try Google Translate, but the phases are also explained below.

Each completed phase has to be subversioned, meaning that you use Svn to save your phases in the University's version control system. NOTE: Preferably use Svn all the time while you work! It's a great tool to save, backup and transfer your work between computers (meaning also that your assignment reviewer has an easy time getting ahold of your work). See the tutorial: SvnTutorial

Phase 1 and 2 - planing

  • Plan - plan for files, use cases, sketches of GUI. "copy from display" of imagined program (NOTE: Replace the old-fashioned console user interface with sketches of graphical windows).
  • See: the finnish version of current plan

Phase 2 - Snapshots of the GUI

  • Build all of the windows with WindowBuilder
  • Add screenshots of the windows to your plan

Phase 3 - Connected dummy GUI

  • Connect the windows you made in phase 2 to create a runnable Java application that runs the GUI and its windows, but the functionality is missing (e.g. buttons display a "Not implemented yet!" -dialog.
  • Mainmenu.java - first step towards menus
  • Club.java - a small implementation of club to fullfill needs of Display.java
  • Display.java - all menus, but subroutines do not work

Phase 4 - classes and data structures

Phase 5 - data structures to Java

Phase 6 - reading files and collaboration with classes

Phase 7.1 - user input implemented, find and sort

Phase 7.2 - generics

Course subjects

Overview of the Course subjects and schedule

  • Algorithms
  • Planing
  • Java basics (loops, if-statements, variable, methods and parameters and so on)
  • Testing
  • Classes and objects
  • Data structures, made by self and ready made, iterators
  • User input
  • Packages