Die Suche ergab 28 Treffer

von LorenzB
10. Feb 2018 16:51
Forum: Archiv
Thema: ISP
Antworten: 0
Zugriffe: 255

ISP

Hello
Segregating interfaces should not be overdone!
If you overdue the application of the interface segregation principle, you will end up with 2n-1 interfaces
for a class with n methods.
why is it 2n-1? I think 2n-1=1²+2²+...+n².

Thank you
von LorenzB
9. Feb 2018 19:24
Forum: Archiv
Thema: Solution for old exam
Antworten: 2
Zugriffe: 627

Re: Solution for old exam

Thank you Azazel

Maybe we can do this for the two midterm exams too (from two/three years ago)

Also the important slidenumbers would be an idea.
von LorenzB
1. Feb 2018 13:48
Forum: Archiv
Thema: ex11 - Expected output + function-meanings
Antworten: 3
Zugriffe: 884

Re: ex11 - Expected output + function-meanings

Thank you!
meichholz hat geschrieben:
1. Feb 2018 13:43
The result should be the same if all commands are undone and redone.
Yes, but is it right, that the second replace of 5 has no effect, or am i wrong with expecting just one placeholder beeing left?
von LorenzB
31. Jan 2018 15:29
Forum: Archiv
Thema: ex11 - Expected output + function-meanings
Antworten: 3
Zugriffe: 884

ex11 - Expected output + function-meanings

Hello, I have four questions: When a command is redone it operates on the same expression it operated on the first time. You must make sure that the current field of a Formula really is part of the Formula, i.e. it is reachable from the root Expression. Does that mean, that we have to store the expr...
von LorenzB
30. Jan 2018 15:43
Forum: Archiv
Thema: ex11 Pattern
Antworten: 2
Zugriffe: 608

ex11 Pattern

Hello, should we use specific Patterns or just annotate the used ones? (How is the grading done, when i use many or just e few?) What is ment by Note that, in our case the Client and Invoker roles are intertwined since we do not implement a real user interface and you may omit the corresponding anno...
von LorenzB
27. Jan 2018 17:17
Forum: Archiv
Thema: Ex10 Task 3 TXT : duration
Antworten: 3
Zugriffe: 413

Re: Ex10 Task 3 TXT : duration

I thought duration is not printed in the todoTXT (https://github.com/todotxt/todo.txt). Or should we use a new key like dur:PT8H?
von LorenzB
25. Jan 2018 17:01
Forum: Archiv
Thema: ex10 Task1 - Project
Antworten: 1
Zugriffe: 237

ex10 Task1 - Project

What does
a modifiable (i.e. it supports add and remove) list of tasks
mean in the case of Scala?
  • Seq
  • List (mutable or immutable)
  • ListBuffer (which has the best opportunities to add and remove elements)
  • ... something else?
Thank you
von LorenzB
25. Jan 2018 16:37
Forum: Archiv
Thema: Exercise 10 Task 3 - CSV
Antworten: 5
Zugriffe: 728

Re: Exercise 10 Task 3 - CSV

How should a Duration be converted to String? Just the default toString method ("PT8H" for 8 hours)?

And should we always print the empty comma-sequence when the Task is simple or should we leave it without commas?
von LorenzB
22. Jan 2018 18:25
Forum: Archiv
Thema: e9; Layout of Nested Graph
Antworten: 2
Zugriffe: 278

Re: e9; Layout of Nested Graph

How about writing this into the instructions?!!!! every 5 minutes there is something changed!
von LorenzB
22. Jan 2018 15:52
Forum: Archiv
Thema: ex09 task 4
Antworten: 7
Zugriffe: 1062

Re: ex09 task 4

thank you :D
von LorenzB
22. Jan 2018 13:58
Forum: Archiv
Thema: Ex09 Task 1: getSize-Methods
Antworten: 3
Zugriffe: 781

Re: Ex09 Task 1: getSize-Methods

And whats's the height of a Node? 1?

does the startpoints of a edge have to be centered on the nodes?
von LorenzB
22. Jan 2018 13:55
Forum: Archiv
Thema: ex09 task 4
Antworten: 7
Zugriffe: 1062

Re: ex09 task 4

LorenzB hat geschrieben:
19. Jan 2018 18:11
but i don't understand, when drawNode and drawText is used. When drawNode is used for Nodes, i see no usage of drawText.
please answer this
von LorenzB
19. Jan 2018 19:15
Forum: Archiv
Thema: Border around Element
Antworten: 1
Zugriffe: 253

Border around Element

Hello,

the border is a circle around the elements position (center for edge and container)
should the radius be the elements size / 2?

Thank you
von LorenzB
19. Jan 2018 18:32
Forum: Archiv
Thema: Size of a Node
Antworten: 1
Zugriffe: 321

Size of a Node

Hello,

what is the size of a TextNode? does that depend on the layouter or the used canvas or none of them?
And what is the postition of the text? the computed one + half of the size?
And what is the size of an Edge?

Thank you
von LorenzB
19. Jan 2018 18:30
Forum: Archiv
Thema: Exercise 9 Task 1
Antworten: 3
Zugriffe: 824

Re: Exercise 9 Task 1

meichholz hat geschrieben:
19. Jan 2018 17:04
Mario Trageser hat geschrieben:
17. Jan 2018 12:30
can we assume, that we have a graph without cycles, so that each node can be seen as the root of a sub graph?
No, the graph can contain cycles.
I think "with cycles" means that there is no Container which contains itself, is that true?

Zur erweiterten Suche