var questions = new Array();
var choices = new Array();
var answers = new Array();
var response = new Array();

questions[0] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>1) L'istruzione mkfs.msdos /dev/fd0 su Linux:</b></font>";
choices[0] = new Array();
choices[0][0] = "Non esiste";
choices[0][1] = "Cambia il file system del Hard Disk in msdos";
choices[0][2] = "Formatta un floppy disk";
choices[0][3] = "Apre una shell di comando</td></tr></table>";
answers[0] = choices[0][2];

questions[1] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>2) Il Codice: test=cod.substr(15,1); :</b></font>";
choices[1] = new Array();
choices[1][0] = "Stampa la variabile test";
choices[1][1] = "E' un codice PHP";
choices[1][2] = "Genera un numero causale compreso tra 15 e 1";
choices[1][3] = "Preleva il sedicesimo carattere di una stringa</td></tr></table>";
answers[1] = choices[1][3];

questions[2] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>3) La Sigla VPN indica:</b></font>";
choices[2] = new Array();
choices[2][0] = "Che ci troviamo di fronte ha una rete privata virtuale";
choices[2][1] = "Non ha alcun significato";
choices[2][2] = "Viene usata per indicare una Wireless Private Network";
choices[2][3] = "Indica una tipologina di protezione per reti VLAN</td></tr></table>";
answers[2] = choices[2][0];

questions[3] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>4) Un pacchetto MSI funziona solo su Windows Server ?</b></font>";
choices[3] = new Array();
choices[3][0] = "Vero";
choices[3][1] = "Falso</td></tr></table>";
answers[3] = choices[3][1];

questions[4] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>5) Ghost non &egrave; un Software con licenza GNU-GPL ?</b></font>";
choices[4] = new Array();
choices[4][0] = "Vero";
choices[4][1] = "Falso</td></tr></table>";
answers[4] = choices[4][0];

questions[5] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>6) Quale &egrave; l'output di questa istruzione: sudo aptitude -y shutdown -h now ?</b></font>";
choices[5] = new Array();
choices[5][0] = "Riavvia il Sistema Linux";
choices[5][1] = "Installa gli aggiornamenti e se necessario riavvia il Pc";
choices[5][2] = "Questo Aptitude non ha i Poteri della Super Mucca";
choices[5][3] = "Spegne il Pc</td></tr></table>";
answers[5] = choices[5][2];

questions[6] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>7) Come si inserisce una tilde(~) su Linux ?</b></font>";
choices[6] = new Array();
choices[6][0] = "Tremite il codice ASCII 128";
choices[6][1] = "Utilizzando la combinazione AltGr+i";
choices[6][2] = "Premendo insieme Ctrl+Alt+BackSpace";
choices[6][3] = "Digitando AltGr+e</td></tr></table>";
answers[6] = choices[6][1];

questions[7] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>8) Che cosa significa WWW? </b></font>";
choices[7] = new Array();
choices[7][0] = "Web Wide World";
choices[7][1] = "Wilde Wilde West";
choices[7][2] = "World Wilde Web";
choices[7][3] = "World Wide Web</td></tr></table>";
answers[7] = choices[7][3];

questions[8] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>9) La funzione PHP: $val=match.random(0, 100); :</b></font>";
choices[8] = new Array();
choices[8][0] = "Salva in $val la somma dei numeri contenuti nelle parentesi";
choices[8][1] = "Genera un numero causale compreso tra 0 e 100";
choices[8][2] = "La funzione ha una sintassi errata";
choices[8][3] = "E' una funzione di JavaScript</td></tr></table>";
answers[8] = choices[8][2];

questions[9] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>10) Quale tra queste successioni &egrave; messa in ordine dal pi&ugrave; piccolo al pi&ugrave; grande?</b></font>";
choices[9] = new Array();
choices[9][0] = "Kbyte,Mbyte,Gbyte,Tbyte";
choices[9][1] = "Tbyte,Kbyte,Gbyte,Mbyte";
choices[9][2] = "Mbyte,Gbyte,Kbyte,Tbyte";
choices[9][3] = "Mbyte,Kbyte,Gbyte,Tbyte</td></tr></table>";
answers[9] = choices[9][0];

questions[10] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>11) Windows Vista necessita di:</b></font>";
choices[10] = new Array();
choices[10][0] = "Una partizione in fat32";
choices[10][1] = "Due partizioni di swap nel caso la ram si saturi";
choices[10][2] = "Una partizione ext3 e una di swap";
choices[10][3] = "Una Partizione ntfs</td></tr></table>";
answers[10] = choices[10][3];

