mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 16:19:38 +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
1
legacy/Data/Questions/ingsw/0120_4/correct.txt
Normal file
1
legacy/Data/Questions/ingsw/0120_4/correct.txt
Normal file
|
@ -0,0 +1 @@
|
|||
La variabile x è nell'intervallo [0, 5].
|
16
legacy/Data/Questions/ingsw/0120_4/quest.txt
Normal file
16
legacy/Data/Questions/ingsw/0120_4/quest.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
Si consideri il monitor seguente che ritorna true appena i requisiti per il sistema monitorato sono violati.
|
||||
block Monitor
|
||||
input Real x;
|
||||
output Boolean y;
|
||||
Boolean w;
|
||||
initial equation
|
||||
y = false;
|
||||
equation
|
||||
w = ((x < 0) or (x > 5));
|
||||
algorithm
|
||||
when edge(w) then
|
||||
y := true;
|
||||
end when;
|
||||
end Monitor;
|
||||
</pre>
|
||||
Quale delle seguenti affermazioni meglio descrive il requisito monitorato.
|
1
legacy/Data/Questions/ingsw/0120_4/wrong1.txt
Normal file
1
legacy/Data/Questions/ingsw/0120_4/wrong1.txt
Normal file
|
@ -0,0 +1 @@
|
|||
La variabile x è fuori dall'intervallo [0, 5].
|
1
legacy/Data/Questions/ingsw/0120_4/wrong2.txt
Normal file
1
legacy/Data/Questions/ingsw/0120_4/wrong2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
La variable x è minore di 0.
|
Loading…
Add table
Add a link
Reference in a new issue