This exam is made up of three parts. These test your ability to explain and apply development principles.
Please note that this is an example text. It shows the structure of the exam. There cannot be any rights derived from this example.
You can get a total of 16 points. These points are distributed as follows:
Component | Number of points | Time suggestion |
---|---|---|
Part 1 | 4 | 15 min |
Part 2 | 8 | 30 min |
Part 3 | 18 | 75 min |
Total | 30 | 120 min |
The following websites are available during the test:
Answer the questions below.
Write your answers in the studentAnswers.md
. There is a .md file for english and dutch. Choose the language you prefer. (You must not add other languages!)
What is meant by a **
Write your answer in the student answers file of the project.
What is meant by a **
Write your answer in the student answers file of the project.
The resources folder contains a file which lists **
There are four methods with no meaningful content (doStreams1(), doStreams2(), etc.) They are used to display information about the dataset.
Implement the four methods using java streams. Any other implementation method will not award any points.
In this segment you will improve a rather badly written program. The questions below will guide you through the process.
You are ONLY required to change the code of the <this-class>
. The Application
and the <that-package>
classes should not require any changes.
The code starts with a long list of “X”. Please rewrite the code to use a clear set of constants.
Reading data from the file delivers a **
There are some tests that should confirm the working of your list. (See chapter 3d Additional Testion)
The **
**<DummyDataSource>**
class that generates data for three dummy objects.JSONDataSource
, but leave the implementation empty.Please write tests for the following classes and situations:
**<insert-object-here>**
class throws the correct exceptions. (Both IllegalArgument AND IndexOutOfBounds!)**<your-generic-storage>**
is actually empty.**<your-generic-storage>**
is no longer empty, and now contains that item.**<your-generic-storage>**
, the correct elements are provided.**<DummyDataSource>**
returns the right number of objects, and check their content.When making changes, make sure that the code clearly improves:
When writing tests follow these rules: