Institute of Computer Science
  1. Courses
  2. 2019/20 spring
  3. Object-Oriented Programming (Narva College) (LTAT.NR.003)
ET
Log in

Object-Oriented Programming (Narva College) 2019/20 spring

  • Home
  • Materials
  • Grading
  • Java Glossary
  • Cheat sheet (S1-S6)
  • Source Example
  • Links
Chapter 7

Tasks (to be submitted by 30.03)

Task 1. Flag

Draw a flag of any country using Canvas class. The flag must have at least three colors or a complex shape.

Hint:

  • check the flags here;
  • some shapes and pieces of code can be found here.

Task 2

Create a program which displays a device, a schema, a masterpiece or anything else. Some examples: a bus timetable panel, a panel of a sports competition, a crossroad, a masterpiece reproduction in the style of abstractionism ...

Some mystery elements can be added using an animation (e.g. due to a programming mistake, the panel flies in the air).

  • The scene graph should have at least four levels.
  • The layout should be regulated by an instance of any Pane subclasses.
  • Any animation should be present.
  • Add at least one effect.

To come up with an idea is not an easy task, but let your fantasy fly. The society needs creative people (especially now)!

Chapter 7
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment