mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 15:39:37 +02:00
Adapt to new bot structure
This commit is contained in:
parent
ff7e08ada9
commit
3f84e1d831
3414 changed files with 41525 additions and 709 deletions
18
legacy/Data/ingsw/0721_13/correct.txt
Normal file
18
legacy/Data/ingsw/0721_13/correct.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
<pre>
|
||||
function next
|
||||
input Integer x;
|
||||
output Integer y;
|
||||
algorithm
|
||||
y := 1 - x;
|
||||
end next;
|
||||
|
||||
class System
|
||||
Integer x;
|
||||
initial equation
|
||||
x = 0;
|
||||
equation
|
||||
when sample(0, 1) then
|
||||
x = next(pre(x));
|
||||
end when;
|
||||
end System;
|
||||
</pre>
|
4
legacy/Data/ingsw/0721_13/quest.txt
Normal file
4
legacy/Data/ingsw/0721_13/quest.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Si consideri l'automa seguente:
|
||||
0->1 e 1->0
|
||||
|
||||
Quale dei seguenti modelli Modelica fornisce un modello ragionevole per l'automa di cui sopra.
|
18
legacy/Data/ingsw/0721_13/wrong1.txt
Normal file
18
legacy/Data/ingsw/0721_13/wrong1.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
<pre>
|
||||
function next
|
||||
input Integer x;
|
||||
output Integer y;
|
||||
algorithm
|
||||
y := 1 - x;
|
||||
end next;
|
||||
|
||||
class System
|
||||
Integer x;
|
||||
initial equation
|
||||
x = 0;
|
||||
equation
|
||||
when sample(0, 1) then
|
||||
x = next(pre(x));
|
||||
end when;
|
||||
end System;
|
||||
</pre>
|
18
legacy/Data/ingsw/0721_13/wrong2.txt
Normal file
18
legacy/Data/ingsw/0721_13/wrong2.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
<pre>
|
||||
function next
|
||||
input Integer x;
|
||||
output Integer y;
|
||||
algorithm
|
||||
y := x;
|
||||
end next;
|
||||
|
||||
class System
|
||||
Integer x;
|
||||
initial equation
|
||||
x = 0;
|
||||
equation
|
||||
when sample(0, 1) then
|
||||
x = next(pre(x));
|
||||
end when;
|
||||
end System;
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue