Die Suche ergab 126 Treffer

von leonidglanz
20. Mai 2015 10:22
Forum: Archiv
Thema: Possible bug in the Ex3 tests
Antworten: 2
Zugriffe: 334

Re: Possible bug in the Ex3 tests

Hello, In the introduction there is this description: A get method, returning the element at a given index (starting at 0). It throws an exception if the index is < 0 or >= n So a singleton has only one element, so it should have an index, but if the index is smaller or equal n then we should throw ...
von leonidglanz
18. Mai 2015 08:29
Forum: Archiv
Thema: Mid-Term Exam - Topics
Antworten: 4
Zugriffe: 708

Re: Mid-Term Exam - Topics

Hello,

everything is relevant for the mid-term exam. The current exercise is also important for this exam.

Regards,
Leonid Glanz
von leonidglanz
15. Mai 2015 14:52
Forum: Archiv
Thema: Mid-Term exam information
Antworten: 0
Zugriffe: 348

Mid-Term exam information

Hello everybody, the splitting for the mid-term exam is like that people with the starting letter A - J in the last name write the exam in room S202/C205 and people with letters from K - Z write in room S105/122. The reference solution for exercise 3 is published at the 29th May, because it is more ...
von leonidglanz
5. Mai 2015 08:48
Forum: Archiv
Thema: problem with testing Filter function
Antworten: 8
Zugriffe: 625

Re: problem with testing Filter function

For this exercise it is important to traverse the TreeSet in-order and it should not depend on the insertion order. We want that the implementation is as simple as possible for that we want to use the equals method of case-classes.
von leonidglanz
4. Mai 2015 12:38
Forum: Archiv
Thema: problem with testing Filter function
Antworten: 8
Zugriffe: 625

Re: problem with testing Filter function

It is right that a set doesn't have an order, but a IntSet belongs to the TreeSet implementation and that is an ordered set.
So it is important that the result of your implementation should be ordered.
von leonidglanz
4. Mai 2015 10:47
Forum: Archiv
Thema: problem with testing Filter function
Antworten: 8
Zugriffe: 625

Re: problem with testing Filter function

Hello,

I have checked the TestSuite and I had no failing tests.
It is hard to see the issue without your code, please ask for help in the office hours of our tutors. (like today at 11:00 a.m.)

Regards,
Leonid Glanz

Zur erweiterten Suche