questions[11] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>12) Esiste il comando Route Print sulla Shell di Windows ?</b></font>";
choices[11] = new Array();
choices[11][0] = "Vero";
choices[11][1] = "Falso</td></tr></table>";
answers[11] = choices[11][0];

questions[12] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>13) In xhtml &egrave; corretto scrivere: href='#nogo' in un tag a? </b></font>";
choices[12] = new Array();
choices[12][0] = "No, non esiste un valore #nogo per l'attributo href";
choices[12][1] = "Si, e impedisce il refresh della pagina";
choices[12][2] = "No, la sistassi corretta &egrave; href='#'";
choices[12][3] = "Si, ma non &egrave; validabile con il w3c xhtml1.1 strict</td></tr></table>";
answers[12] = choices[12][1];

questions[13] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>14) Per collegare due PC tra di loro: </b></font>";
choices[13] = new Array();
choices[13][0] = "Bisogna configurare IP, Subnet Mask, Gateway e usare un cavo di rete Flat";
choices[13][1] = "E' sufficiente usare un cavo Flat, il resto &egrave; in automatico";
choices[13][2] = "Bisogna configurare IP, Subnet Mask, Gateway e usare un cavo di rete Crossover";
choices[13][3] = "Non si pu&ograve; fare, occorre munirsi comunque di un Router che faccia da intermediario</td></tr></table>";
answers[13] = choices[13][2];

questions[14] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>15) Le sigle GPL ed EULA non indicano una tipologia di licenza ?</b></font>";
choices[14] = new Array();
choices[14][0] = "Vero";
choices[14][1] = "Falso</td></tr></table>";
answers[14] = choices[14][1];

questions[15] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>16) Perch&egrave; il tasto STAMP della tastiera pur non stampando si chiama cosi' ?</b></font>";
choices[15] = new Array();
choices[15][0] = "Stampa solo nelle tastiere americane";
choices[15][1] = "Fotografa le schermate, si tratta quindi di una stampa virtuale";
choices[15][2] = "Funziona solo dopo essere stato configurato";
choices[15][3] = "Stampava in DOS</td></tr></table>";
answers[15] = choices[15][3];

questions[16] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>17) Quali tra questi sono sistemi operativi ?</b></font>";
choices[16] = new Array();
choices[16][0] = "Ubuntu, Gnome e MacOS";
choices[16][1] = "MS-DOS, Konqueror e PC-LinuxOS";
choices[16][2] = "WindowsCE, Kubuntu e LisaOS";
choices[16][3] = "Ubuntu, WindowsXP e LumixOS</td></tr></table>";
answers[16] = choices[16][2];

questions[17] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>18) Quali di questi componenti sono presenti sulla schedamadre ?</b></font>";
choices[17] = new Array();
choices[17][0] = "Jumpers, CPUSocket e SlotAGP";
choices[17][1] = "Processore, SlotPCI e ConnettoreBNC a T";
choices[17][2] = "Alimentatore, Scheda Audio e Modem";
choices[17][3] = "FloppyDisk, Scheda di Rete e RAM</td></tr></table>";
answers[17] = choices[17][0];

questions[18] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>19) Il Mark I era considerato un Home Computer ?</b></font>";
choices[18] = new Array();
choices[18][0] = "Vero";
choices[18][1] = "Falso</td></tr></table>";
answers[18] = choices[18][1];

questions[19] = "<table width='100%'><tr><td bgcolor='#84af57' width='5%'>&nbsp;</td><td bgcolor='#b3ee75'><font size='2'><b>20) I primi Home Computer:</b></font>";
choices[19] = new Array();
choices[19][0] = "Erano basati su processori a 16 Bit";
choices[19][1] = "Il Primo Home Coputer fu l'Altair 8800";
choices[19][2] = "Venivano usati solo a scopi militari";
choices[19][3] = "Erano basati su processori a 8 Bit</td></tr></table>";
answers[19] = choices[19][3];

// response for getting 100%
response[0] = "Livello Conoscienza Informatica: Ottimo";
// response for getting 90% or more
response[1] = "Livello Conoscienza Informatica: Buono";
// response for getting 70% or more
response[2] = "Livello Conoscienza Informatica: Discreto";
// response for getting over 50%
response[3] = "Livello Conoscienza Informatica: Sufficiente";
// response for getting 40% or more
response[4] = "Livello Conoscienza Informatica: Normale";
// response for getting 20% or more
response[5] = "Livello Conoscienza Informatica: Scarso";
// response for getting 10% or more
response[6] = "Livello Conoscienza Informatica: Basso";
// response for getting 9% or less
response[7] = "Nessuna Conoscienza dell'informatica !!!";
