mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-03-14 18:06:15 +01:00
13 lines
254 B
Text
13 lines
254 B
Text
|
Si consideri il seguente modello Modelica.
|
||
|
<html>
|
||
|
class System
|
||
|
Boolean x;
|
||
|
initial equation
|
||
|
x = false;
|
||
|
equation
|
||
|
when sample(0, 2) then
|
||
|
x = not (pre(x));
|
||
|
end when;
|
||
|
end System;
|
||
|
</html>
|
||
|
Quale delle seguenti affermazioni vale per la variabile booleana x ?
|