Die Suche ergab 34 Treffer

von Ben Kohr
11. Jul 2018 22:57
Forum: Software Engineering - Design and Construction
Thema: Closures
Antworten: 2
Zugriffe: 308

Closures

In some old exames provided, I found questions regarding closures (in Java/Scala, compared to anonymous classes).

Just to make sure: We did not discuss closures, so they should not be part of the exam. Is this correct? :)

Best,
Ben
von Ben Kohr
8. Jul 2018 11:54
Forum: Software Engineering - Design and Construction
Thema: Exercise 9
Antworten: 11
Zugriffe: 587

Exercise 9

Hi, regarding Exercise 9: - Task 1: What exactly is meant with the "Note:" in Task 1? I understood that an e.g., SimpleTask is "consumed" by a Dependet/BillableTask should not "exist" anymore afterwards, is has become the new/wrapped Task. But what exactly is meant with "not reference the wrapped ta...
von Ben Kohr
1. Jul 2018 12:16
Forum: Software Engineering - Design and Construction
Thema: Exercise 08
Antworten: 4
Zugriffe: 395

Exercise 08

Regarding exercise 08, I have some questions: 1. Task 1, Task 2: Should we annotate each single method with @Operation in the code that appears in Composite, Leaf or Component and that is declared by Component? This is my current understanding of the @Operation annotation. The same question arises f...
von Ben Kohr
20. Jun 2018 19:14
Forum: Software Engineering - Design and Construction
Thema: Guest lecture
Antworten: 3
Zugriffe: 271

Re: Guest lecture

Okay, thanks for uploading!
von Ben Kohr
20. Jun 2018 12:06
Forum: Software Engineering - Design and Construction
Thema: Guest lecture
Antworten: 3
Zugriffe: 271

Guest lecture

Hi,

the slides of the guest lecture (19.06.) are not online yet - it would be great if they could be uploaded. :)

Is the context of this guest lecture relevant for the exam?
I guess it is, just wanted to make sure.

Best,
Ben
von Ben Kohr
19. Jun 2018 14:59
Forum: Software Engineering - Design and Construction
Thema: Ex 07, short questions
Antworten: 9
Zugriffe: 1027

Re: Ex 07, short questions

Thanks!

I mean the classes contained in SimpleUniversity and those contained in ComplexUniversity.

Best,
Ben
von Ben Kohr
16. Jun 2018 14:44
Forum: Software Engineering - Design and Construction
Thema: Ex 07, short questions
Antworten: 9
Zugriffe: 1027

Ex 07, short questions

Hi, two short questions: - May we use case classes for SimpleUniversity and ComplexUniversity? The debug Strings produced by the administration tool are more understandable if we do so. - The method declaration in Student should be "matriculatio n Number", right? I declared it that way now. Best, Ben
von Ben Kohr
10. Jun 2018 13:52
Forum: Software Engineering - Design and Construction
Thema: Exercise 06 - "potentially broken" and insufficient documentation
Antworten: 1
Zugriffe: 170

Exercise 06 - "potentially broken" and insufficient documentation

Hi, regarding exercise 6: - What is meant with "potentially broken", regarding the method to specify in the FragileChange annotation? - I am not quite sure about the scope of insufficient documentation in task 2. For example, if a single method is overridden without calling super - in case this coul...
von Ben Kohr
5. Jun 2018 21:46
Forum: Software Engineering - Design and Construction
Thema: Ex05, questions
Antworten: 5
Zugriffe: 367

Re: Ex05, questions

Thank you!
That made things clear for me... 8)

Just to make sure:
- Arrays are not considered as collections for task 2, so we are allowed to use them in methods, right?
- The empty main method may be filled by us (for testing purposes) without problems for the evaluation system, right?

Best,
Ben
von Ben Kohr
4. Jun 2018 23:43
Forum: Software Engineering - Design and Construction
Thema: Ex05, questions
Antworten: 5
Zugriffe: 367

Re: Ex05, questions

Q1: Okay, thanks! Q2: I would not replace the INSERT-comment at both "def contains /*[INSERT CORRECT PARAMETER HERE]*/ (item: Any ...", leaving "item : Any" and "def foreach /*[INSERT CORRECT PARAMETER HERE]*/ (f: Any ...", using "f: NameDefinedAbove" ... Q3: Thanks! Q4: Thanks again. But regarding ...
von Ben Kohr
2. Jun 2018 17:00
Forum: Software Engineering - Design and Construction
Thema: Ex05, questions
Antworten: 5
Zugriffe: 367

Ex05, questions

Regarding Exericse 05, I've got a few questions... - Q1: Task 1: Should we consider recommendations (not "must-dos") for method overriding, provided by JDK classes, as part of a method's contract? - Q2: Task 2: If there is a "insert type here" comment, does this always mean that there actually has t...
von Ben Kohr
14. Mai 2018 23:03
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 720

Re: Questions regarding exercise 2

Hi, thanks for the tip! Everything is working fine in Eclipse with the visualization - if this terminal creation issue is not a problem for the automatic exercise evaluation (it isn't, right?) I will leave this circumstance as is. Please don't forget to answer my other questions above! 8) Best, Ben
von Ben Kohr
13. Mai 2018 11:44
Forum: Software Engineering - Design and Construction
Thema: Questions regarding exercise 2
Antworten: 12
Zugriffe: 720

Questions regarding exercise 2

Hi, there are a few questions I'd like to ask, regarding exercise 2: Task 1 A. We should use "Signals and Events", does this exclude Vars? B. If we use a scala immutable map, there is another return type for "get" (Optional). Should we use another method instead of "get" to still provide Doubles (an...
von Ben Kohr
8. Mai 2018 18:40
Forum: Software Engineering - Design and Construction
Thema: Lecture slides
Antworten: 1
Zugriffe: 284

Lecture slides

Hello,

where can we find the slides of today's lecture?

Best,
Ben
von Ben Kohr
1. Mai 2018 12:09
Forum: Software Engineering - Design and Construction
Thema: E1, Task 1, DSL
Antworten: 1
Zugriffe: 227

E1, Task 1, DSL

Hi, if I encounter such a situation: Lin("Q", >>(LinResult("W", "E", "R"), LinResult("T", "Z", "U"))) the next step should be (or am I mistaken?): Lin("Q", LinResult("W"), >>(LinResult("E", "R"), LinResult("T", "Z", "U"))) But what do I do in such a case: Lin("Q", >>(>>(LinResult("W", "E", "R"), Lin...

Zur erweiterten Suche