so-un-bot/Ingegneria del Software/0721_17/quest.txt

13 lines
252 B
Text
Raw Normal View History

2022-11-15 14:27:16 +01:00
Si consideri il seguente modello Modelica.
2022-11-16 17:56:16 +01:00
<pre>
2022-11-15 14:27:16 +01:00
class System
Boolean x;
initial equation
x = false;
equation
when sample(0, 2) then
x = not (pre(x));
end when;
end System;
2022-11-16 17:56:16 +01:00
</pre>
2022-11-15 14:27:16 +01:00
Quale delle seguenti affermazioni vale per la variabile booleana x ?