# source executes the commands that are stored in the indicated external file. We can
# use source to load commands, exercises, … from files in my computer or on Internet.
# For an example, if I run the line:
source("http://macosa.dima.unige.it/es.R")
# I load a file of exercises (in italian language)
# If I want to see the file I can use
#    http://macosa.dima.unige.it/es.R
# in the browser
# I can build simpler files containing only a series of questions.


> source("http://macosa.dima.unige.it/es.R")
                  Banca di ESERCIZI. 
# Per scegliere un quesito batti E(11) o E(32) o ... 
# PRIMA batti NN=... con un numero naturale al posto di ... : 
  domande o risposte del quesito vengono modificate 'a caso' 
# Per controllare la risposta batti   risp 
# Dopo che hai risposto puoi cancellare l'eventuale finestra 
  con le immagini che il quesito ha aperto 
# Per un esercizio analogo cambia NN=... 
##     Batti    esercizi    per un elenco dei quesiti     ## 
> esercizi
 [1] "11 fraz./%"       "12 areog./%"      "13 graf.fun"      "131 graf.fun"    
 [5] "14 %"             "21 graf/istog"    "22 ombre"         "23 dir./pend."   
 [9] "31 f.lineari"     "32 + fraz."       "33 15 -> XV"      "331 XV -> 15"    
[13] "41 parabole"      "42 il ponte"      "43 calc.fraz"     "44 risol.eq."    
[17] "51 box-plot"      "52 istog"         "53 perim.triang"  "54 o.d.g."       
[21] "55 disequaz"      "56 trasl.graf."   "57 media/na"      "61 eq.pol.2°g"   
[25] "62 vettori"       "71 p.vista"       "72 dir.prop.~"    "73 c.massa"
[29] "74 min max fl" 

To choose a question, type  E(11) or E(32) or ...
FIRST type  NN = ... with an integer instead of ...:  questions or answers to the question are changed 'randomly'
To check the answer, type  risp
After you answer, you can delete the window with the images that the question has opened
For a similar exercise change  NN = ...
Type  esercizi  for a list of questions
 


For tests we can use (in a similar way, without answers):

> source("http://macosa.dima.unige.it/e.R")