Weekly planning

At school on Tuesdays from 13:10 until 17:30
  • First five minutes: a short online quiz regarding the topics of the previous week and this week.

  • Next 45 minutes: introduction to the topics of this week

  • Next 45 minutes: discussion of the previous week’s exercises

  • Until the end: supervised lab work where students work individually on their exercises

At home at least 3 - 4 hours per week:
  • Finish this week’s exercises and commit all your .java files to your individual PRC1 repository before Sunday 23.59 pm

  • Prepare topics of next week: read the chapter(s) as shown in the planning below

Table 1. Tentative planning next weeks - chapters need to be read BEFORE the start of the lecture
Week Topics/chapters

1

Introduction (ch1)

2

Elementary programming (ch2)

3

Selections (ch3) and functions (ch4)

4

Loops (ch5)

5

Methods (ch6)

6

Single (ch7) and Multidimensional (ch8) Arrays

7

Objects and classes (ch9)

PRJ1 week - no PRC1 class

8

Object Oriented Thinking (ch10)

9

Test exam - No new topics this week

10

Inheritance and Polymorphism (ch11)

11

Practice - No new topics this week

12

Abstract classes and interfaces (ch13)

13

JavaFX basics (selection of sections from Chapter 14, 15 and 16)

14

Practice - No new topics this week

Reference solutions

1. Week 01 - Introduction (ch1)

2. Week 02 - Elementary programming (ch2)

3. Week 03 - Selections (ch3) and functions (ch4)

4. Week 04 - Loops (ch5) + Introduction NetBeans

pyramid_pattern_output_netbeans
Figure 1. Expected output for exercise 5.19 (use a tab - in Java a \t - to separate the numbers.)

5. Week 05 - Methods (ch6)

6. Week 06 - Single (ch7) and multidimensional (ch8) arrays

7. Week 07 - Objects and classes (ch9)

8. Week 08 - Object-oriented thinking (ch10)

9. Week 09 - Test exam - No new topics this week

No new topics, but practical work assignments: from Chapter 9 and Chapter 10: 9.7, 10.4, 10.7

10. Week 10 - Inheritance and Polymorphism (ch11)

11. Week 11 - Goal: become an expert in OOP

No theory lecture, practical work session starts at 13.10 and ends at 17.30
No new topics, but practical work assignments: from Chapter 10 and Chapter 11: 10.11, 10.14, 11.2, 11.8

12. Week 12 - Abstract classes and interfaces (ch13)

13. Week 13 - JavaFX (ch14+ch15+ch16)

14. Week 14 - JavaFX (ch14+ch15+ch16) + additional practicing

Exam stick

The PRC1 (and part of the DBS1 exam) exam is taken using a live USB stick. To prepare yourselves and your computer for this exam, we offer to program such USB as a service.

The device must be of one of the prescribed brands, types or models. These are certified types, and will work in our production process.

Currently the following Sandisk models are verified to work:

  • Sandisk Extreme USB 3.0, capacity 16GB (This is the exam stick model)

  • Sandisk extreme USB 3.0, capacity 32GB, capacity over-specified, but currently preferred model for students

  • Sandisk extreme USB 3.0, capacity 64GB acceptable replacement, but actually over-specified, capacity and price wise.

These USB sticks come in the form factor as given in figure 1.

The types described above seem to be difficult to obtain. Therefore we aslo verified the successor type:

  • SANDISK EXTREME┬« GO USB 3.1 FLASH DRIVE, 64 GB (CZ800). 64 GB is the lowest capacity on this model. Its has the same form factor, but with a transparant slider, so you can see the busy lamp blink more easily, and it is a bit slower then the 64 GB original but still acceptable for our purpose.

Here are some addresses you can use to find it:

A supplier for the replacement drive in the Netherlands is DataIO.

For German students, have a look at the Idealo site, with the given search command.

Disclaimer: The above links are given as a service only. Fontys is not affiliated with the linked companies nor does it endorse or recommend the mentioned sites for any other purpose then reference.

Student Laptop During exam.

The following rules apply when using a laptop with a Fontys supplied USB stick during a so called performance assessment:

Exam Preparation

  • The student is responsible to bring a suitable laptop to the exam.

    • Fontys does NOT provide laptops for this purpose.

    • Fontys will not supply replacements for laptop or power supply.

  • The student is responsible for making sure that the laptop does boot from the supplied USB stick. He or she should know how to setup the laptop to make it properly boot from the stick. This often means knowing how to get into the bios and change some settings to the desired effect.

  • The student is also responsible for properly shutting down the machine after use with the stick. This is important because on then you can be sure that your work is properly saved.

  • The student must bring a power supply suitable for the laptop. The exam environment cannot be tuned to each individual laptop, and may not be very energy efficient. A battery charge lifetime of less then 2 hours is not uncommon for the exam environment. This is less than the typical duration of a performance assessment.

  • The student should bring a computer mouse, preferable wired. The touch pad on your computer might not behave as you are used to in the normal laptop mode.

During exam

After the exam, the students solutions are harvested from all sticks. In the harvest process, only two folders are read; . The exam work folder, typically placed on the Desktop and named examprojectXYZ, where XYZ is the stick number. . The exam repository named EXAMXYZ-repo, which is placed in the home directory on the stick.

Solutions saved outside the said exam work folder will be ignored by the harvesting process.

Fontys SEBI USB Stick Service

To help the student to ensure that he/she and his/her laptop is well prepared for the performance assessment, Fontys SEBI Venlo teachers provide a service to program a students owned USB stick of a certified brand and type. The image programmed on the stick will be the same as used during the assessment, but with network stack and disk access enabled, so you can use it during practical hours with full Internet and repository access.

The following applies:

  • The base image for the assessment will be prepared at least 3 weeks in advance of the assessment. The base image is the same as the image using during the assessment but

    • without the exam tasks and

    • with an enabled network and disk access enabled.

  • The exam base image is the base image with network and disk access removed/disabled.

    • The exam base image will not change between 3 week before the assessment and the assessment, providing that no severe problems must be resolved.

    • An assessment stick is a USB stick, programmed with the exam base image and the exam tasks added. This is the stick that will be supplied at the start of the assessment an taken in at the end. Both tasks and student solutions will reside on the stick.

    • Exam solutions will be read from the sticks from the exam specific place, after which the stick might be erased to prepare it for another performance assessment.


1. Use Math.sqrt(x) to calculate the square root of 'x'
2. You can assume there are always three digits, or change the exercise so that you have to calculate the sum of all digits
3. The correct result is 46.760397330835296.
4. Make use of (a) loop(s)! The input number can be read as a String.
5. Remember the % operator to extract digits from an integer.
6. It looks like there is an error in the exercise description. Please consider this to be the last line: 1 2 3 …​ n-1 n