Die Suche ergab 11 Treffer

von nknauber
14. Jul 2018 16:02
Forum: Software Engineering - Design and Construction
Thema: Update of the Submission Platform
Antworten: 3
Zugriffe: 213

Re: Update of the Submission Platform

Hi Patrick, thanks for the quick update! Would it be possible to accept minor formatting inconsistencies still as valid answers? E.g., in the TodoTXT format I unintentionally put a space between "due:" and the corresponding (correct) date and therefore the test returns an error. Best regards, Nicolas
von nknauber
14. Jul 2018 11:49
Forum: Software Engineering - Design and Construction
Thema: Update of the Submission Platform
Antworten: 3
Zugriffe: 213

Re: Update of the Submission Platform

Hi Patrick, thanks for the quick update of the last exercise :) However, I found one (possibly two) in my opinion wrong gradings: [Test Description] TaskList should produce correct output [Observed Error] org.scalatest.exceptions.TestFailedException: task5Line.exists(((x$40: String) => x$40.startsWi...
von nknauber
12. Jul 2018 15:42
Forum: Software Engineering - Design and Construction
Thema: Unable to understand exam question Path dependent types
Antworten: 3
Zugriffe: 188

Re: Unable to understand exam question Path dependent types

What does means by type-check. I don't see any problem with the code? Anyone knows please help Why don't you just try to compile the code? If you try to do so, you will notice, that you will not be able to compile lines 3, 4, 5 and 7. The question refers to whether or not the single lines of code w...
von nknauber
12. Jul 2018 15:32
Forum: Software Engineering - Design and Construction
Thema: Exam WS 15/16 - Question 2 - c)
Antworten: 3
Zugriffe: 191

Exam WS 15/16 - Question 2 - c)

Which feature makes it possible to implement a new alternative of the Decorator design pattern in Scala? Shortly describe this alternative by discussing the consequences. My first answer to this question was the following one: Traits with standard implementations for methods. A consequence would be...
von nknauber
12. Jul 2018 14:12
Forum: Software Engineering - Design and Construction
Thema: .
Antworten: 2
Zugriffe: 223

Re: .

.. can you please delete this?
von nknauber
12. Jul 2018 13:15
Forum: Software Engineering - Design and Construction
Thema: Signal[List[Int],rescala.parrp.ParRP] to List[Int] How?
Antworten: 7
Zugriffe: 315

Re: Signal[List[Int],rescala.parrp.ParRP] to List[Int] How?

I was also very confused about this but we just tried it our in the IDE and tested it. The following code works for exam WS 15/16 task 5 c) : val e1: Evt[Int] = Evt[Int]() val e2: Evt[Unit] = Evt[Unit]() val s1: Signal[Seq[Int]] = e1.last(10) val s2: Signal[Int] = Signal{s1().sum} // first idea: fol...
von nknauber
11. Jul 2018 11:44
Forum: Software Engineering - Design and Construction
Thema: Formal Definitions of S.O.L.I.D. principles
Antworten: 3
Zugriffe: 191

Formal Definitions of S.O.L.I.D. principles

Hi, in the exam from WS 15/16 there was one true/false question that we had trouble answering: One of the S.O.L.I.D principles is formally defined. We argued in both directions here. One argument would be, that for the Liskov Substitution Principle, there is actually a formal definition out there, s...
von nknauber
19. Jun 2018 15:12
Forum: Software Engineering - Design and Construction
Thema: Ex 07, short questions
Antworten: 9
Zugriffe: 862

Re: Ex 07, short questions

I have an additional question regarding this. In the assignment it is stated, that within TSimpleUniversity there should be a trait corresponding to Student with the following methods declared: sedc_ex_07.PNG Is it on purpose, that there is a second method courses that returns a Sequence typed to an...
von nknauber
12. Jun 2018 14:44
Forum: Software Engineering - Design and Construction
Thema: EX06 - Scenario2
Antworten: 4
Zugriffe: 236

Re: EX06 - Scenario2

+1 Could someone please clarify, what this scenario is about? :) EDIT: Also: the annotation ViolatingValueFactory only has a parameter named 'value' and not 'name'. Furthermore, if I specify a method that runs into the mentioned error by calling push, the package cannot be compiled anymore, as this ...
von nknauber
29. Mai 2018 15:05
Forum: Software Engineering - Design and Construction
Thema: Ex04 - DIP
Antworten: 3
Zugriffe: 181

Ex04 - DIP

Hi, we have one clarification question regarding Task 2 of Exercise 4. In the assignment, it is stated, that we have to identify those fields and method declarations/definitions which cause their defining class to violate the Dependency-Inversion Principle . Does that imply, that we have to annotate...
von nknauber
25. Apr 2018 16:52
Forum: Software Engineering - Design and Construction
Thema: EX00 - Logger
Antworten: 8
Zugriffe: 415

Re: EX00 - Logger

Hi, for this task it is fine if the logger is initialized with the Class of the Interface statically. So it would be fine to initialize the logger simply with the name of the interface as getting the classname of the class that implements the interface would be "too hard" for this task? Do I underst...

Zur erweiterten Suche