magistraleinformatica:mod:start:pretest
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| magistraleinformatica:mod:start:pretest [21/07/2015 alle 09:33 (11 anni fa)] – Roberto Bruni | magistraleinformatica:mod:start:pretest [01/03/2016 alle 23:11 (10 anni fa)] (versione attuale) – Roberto Bruni | ||
|---|---|---|---|
| Linea 1: | Linea 1: | ||
| ==== Preliminary test for the course on Models of Computation ==== | ==== Preliminary test for the course on Models of Computation ==== | ||
| - | There are no prerequisistes | + | There are no prerequisites |
| We encourage the students to use the following basic exercises to self-assess their level of knowledge for the above arguments. | We encourage the students to use the following basic exercises to self-assess their level of knowledge for the above arguments. | ||
| Linea 15: | Linea 15: | ||
| === Exercise 3 === | === Exercise 3 === | ||
| - | Let 2< | + | Let 7< |
| === Exercise 4 === | === Exercise 4 === | ||
| Linea 27: | Linea 27: | ||
| === Exercise 5 === | === Exercise 5 === | ||
| - | Let us consider the program | + | Let us consider the imperative code fragment |
| < | < | ||
| - | x:=x-1 ; | + | x := x-y; |
| - | y: | + | y := y-1 |
| }</ | }</ | ||
| + | where x and y are two integer variables. | ||
| For which initial values of x and y does the execution of the above program terminate? | For which initial values of x and y does the execution of the above program terminate? | ||
magistraleinformatica/mod/start/pretest.1437471212.txt.gz · Ultima modifica: 21/07/2015 alle 09:33 (11 anni fa) da Roberto Bruni
