← Back
ExamFull examExam paper onlyItalian

02 02 16

Study material for Fondamenti di Informatica, shared by the Studwiz community and reviewed by moderators.

Fondamenti di InformaticaFull exam

Document information

What's included in this study material

Study material for Fondamenti di Informatica, shared by the Studwiz community and reviewed by moderators.

Import quality: text was extracted directly from the original document.

Extracted content from the document

Representative passages recognised in different parts of the material. The full extracted text remains available to search, while this compact preview makes the page easier to read.

Page 1

RESTITUIRE COMPILATO ANCHE NEL CASO IN CUI CI SI RITIRA INIZIARE LA SOLUZIONE DI OGNI ESERCIZIO SU UNA PAGINA NUOVA Fondamenti di Informatica - A.A. 2015-2016 Ingegneria Informatica e Ingegneria delle Telecomunicazioni Scuola di Ingegneria Industriale e dell’Informazione Prof.ssa Cristiana Bolchini Appello del 02/02/2016 Cognome Nome Matricola Voto: . . . / 30 Quesito: 1 2 3 4 5 6 Tot. Max: 4 5 5 6 4 6 30 Punti: Istruzioni: • la prova à superata se si consegue una valutazione non inferiore a 18/30; • non è possibile consultare libri, appunti, la calcolatrice o qualsiasi dispositivo elettronico, né comunicare; • si può scrivere con qualsiasi colore, anche a matita, ad eccezione delrosso. • tempo a disposizione: 1h 45m Stile del codice C: • non è necessario inserire direttive #include; • è consentito l’utilizzo di funzioni di libreria. Quesito 1 (4 punti) Punteggio ottenuto: . . . /4 Scrivere un sottoprogramma get_id che ricevuta in ingresso una stringa link ed una stringa header, trova e restituisce al chiamante l’iden- tificativo numerico intero id presente nella stringa link, dopo la parte iniziale individuata dall’header. Esempio: Ingresso: link: http://131.175.56.243/measure/60min/sensor/variable/400/2016/01/29 header: http://131.175.56.243/measure/60min/sensor/variable/ Uscita: 400 Quesito 2 (5 punti) Punteggio ottenuto: . . . /5 Scrivere un sottoprogramma che ricevute in ingresso due stringhe restituisce 1 se sono una l’anagramma dell’altra, 0 altrimenti. Il sottoprogramma non deve modificare le stringhe ricevute in ingresso. Quesito 3 (5 punti) Punteggio ottenuto: . . . /5 Scrivere un sottoprogramma che ricevuta in ingresso una lista per la gestione di informazioni strutturate (il cui tipo è riportato di seguito)visualizza per ogni diverso valore del campo…

Preview

First page of the document.

First page: 02 02 16