mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 21:59:36 +02:00
Add 06/21 by Matteo
This commit is contained in:
parent
970467fe89
commit
1be2085d94
169 changed files with 962 additions and 0 deletions
1
Ingegneria del Software/0621_19/correct.txt
Normal file
1
Ingegneria del Software/0621_19/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Ad ogni istante di tempo della forma 1 + 4*k (k = 0, 1, 2, 3, ...), x vale "true".
|
13
Ingegneria del Software/0621_19/quest.txt
Normal file
13
Ingegneria del Software/0621_19/quest.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
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 ?
|
1
Ingegneria del Software/0621_19/wrong0.txt
Normal file
1
Ingegneria del Software/0621_19/wrong0.txt
Normal file
|
@ -0,0 +1 @@
|
|||
At time instants of form 1 + 4*k (with k = 0, 1, 2, 3, ...) x takes value "false".
|
1
Ingegneria del Software/0621_19/wrong1.txt
Normal file
1
Ingegneria del Software/0621_19/wrong1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Ad ogni istante di tempo della forma 3 + 4*k (k = 0, 1, 2, 3, ...), x vale "true".
|
Loading…
Add table
Add a link
Reference in a new issue