ProgrammingBasics icon indicating copy to clipboard operation
ProgrammingBasics copied to clipboard

How to think like a programmer.

Results 12 ProgrammingBasics issues
Sort by recently updated
recently updated
newest added

Pure MPS migrations have been done and everything works until 2022.3, except the RCP build (will fix that in another PR)

Solution [X]show template sheet NameAge Please have a look in the inspector of cell $B1 the constraint shows constraint: type: int where it >= 0 && it

fun vacationDays Hier haben wir den perfekten Arbeitnehmer: jünger als 18 und schon 30 Jahre Berufserfahrung ;-) In der Tabelle stimmt der Wert links unten wohl nicht. In der EU...

(as shWOn in the thisIs15 example) (as shown in the thisIs15 example) anonyNously, anonymously

. The plusMinus block takes two numbers, and returs two results: . The plusMinus block takes two numbers, and returNs two results:

We can see the values which a particular expression (here: the call to add) evaluates to. If our expecation i We can see the values which (?) a particular expression...

imho wouldn't that be easier to understand? ``` add(3,3) => add(3,2) => add(3,1) => add(3,0) { b == 0 so return a (=3) { return 3.plus1()} -> 4 { return...

bmi: number[0|50]{1} decision table: bmi < 18 | bmi>=18 && bmi < 25 | bmi >= 25 && bmi < 30 | bmi > 30 Should the solver find the...

chapter07_MathNotation: im frame midnight3_tests wird 3 mal midnight aufgerufen. Der dritte Aufruf geht aber (wie der erste) auf den frame:midnight1. Auch wenn's MPS anhand des AST kann die richtige Funktion...

Excercise05_01 (Show solution) ``` ext fun endDateGreaterThanStartDate(c: Course) : boolean { if c.endDate.year - c.startDate.year > 0 then true else if c.endDate.year - c.startDate.year < 0 then false else if...