Fondamenti di Informatica Esercitazione 8/5/2014

Dimensione: px
Iniziare la visualizzazioe della pagina:

Download "Fondamenti di Informatica Esercitazione 8/5/2014"

Transcript

1 Fondamenti di Informatica Esercitazione 8/5/2014 Ing. Luca Silvestri

2 Covered Topics n Cell Arrays Cell arrays are vectors of containers; their elements can be manipulated either as vectors of containers, or individually by inserting or extracting the contents of the container using braces in place of parentheses. n MATLAB Structures The elements of a structure are accessed by name rather than by indexing, using the dot operator to specify the field name to be used. n Structure Arrays Structures can be collected into structure arrays whose elements are structures all with the same field names. These elements can then be indexed and manipulated in the same manner as the cells in a cell array 2

3 Ex 7.1 Write a function called cellparse n Input: a cell array cellarray n Output: nstr: number of strings nvec: number of vectors nbool: number of boolean values cstring: a cell array of all the strings veclength: average length of all vectors alltrue: true is all the boolean values are true 3

4 Ex 7.1 cont. n Example: n B = { [1 2 3], true, 'hi', 42, false, true, 'test', true, [33 22]} nstr: 2 nvec: 3 nbool: 4 cstring: hi test veclength: 2 alltrue: false 4

5 Ex 7.4 n Write a function called createdate that will take 3 numeric parameters (day, month, year) and return a structure with the following fields Day: a number Month: a 3 character string (Jan, Feb, ) Year: a number n Write a function called printdate that displays the date in the form: n May 8,

6 Ex 7.5 n Consider a student structure with the following fields: Name: student name Average: student average score ( 0<=Average<=30) n Write a function highrate that iterates through an array of student structures and returns an array with the name of the students that have an average score greater or equal than

7 Ex 7.6 n Consider a structure to represent complex numbers and write the following functions: n cmplx = makecomplex (real, imag) n res = complexadd (cmpxa, compxb) n res = complexmult (cmpxa, cmpxb) n Reminder 7

8 Exercise: Assembling a Structure n Given this structure, determine the order of assembly starting from A. 8

9 Solution 9

10 Solution (cont) 10

11 Solution (support functions) 11

12 Solution (support functions) 12

13 Esercizio: Scramble n Supponiamo di partecipare ad una partita di Scarabeo. Dato un insieme di parole sul tabellone di gioco e considerata una possibile parola P essa può essere inserita nel tabellone solo se sono verificate le seguenti condizioni: P deve formare un intersezione con una delle parole sul tabellone di gioco. le 2 parole che si intersecano condivideranno un solo carattere il carattere condiviso può essere uno qualunque delle 2 parole messe a confronto n si suppone inoltre che l inserimento non dia luogo ad ulteriori sovrapposizioni di caratteri con altre parole n Si chiede di progettare una funzione che determini se è possibile inserire una parola p in un tabellone di gioco. 13

14 Soluzione n Input tabellone di gioco T vettore di stringhe parola da inserire P n output stringa true/false Bisogna verificare se P abbia un carattere in comune con gli elementi di T. 14

15 Vettore di stringhe >> p1='elicottero' p1 = elicottero >> p2='cometa' p2 = cometa >> p3='pesce' p3 = pesce >> T=[p1;p2;p3]??? Error using ==> vertcat CAT arguments dimensions are not consistent. 15

16 Vettore di stringhe >> T=[]; >> T(1,1:length(p1))=p1 T = >> T(2,1:length(p2))=p2 T = >> T(3,1:length(p3))=p3 T = >> char(t) ans = elicottero cometa pesce >> 16

17 function [r] = scrambleinsert( T, p ) % T is the game table % p in the word to be inserted % r is the output: true if p can be inserted, false otherwise n=size(t,1); r=false; for i=1:n r=intersezione(t(i,1:end),p); if r break; end end function r=intersezione( s1, s2 ) %Return true if s1 and s2 have at least a character in common r=false; i=1; while (i<=length( s1 )) && (r==false) for j=1:length( s2 ) if s1(i)==s2(j) r=true; break; end end i=i+1; end 17

18 Esercizio: Scramble 2 n Considerando l esercizio precedente si progetti una funzione che, data la lista delle parole sul tabellone dello Scarabeo, una nuova parola P, e la posizione della lettera mancante, determini se P può essere inserita e in quale parola 18

19 Soluzione function [w r] = scrambleinsertinposition( T, p, idx ) % T is the game table % p in the word to be inserted and idx the position for % insertion (in term of letters) % r is the output: true if p can be inserted, false otherwise % w is the word to be crossed n=size(t,1); r=false; for i=1:n x=find(t(i,1:end)==p(idx)); if ~isempty(x) w=i; r=true; break; end end 19

20 soluzione %Script to play scramble p1='elicottero'; p2='cometa'; p3='pesce'; clear T; T(1,1:length(p1))=p1; T(2,1:length(p2))=p2; T(3,1:length(p3))=p3; % Caso 1 w=input('inserisci una parola '); r=scrambleinsert(t,w) if r fprintf('la parola %s puo essere inserita nel tabellone \n',w); else fprintf('la parola %s non puo'' essere inserita nel tabellone \n',w); end... 20

21 soluzione... %Caso 2 w=input('inserisci una parola '); idx=input('inserisci la posizione della lettera mancante'); [w1 r]=scrambleinsertinposition(t,w,idx); if r disp(sprintf('la parola %s puo'' essere inserita nel tabellone e \n si interseca con la parola %s \n', w, T (w1,1:end) )); else disp(sprintf('la parola %s non puo'' essere inserita nel tabellone \n', w )); end... 21

Fondamenti di Informatica

Fondamenti di Informatica Fondamenti di Informatica Strings Prof. Emiliano Casalicchio emiliano.casalicchio@uniroma2.it Objectives Chapter six discusses the nature, implementation, and behavior of character strings in MATLAB: The

Dettagli

Fondamenti di Informatica. Exercises: Cell Array and Struct Array

Fondamenti di Informatica. Exercises: Cell Array and Struct Array Fondamenti di Informatica Exercises: Cell Array and Struct Array 2013/05/20 Prof. Emiliano Casalicchio emiliano.casalicchio@uniroma2.it Esercizio Aga Telefonica n Avete salvato la vostra aga telefonica

Dettagli

Stringhe. Prof. Lorenzo Porcelli

Stringhe. Prof. Lorenzo Porcelli Stringhe Prof. Lorenzo Porcelli definizione Una stringa è un vettore di caratteri terminato dal carattere nullo \0. Il carattere nullo finale permette di determinare la lunghezza della stringa. char vet[32];

Dettagli

Informatica B

Informatica B Informatica B 2017-2018 Esercitazione IV Funzioni Alessandro A. Nacci alessandro.nacci@polimi.it - www.alessandronacci.it 1 Esercizio 1 Nel file temperature.mat sono contenute le misurazioni di temperatura

Dettagli

Informatica B

Informatica B Informatica B 2016-2016 Esercitazione II Cicli & Operazioni su vettori, matrici Alessandro A. Nacci alessandro.nacci@polimi.it - www.alessandronacci.it 1 Esercizio 1 Nel file temperature.mat sono contenute

Dettagli

Capitolo 6 - Array. Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved.

Capitolo 6 - Array. Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Capitolo 6 - Array Array Array Gruppo di locazioni di memoria consecutive Stesso nome e tipo Per riferirsi a un elemento, specificare Nome dell array Posizione Formato: arrayname[ position number ] Primo

Dettagli

Single-rate three-color marker (srtcm)

Single-rate three-color marker (srtcm) 3. Markers Pag. 1 The Single Rate Three Color Marker (srtcm) can be used as component in a Diffserv traffic conditioner The srtcm meters a traffic stream and marks its packets according to three traffic

Dettagli

College Algebra. Logarithms: Denitions and Domains. Dr. Nguyen November 9, Department of Mathematics UK

College Algebra. Logarithms: Denitions and Domains. Dr. Nguyen November 9, Department of Mathematics UK College Algebra Logarithms: Denitions and Domains Dr. Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK November 9, 2018 Agenda Logarithms and exponents Domains of logarithm functions Operations

Dettagli

Corso di Algoritmi e Strutture Dati con Laboratorio. The JCF(continua): L interfaccia Map

Corso di Algoritmi e Strutture Dati con Laboratorio. The JCF(continua): L interfaccia Map Corso di Algoritmi e Strutture Dati con Laboratorio The JCF(continua): L interfaccia Map Unamappaè unaraccolta (oggetto che contiene elementi: es: array, oggetto di tipo Collection) in cui ogni elemento

Dettagli

A.A. 2006/2007 Laurea di Ingegneria Informatica. Fondamenti di C++ Horstmann Capitolo 3: Oggetti Revisione Prof. M. Angelaccio

A.A. 2006/2007 Laurea di Ingegneria Informatica. Fondamenti di C++ Horstmann Capitolo 3: Oggetti Revisione Prof. M. Angelaccio A.A. 2006/2007 Laurea di Ingegneria Informatica Fondamenti di C++ Horstmann Capitolo 3: Oggetti Revisione Prof. M. Angelaccio Obbiettivi Acquisire familiarità con la nozione di oggetto Apprendere le proprietà

Dettagli

Functional programming in F#: Data Structures

Functional programming in F#: Data Structures Programmazione Avanzata Corso di Laurea in Informatica (L31) Scuola di Scienze e Tecnologie 31 / 51 Summary of previous lectures In the previous lecture we have... : introduced basic principles of programming

Dettagli

Quadrature. Emma Perracchione. Corso di Calcolo Numerico per Ingegneria Meccanica - Matr. PARI (Univ. PD)

Quadrature. Emma Perracchione. Corso di Calcolo Numerico per Ingegneria Meccanica - Matr. PARI (Univ. PD) Emma Perracchione Corso di Calcolo Numerico per Ingegneria Meccanica - Matr. PARI (Univ. PD) Gli esercizi sono presi dal libro: S. De Marchi, D. Poggiali, Exercices of numerical calculus with solutions

Dettagli

Fondamenti di Informatica

Fondamenti di Informatica Fondamenti di Informatica lesson 16 Sort 2012/05/17 Prof. Emiliano Casalicchio emiliano.casalicchio@uniroma2.it Esami Appelli ufficiali (Prova Scritta - Prova Pratica) 11-13 Luglio (ore 9:00) 25-27 Luglio

Dettagli

Fondamenti di Informatica

Fondamenti di Informatica Fondamenti di Informatica Sorting Algorithms Prof. Emiliano Casalicchio emiliano.casalicchio@uniroma2.it Sorting algorithms n selection sort n Insertion sort incremental algorithms progressively ext a

Dettagli

Question 1: introduction to computer programming

Question 1: introduction to computer programming Question 1: introduction to computer programming Question 1: introduction to computer programming What is a compiler? (4 points). Cos è un compilatore? (4 punti). c 2006 Marco Bernardo 1/14 Question 1:

Dettagli

Constant Propagation. A More Complex Semilattice A Nondistributive Framework

Constant Propagation. A More Complex Semilattice A Nondistributive Framework Constant Propagation A More Complex Semilattice A Nondistributive Framework 1 The Point Instead of doing constant folding by RD s, we can maintain information about what constant, if any, a variable has

Dettagli

Informatica I Facoltà di Ingegneria

Informatica I Facoltà di Ingegneria Informatica I Facoltà di Ingegneria Prova scritta del 13/02/2014 Si chiede di realizzare un programma per la gestione del palinsesto settimanale di una emittente radiofonica. I dati del palinsesto settimanale

Dettagli

Definire una sequenza di istruzioni che specificano come effettuare una elaborazione

Definire una sequenza di istruzioni che specificano come effettuare una elaborazione Programmare Definire una sequenza di istruzioni che specificano come effettuare una elaborazione Le istruzioni devono essere date in un linguaggio comprensibile dal calcolatore. In generele questi linguaggi

Dettagli

A.S. 2011/2012. Circuito semaforico da incrocio. Corso di Elettronica. Dipartimento di Elettrotecnica

A.S. 2011/2012. Circuito semaforico da incrocio. Corso di Elettronica. Dipartimento di Elettrotecnica A.S. 2011/2012 Circuito semaforico da incrocio Corso di Elettronica Dipartimento di Elettrotecnica Alunno: Bari Aldo 3E 1 Relazione Elettronica Realizzazione di un impianto semaforico da incrocio 2 Relazione

Dettagli

How to register online for exams (Appelli) Version updated on 23/10/2017

How to register online for exams (Appelli) Version updated on 23/10/2017 How to register online for exams (Appelli) Version updated on 23/10/2017 The academic programs and the career plan Incoming students can take exams related to the courses offered by the Department where

Dettagli

WEB OF SCIENCE. COVERAGE: multidisciplinary TIME RANGE: DOCUMENT TYPES: articles, proceedings papers, books

WEB OF SCIENCE. COVERAGE: multidisciplinary TIME RANGE: DOCUMENT TYPES: articles, proceedings papers, books WEB OF SCIENCE COVERAGE: multidisciplinary TIME RANGE: 1985- DOCUMENT TYPES: articles, proceedings papers, books WEB OF SCIENCE: SEARCH you can add one or more search field you can limit results to a specific

Dettagli

Introduzione a Matlab

Introduzione a Matlab Introduzione a Matlab Ruggero Donida Labati Dipartimento di Tecnologie dell Informazione via Bramante 65, 26013 Crema (CR), Italy ruggero.donida@unimi.it Perché? MATLAB is a high-level technical computing

Dettagli

Finite Model Theory / Descriptive Complexity: bin

Finite Model Theory / Descriptive Complexity: bin , CMPSCI 601: Recall From Last Time Lecture 19 Finite Model Theory / Descriptive Compleity: Th: FO L DSPACE Fagin s Th: NP SO. bin is quantifier-free.!#"$&% ('*), 1 Space 0 1 ) % Time $ "$ $ $ "$ $.....

Dettagli

Conoscere l uso delle collezioni in Java. Conoscere il concetto di Generics (programmazione

Conoscere l uso delle collezioni in Java. Conoscere il concetto di Generics (programmazione 1 Conoscere l uso delle collezioni in Java Comprendere le principali caratteristiche nelle varie classi di Collection disponibili Saper individuare quali classi di Collection usare in casi specifici Conoscere

Dettagli

UNIVERSITÀ DEGLI STUDI DI TORINO

UNIVERSITÀ DEGLI STUDI DI TORINO How to register online for exams (Appelli) Version updated on 18/11/2016 The academic programs and the career plan Incoming students can take exams related to the courses offered by the Department where

Dettagli

Maps. a.k.a, associative array, map, or dictionary

Maps. a.k.a, associative array, map, or dictionary Maps a.k.a, associative array, map, or dictionary Definition } In computer science, an associative array, map, or dictionary is an abstract data type composed of (key, value) pairs, such that each key

Dettagli

UD4 - MATLAB. M-file. Efficienza degli algoritmi. Formati d uscita

UD4 - MATLAB. M-file. Efficienza degli algoritmi. Formati d uscita UD4 - MATLAB M-file. Efficienza degli algoritmi. Formati d uscita M-files In MatLab è possibile eseguire istruzioni contenute in file esterni; Tali file sono chiamati M-file perché devono avere estensione.m

Dettagli

NATIONAL SPORT SCHOOL

NATIONAL SPORT SCHOOL NATIONAL SPORT SCHOOL Mark HALF-YEARLY EXAMINATION 2016 Level 4-6 FORM 1 ITALIAN TIME: 30 minutes LISTENING COMPREHENSION TEST (20 punti) Teacher s Paper Please first read the instructions carefully by

Dettagli

- 3 - >> >> 5 + 7 ans ans = 12 >> 5 / 7 ans = 0.7143 >> 5 + 7 ans = 12 >> 5 / 7 ans = 0.7143 >> 5 * 7 ans = 35 >> 'a' + 2 ans = 99 >> 5 ^ 7 ans = 78125 - 20 - nomevariabile = espressione

Dettagli

Fondamenti di Informatica

Fondamenti di Informatica Fondamenti di Informatica lesson 25 Exercises 2013/06/23 Prof. Emiliano Casalicchio emiliano.casalicchio@uniroma2.it Esami n Appelli (Prova Scritta - Prova Pratica) 1 Luglio (ore 9:00) 3 Luglio (ore 14)

Dettagli

fprintf('avete speso %d (media %f)', somma, media);

fprintf('avete speso %d (media %f)', somma, media); n = input('quanti siete?'); somma = 0; cnt = 1; massimo = 0; while(cnt

Dettagli

Qui u ck c k PE P R E L

Qui u ck c k PE P R E L Quick PERL Why PERL??? Perl stands for practical extraction and report language Similar to shell script but lot easier and more powerful Easy availability All details available on web Basic Concepts Perl

Dettagli

Testi del Syllabus. Docente CAGNONI STEFANO Matricola:

Testi del Syllabus. Docente CAGNONI STEFANO Matricola: Testi del Syllabus Docente CAGNONI STEFANO Matricola: 005079 Anno offerta: 2013/2014 Insegnamento: 1005643 - BASI DI DATI E WEB Corso di studio: 3050 - INGEGNERIA INFORMATICA, ELETTRONICA E DELLE TELECOMUNICAZIONI

Dettagli

MLTAQ Sunshine Coast Branch SPEECH CONTEST 2017 Year 4 Italian Speech. Il mio numero di telefono è. (single digits) (Non) Ho fratelli e sorelle.

MLTAQ Sunshine Coast Branch SPEECH CONTEST 2017 Year 4 Italian Speech. Il mio numero di telefono è. (single digits) (Non) Ho fratelli e sorelle. Year 4 Italian Speech Buongiorno Mi chiamo. Sto. Ho anni. Abito a. Il mio numero di telefono è. (single digits) (Non) Ho fratelli e sorelle. Frequento la scuola elementare di. Faccio la quarta classe.

Dettagli

Question 1: algorithms, data structures, problem classes, and algorithmic techniques

Question 1: algorithms, data structures, problem classes, and algorithmic techniques Question 1: alg. s, data struct. s, problem classes, and alg. techniques Question 1: algorithms, data structures, problem classes, and algorithmic techniques What is a dynamic data structure? (4 points).

Dettagli

Capitolo 3 Sviluppo di Programmi Strutturati

Capitolo 3 Sviluppo di Programmi Strutturati Capitolo 3 Sviluppo di Programmi Strutturati Introduzione Strutture di controllo If Selection Statement If Else Selection Statement While Repetition Statement Ripetizione Counter-Controlled Uso di una

Dettagli

IM-IU v0.1. alternata e continua. pag. 1 / 5

IM-IU v0.1. alternata e continua. pag. 1 / 5 MANUALE OPERATIVO IM-IU v0.1 INSTRUCTION MANUAL SERIE TTC-V-485 Trasformatore di corrente alternata e continua PROTOCOLLO DI COMUNICAZIONE MODBUS TTC-V-485 SERIES AC/DC current transformer MODBUS COMMUNICATION

Dettagli

Ricerca e ordinamento su array di oggetti. Corso di Programmazione 2 Esercitazione 5

Ricerca e ordinamento su array di oggetti. Corso di Programmazione 2 Esercitazione 5 Ricerca e ordinamento su array di oggetti Corso di Programmazione 2 Esercitazione 5 Sommario Ricercare in array di oggetti Interfaccia comparable Ordinare array di oggetti Problema Come ordinare, ricercare

Dettagli

Database support Prerequisites Architecture Driver features Setup Stored procedures Where to use. Contents

Database support Prerequisites Architecture Driver features Setup Stored procedures Where to use. Contents VEGA ODBC DRIVER Database support Prerequisites Architecture Driver features Setup Stored procedures Where to use Contents Database support CA-IDMS/SQL including table procedures CA-IDMS/DML via stored

Dettagli

AVVISO n Luglio 2003 Idem

AVVISO n Luglio 2003 Idem AVVISO n.774 29 Luglio 2003 Idem Mittente del comunicato : Borsa Italiana Societa' oggetto dell'avviso : OLIVETTI Oggetto : IDEM: INTERVENTION ON STOCK OPTION CONTRACTS ON OLIVETTI SHARES FOLLOWING THE

Dettagli

Richiami Java e Arrays

Richiami Java e Arrays Richiami Java e Arrays concetti base G.T. 1 casting G.T. 1.3.3 e 2.5 uso array G.T. 3.1 lista semplice G.T. 3.2 1 Concetti base Oggetto istanza (di una classe) classe (tipo di un oggetto) variabili di

Dettagli

Puntatori, array, incrementi Array come parametri Array di puntatori. Programmazione 1. Lezione 12. Vincenzo Marra.

Puntatori, array, incrementi Array come parametri Array di puntatori. Programmazione 1. Lezione 12. Vincenzo Marra. Programmazione 1 Lezione 12 Vincenzo Marra vincenzo.marra@unimi.it Dipartimento di Matematica Federigo Enriques Università degli Studi di Milano 28 maggio 2014 Puntatori ed array Nel linguaggio C esiste

Dettagli

Italian 102 Daily Syllabus

Italian 102 Daily Syllabus * = Instructor may choose to do the Strategie DVD activities in class. Italian 102 Daily Syllabus AR 26 aterial covered in class (in text unless otherwise indicated) WEEK 1 Introduzione al corso e ripasso

Dettagli

- 3 - >> >> 5 + 7 ans ans = 12 >> 5 / 7 ans = 0.7143 >> 5 + 7 ans = 12 >> 5 / 7 ans = 0.7143 >> 5 * 7 ans = 35 >> 'a' + 2 ans = 99 >> 5 ^ 7 ans = 78125 - 20 - nomevariabile = espressione

Dettagli

REGISTRATION GUIDE TO RESHELL SOFTWARE

REGISTRATION GUIDE TO RESHELL SOFTWARE REGISTRATION GUIDE TO RESHELL SOFTWARE INDEX: 1. GENERAL INFORMATION 2. REGISTRATION GUIDE 1. GENERAL INFORMATION This guide contains the correct procedure for entering the software page http://software.roenest.com/

Dettagli

DESIGN - LAUREE MAGISTRALI MASTER DEGREE COURSES ESITO VALUTAZIONI PER LE AMMISSIONI AL CORSO DI LAUREA MAGISTRALE

DESIGN - LAUREE MAGISTRALI MASTER DEGREE COURSES ESITO VALUTAZIONI PER LE AMMISSIONI AL CORSO DI LAUREA MAGISTRALE ESITO VALUTAZIONI PER LE AMMISSIONI AL CORSO DI LAUREA MAGISTRALE AMMESSI DI DIRITTO/STUDENTS AUTOMATICALLY ENTITLED TO ADMISSION CDS:INTERIOR AND SPATIAL DESIGN - BV (laurea magistrale) AA:2018/19 1 Semestre

Dettagli

Strutture di controllo condizionali in Matlab

Strutture di controllo condizionali in Matlab Strutture di controllo condizionali in Matlab Informatica B Le strutture condizionali A cosa servono le strutture condizionali? %Inserimento dei parametri della parabola: y=ax^2+bx+c a = input( inserire

Dettagli

Domain Name Service. Mapping nomi/indirizzi con Socket API in C

Domain Name Service. Mapping nomi/indirizzi con Socket API in C Domain Name Service Mapping nomi/indirizzi con Socket API in C 1 Risoluzione di nomi simbolici TCP/IP ha bisogno di rappresentazioni numeriche per gli indirizzi (es. 193.204.187.189) e per le porte (es.

Dettagli

Facoltà di Ingegneria Civile, Ambientale e Territoriale

Facoltà di Ingegneria Civile, Ambientale e Territoriale Politecnico di Milano Facoltà di Ingegneria Civile, Ambientale e Territoriale Informatica [097256] [091461] [091456] Prof. G. Boracchi Allievi Ingegneria Civile e Ambientale Prima prova in itinere (14

Dettagli

DESIGN - LAUREE MAGISTRALI MASTER DEGREE COURSES ESITO VALUTAZIONI PER LE AMMISSIONI AL CORSO DI LAUREA MAGISTRALE

DESIGN - LAUREE MAGISTRALI MASTER DEGREE COURSES ESITO VALUTAZIONI PER LE AMMISSIONI AL CORSO DI LAUREA MAGISTRALE ESITO VALUTAZIONI PER LE AMMISSIONI AL CORSO DI LAUREA MAGISTRALE AMMESSI DI DIRITTO/STUDENTS AUTOMATICALLY ENTITLED TO ADMISSION CDS:DESIGN & ENGINEERING - PROGETTO E INGEGNERIZZAZIONE DEL PRODOTTO INDUSTRIALE

Dettagli

Italian Round WPF Sudoku Grand Prix 2013 at Logic Masters

Italian Round WPF Sudoku Grand Prix 2013 at Logic Masters Italian Round WPF Sudoku Grand Prix 2013 at Logic Masters http://logicmastersindia.com/2013/0s2/ Dates: Sudoku by Gabriele Simionato, Giulia Franceschini, nonzero INSTRUCTION BOOKLET Sudoku Grand Prix

Dettagli

MANUALE DI ISTRUZIONI MOVIMENTO VD51 Cronografo con secondi e minuti

MANUALE DI ISTRUZIONI MOVIMENTO VD51 Cronografo con secondi e minuti MANUALE DI ISTRUZIONI MOVIMENTO VD51 Cronografo con secondi e minuti FUNZIONAMENTO VD51 DISPLAY E PULSANTI DELLA CORONA Lancetta minuti Lancetta ore Lancetta secondi Lancetta minuti cronometro Lancetta

Dettagli

AVVISO n Febbraio 2013 Idem. Mittente del comunicato : Borsa Italiana. Societa' oggetto dell'avviso

AVVISO n Febbraio 2013 Idem. Mittente del comunicato : Borsa Italiana. Societa' oggetto dell'avviso AVVISO n.2883 22 Febbraio 2013 Idem Mittente del comunicato : Borsa Italiana Societa' oggetto dell'avviso : -- Oggetto : Modifica alle Istruzioni del mercato IDEM: Conferma data di entrata in vigore -

Dettagli

Corso di Laurea in FISICA Dispositivi di calcolo II

Corso di Laurea in FISICA Dispositivi di calcolo II Corso di Laurea in FISICA Dispositivi di calcolo II Prof. Luca Gammaitoni Corso di Laurea in FISICA Compu&ng device Laurea Specialistica in Informatica input output model input à output à Numerical data

Dettagli

Fondamenti di informatica

Fondamenti di informatica Fondamenti di informatica Estendere un linguaggio nuovi domini di dati (II) Obiettivi di apprendimento generali uso del meccanismo list per costruire rappresentazione di oggetti strutturati in particolare,

Dettagli

BASI LINGUAGGIO. Programmazione Web 1

BASI LINGUAGGIO. Programmazione Web 1 BASI LINGUAGGIO Programmazione Web 1 Commen0 Riga singola // This is a comment Riga mul8pla /* This is a sec8on of mul8line comments which will not be interpreted */ Programmazione Web 2 Istruzioni Un

Dettagli

Code: GW-IMP-WEB-1. Datalogger web pulses counter. Version 6 inputs with Ethernet. MarCom

Code: GW-IMP-WEB-1. Datalogger web pulses counter. Version 6 inputs with Ethernet. MarCom Datalogger web pulses counter Code: GW-IMP-WEB-1 Version 6 inputs with Ethernet Datalogger web pulses counter The web datalogger pulses counter is able to count the pulses on digital inputs (2 by default

Dettagli

26/01/2012 ANOVA ANALYSIS OF VARIANCE

26/01/2012 ANOVA ANALYSIS OF VARIANCE ANOVA ANALYSIS OF VARIANCE 1 Disegnare i box plot >> boxplot(x ) Values 2 22 20 18 16 1 12 10 8 1 2 3 Column Number Y osservazioni i = 1,, a = µ + τ + ε j = 1,, n ij i ij Media comune Scostamenti dalla

Dettagli

PROTOCOLLO DI COMUNICAZIONE MODBUS MODBUS COMMUNICATION PROTOCOL. MANUALE ISTRUZIONI / INSTRUCTION MANUAL IM163-IU v0.61

PROTOCOLLO DI COMUNICAZIONE MODBUS MODBUS COMMUNICATION PROTOCOL. MANUALE ISTRUZIONI / INSTRUCTION MANUAL IM163-IU v0.61 MANUALE ISTRUZIONI / INSTRUCTION MANUAL IM163-IU v0.61 COMPALARM C2C Annunciatore d allarme PROTOCOLLO DI COMUNICAZIONE MODBUS COMPALARM C2C Alarm annunciator MODBUS COMMUNICATION PROTOCOL Compalarm C2C

Dettagli

Italian Round WPF Sudoku Grand Prix 2013 at Logic Masters

Italian Round WPF Sudoku Grand Prix 2013 at Logic Masters Italian Round WPF Sudoku Grand Prix 2013 at Logic Masters http://logicmastersindia.com/2013/0s2/ Dates: 29th June - 1st July Sudoku by Gabriele Simionato, Giulia Franceschini, nonzero Sudoku author 1 Mini

Dettagli

Tipi di segnali (logici) predefiniti. Rappresentazione dei segnali in VHDL. Tipo bit (definito nel package standard)

Tipi di segnali (logici) predefiniti. Rappresentazione dei segnali in VHDL. Tipo bit (definito nel package standard) Tipi di segnali (logici) predefiniti Tipo bit (definito nel package standard) Rappresentazione dei segnali in VHDL Approfondimento del corso di Linguaggi di descrizione dell hardware type Bit is ('0',

Dettagli

ESERCIZIO 1 Si faccia riferimento all Allegato A - OPS 2016, problema ricorrente REGOLE E DEDUZIONI, pagina 2.

ESERCIZIO 1 Si faccia riferimento all Allegato A - OPS 2016, problema ricorrente REGOLE E DEDUZIONI, pagina 2. ESERCIZIO 1 Si faccia riferimento all Allegato A - OPS 2016, problema ricorrente REGOLE E DEDUZIONI, pagina 2. Siano date le seguenti regole: regola(1,[a,p,f],g) regola(2,[c,x],n) regola(3,[n,g],w) regola(4,[p,c,x],d)

Dettagli

Scheduling. Scheduler. Class 1 Class 2 Class 3 Class 4. Scheduler. Class 1 Class 2 Class 3 Class 4. Scheduler. Class 1 Class 2 Class 3 Class 4

Scheduling. Scheduler. Class 1 Class 2 Class 3 Class 4. Scheduler. Class 1 Class 2 Class 3 Class 4. Scheduler. Class 1 Class 2 Class 3 Class 4 Course of Multimedia Internet (Sub-course Reti Internet Multimediali ), AA 2010-2011 Prof. 4. Scheduling Pag. 1 Scheduling In other architectures, buffering and service occur on a per-flow basis That is,

Dettagli

Self-Calibration Hands-on CASA introduction

Self-Calibration Hands-on CASA introduction Self-Calibration Hands-on CASA introduction Adam North American ALMA Science Center Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long

Dettagli

ESERCIZIO 1 Si faccia riferimento all Allegato A - OPS 2016, problema ricorrente REGOLE E DEDUZIONI, pagina 2.

ESERCIZIO 1 Si faccia riferimento all Allegato A - OPS 2016, problema ricorrente REGOLE E DEDUZIONI, pagina 2. ESERCIZIO 1 Si faccia riferimento all Allegato A - OPS 2016, problema ricorrente REGOLE E DEDUZIONI, pagina 2. Siano date le seguenti regole: regola(1,[a,c],b). regola(2,[w],q). regola(3,[a,b,c],r). regola(4,[q,t],a).

Dettagli

Francesca Mazzia Dipartimento Interuniversitario di Matematica Università di Bari. MATLAB: lezione introduttiva

Francesca Mazzia Dipartimento Interuniversitario di Matematica Università di Bari. MATLAB: lezione introduttiva 1 Francesca Mazzia Dipartimento Interuniversitario di Matematica Università di Bari MATLAB: lezione introduttiva MATLAB (MATrix LABoratory): PSE per il scientifico ad alte prestazioni e la visualizzazione,

Dettagli

BASI LINGUAGGIO. Programmazione Web 1

BASI LINGUAGGIO. Programmazione Web 1 BASI LINGUAGGIO Programmazione Web 1 Commen0 Riga singola // This is a comment Riga mul8pla /* This is a sec8on of mul8line comments which will not be interpreted */ Programmazione Web 2 Istruzioni Un

Dettagli

EML-16 EML-16. Pulses concentrator. Concentratore impulsi MODBUS COMMUNICATION PROTOCOL PROTOCOLLO DI COMUNICAZIONE MODBUS

EML-16 EML-16. Pulses concentrator. Concentratore impulsi MODBUS COMMUNICATION PROTOCOL PROTOCOLLO DI COMUNICAZIONE MODBUS MANUALE OPERATIVO / INSTRUCTION MANUAL IM-IU v0.1 EML-16 Concentratore impulsi PROTOCOLLO DI COMUNICAZIONE MODBUS EML-16 Pulses concentrator MODBUS COMMUNICATION PROTOCOL PROTOCOLLO MODBUS Il concentratore

Dettagli

MATLAB:Condizionamento Sistemi Lineari.

MATLAB:Condizionamento Sistemi Lineari. 1 Francesca Mazzia Dipartimento Interuniversitario di Matematica Università di Bari MATLAB:Condizionamento Sistemi Lineari. Innanzitutto vediamo qual è la funzione Matlab che ci permette di calcolare il

Dettagli

UNIVERSITÀ DEGLI STUDI DI TORINO

UNIVERSITÀ DEGLI STUDI DI TORINO STEP BY STEP INSTRUCTIONS FOR COMPLETING THE ONLINE APPLICATION FORM Enter the Unito homepage www.unito.it and click on Login on the right side of the page. - Tel. +39 011 6704425 - e-mail internationalexchange@unito.it

Dettagli

UML: Aggregazione. class A { int s; public void sets(int){ }; public int gets() { }; class B {A ob; public void usea() { }; }

UML: Aggregazione. class A { int s; public void sets(int){ }; public int gets() { }; class B {A ob; public void usea() { }; } UML: Aggregazione class A { int s; public void sets(int){ ; public int gets() { ; class B {A ob; public void usea() { ; Aggregation - Composition Use aggregation (has-a) when the lifecycle of the partecipating

Dettagli

NATIONAL SPORT SCHOOL ST CLARE COLLEGE

NATIONAL SPORT SCHOOL ST CLARE COLLEGE NATIONAL SPORT SCHOOL ST CLARE COLLEGE HALF-YEARLY EXAMINATION 2014/15 Mark Level 4-5-6 FORM 1 ITALIAN TIME: 30 mins LISTENING COMPREHENSION TEST Teacher s Paper (20 punti) Please first read the instructions

Dettagli

Exam of ELECTRONIC SYSTEMS June 17 th, 2014 Prof. Marco Sampietro

Exam of ELECTRONIC SYSTEMS June 17 th, 2014 Prof. Marco Sampietro Exam of ELETRONI SYSTEMS June 17 th, 2014 Prof. Marco Sampietro Matr. N NAME Problem 1 Operational Amplifier circuit 1. onsiderare il circuito seguente, in cui l Amplificatore Operazionale sia ideale,

Dettagli

Corso di Laurea Ingegneria Informatica Fondamenti di Informatica

Corso di Laurea Ingegneria Informatica Fondamenti di Informatica Corso di Laurea Ingegneria Informatica Fondamenti di Informatica Dispensa E16 Esercizi Strutture Collegate e Oggetti C. Limongelli Maggio 2012 1 Contenuti q Verifiche universali ed esistenziali su strutture

Dettagli

JSON JavaScript Object Notation. Sistemi Informativi Aziendali A.A. 2012/2013

JSON JavaScript Object Notation. Sistemi Informativi Aziendali A.A. 2012/2013 JSON JavaScript Object Notation Sommario 1. Obiettivo 2. La rappresentazione JSON 3. Librerie Java per JSON 4. Utilizzo di JSON in JavaScript 2 Obiettivo JSON JavaScript Object Notation Obiettivo Nell

Dettagli

Optmization Methods for Machine Learning. Gradient method for multilayer perceptron

Optmization Methods for Machine Learning. Gradient method for multilayer perceptron Optmization Methods for Machine Learning Laura Palagi http://www.dis.uniroma1.it/ palagi Dipartimento di Ingegneria informatica automatica e gestionale A. Ruberti Sapienza Università di Roma Via Ariosto

Dettagli

FONDAMENTI DI INFORMATICA

FONDAMENTI DI INFORMATICA FONDAMENTI DI INFORMATICA Prof. Alfredo Accattatis accattatis@ing.uniroma2.it Fondamenti di Informatica a.a. 2015/16 - A.Accattatis 2 Argomenti di oggi Si parlerà di: Tecniche di debug(capitolo 6, par.

Dettagli

AVVISO n Aprile 2018 ETFplus. Mittente del comunicato : BORSA ITALIANA. Societa' oggetto dell'avviso

AVVISO n Aprile 2018 ETFplus. Mittente del comunicato : BORSA ITALIANA. Societa' oggetto dell'avviso AVVISO n.7771 16 Aprile 2018 ETFplus Mittente del comunicato : BORSA ITALIANA Societa' oggetto dell'avviso : -- Oggetto : Modifiche alla Guida ai Parametri di Negoziazione/Amendments to the Guide to the

Dettagli

Programmazione in Java e gestione della grafica. Lezione 24

Programmazione in Java e gestione della grafica. Lezione 24 Programmazione in Java e gestione della grafica Lezione 24 2 Parliamo di. Files and Streams 3 Files e streams I dati memorizzati in variabili e array sono dati temporanei File si usano per conservare grosse

Dettagli

IL TEOREMA DI BOEHM-JACOPINI

IL TEOREMA DI BOEHM-JACOPINI IL TEOREMA DI BOEHM-JACOPINI Un qualunque algoritmo può essere descritto unicamente attraverso le tre strutture: Sequenza Diramazione Ciclo o iterazione Le tre strutture sono complete. Un qualunque linguaggio

Dettagli

ISTITUTO ARCIVESCOVILE

ISTITUTO ARCIVESCOVILE CONTRATTO FORMATIVO Nome e cognome dell alunno Classe Destinazione Associazione di riferimento Data di inizio del soggiorno Data di conclusione del soggiorno Nome del docente tutor E mail del docente tutor

Dettagli

6.5 RNA Secondary Structure

6.5 RNA Secondary Structure 6.5 RNA Secondary Structure Struttura di una biomolecola Biomolecola: DNA, RNA Struttura primaria: descrizione esatta della sua composizione atomica e dei legami presenti fra gli atomi Struttura secondaria:

Dettagli

MPI: comunicazioni collettive

MPI: comunicazioni collettive - g.marras@cineca.it Gruppo Supercalcolo - Dipartimento Sistemi e Tecnologie 29 settembre 5 ottobre 2008 Collective Communications -Communications involving a group of process -Called by all processes

Dettagli

Algoritmi e Strutture Dati. Lezione 2

Algoritmi e Strutture Dati. Lezione 2 Algoritmi e Strutture Dati Lezione 2 www.iet.unipi.it/a.virdis Antonio Virdis antonio.virdis@unipi.it 1 Sommario Merge Sort Ordinamento STL Gestione Liste Esercizi 2 A metà Size Size/2 Size/2 3 A metà

Dettagli

Algoritmi Priority-Driven RT. Corso di Sistemi RT Prof. Davide Brugali Università degli Studi di Bergamo

Algoritmi Priority-Driven RT. Corso di Sistemi RT Prof. Davide Brugali Università degli Studi di Bergamo Algoritmi Priority-Driven RT Corso di Sistemi RT Prof. Davide Brugali Università degli Studi di Bergamo 2 Algoritmi Real Time Earliest Due Date (statico) Seleziona il task con la deadline relativa più

Dettagli

Notice Adjustment of Positions Equity Derivatives Section 3 August 2018

Notice Adjustment of Positions Equity Derivatives Section 3 August 2018 Notice Adjustment of Positions Equity Derivatives Section 3 August 2018 CONVERSION OF SAVING SHARES INTO ORDINARY SHARES: IMPACT ON STOCK OPTION AND FUTURES CONTRACTS ON SAVING SHARES (ISPR) Segue versione

Dettagli

CATALOGO PARTI DI RICAMBIO SPARE PARTS CATALOGUE CATALOGUE DES PIECES DE RECHANGE ERSATZTEILKATALOG N..92. IT Modulo RICHIESTA DI GARANZIA

CATALOGO PARTI DI RICAMBIO SPARE PARTS CATALOGUE CATALOGUE DES PIECES DE RECHANGE ERSATZTEILKATALOG N..92. IT Modulo RICHIESTA DI GARANZIA 63 72 92 N..92 SD 96 98S 102-122 IT Modulo RICHIESTA DI GARANZIA FR Module DEMANDE DE GARANTIE DE Blankett GARANTIE-BERICHT NL Formulier GARANTIE AANVRAAG INFO EXIT APERTURA E LETTURA DEL CATALOGO Per

Dettagli

Resources and Tools for Bibliographic Research. Search & Find Using Library Catalogues

Resources and Tools for Bibliographic Research. Search & Find Using Library Catalogues Resources and Tools for Bibliographic Research Search & Find Using Library Catalogues November 28, 2011 Donata Pieri Index Definition University of Padova Library System Catalogue CaPerE E-journals Catalogue

Dettagli

1) Collegarsi al sito FTP Scuola cliccando qui: ftp://ftp-scuola2000.local Connect to the follwig web site: ftp://ftp-scuola2000.

1) Collegarsi al sito FTP Scuola cliccando qui: ftp://ftp-scuola2000.local Connect to the follwig web site: ftp://ftp-scuola2000. Istruzioni per il download di CRSP 1925 US Stock Database utenti istituzionali - Download instructions for CRSP 1925 US Stock Database institutional users Le seguenti istruzioni di installazione del client

Dettagli

PORTALE DEI SERVIZI ART/ ART WEB PORTAL MANUALE UTENTE /USER MANUAL PROCEDURA DI ACCREDITAMENTO / REGISTRATION PROCEDURE

PORTALE DEI SERVIZI ART/ ART WEB PORTAL MANUALE UTENTE /USER MANUAL PROCEDURA DI ACCREDITAMENTO / REGISTRATION PROCEDURE PORTALE DEI SERVIZI ART/ ART WEB PORTAL MANUALE UTENTE /USER MANUAL PROCEDURA DI ACCREDITAMENTO / REGISTRATION PROCEDURE INDICE / CONTENTS 1 ITALIANO... 3 1.1 INTRODUZIONE... 3 1.2 ACCESSO ALL APPLICAZIONE...

Dettagli

Introduzione al MATLAB c Parte 3 Script e function

Introduzione al MATLAB c Parte 3 Script e function Introduzione al MATLAB c Parte 3 Script e function Lucia Gastaldi DICATAM - Sezione di Matematica, http://lucia-gastaldi.unibs.it Indice 1 M-file di tipo Script e Function Script Function 2 Gestione dell

Dettagli

Introduzione al MATLAB c Parte 3 Script e function

Introduzione al MATLAB c Parte 3 Script e function Introduzione al MATLAB c Parte 3 Script e function Lucia Gastaldi DICATAM - Sezione di Matematica, http://lucia-gastaldi.unibs.it Indice 1 M-file di tipo Script e Function Script Function 2 Gestione dell

Dettagli

Introduzione al MATLAB c Parte 3 Script e function

Introduzione al MATLAB c Parte 3 Script e function Introduzione al MATLAB c Parte 3 Script e function Lucia Gastaldi DICATAM - Sezione di Matematica, http://www.ing.unibs.it/gastaldi/ Indice 1 M-file di tipo Script e Function Script Function 2 Gestione

Dettagli

Tipici tempi di esecuzione. Martedì 7 ottobre 2014

Tipici tempi di esecuzione. Martedì 7 ottobre 2014 Tipici tempi di esecuzione Martedì 7 ottobre 2014 Punto della situazione Abbiamo definito il tempo di esecuzione di un algoritmo Scelto l analisi asintotica Abbiamo definito le notazioni asintotiche che

Dettagli

La Bella Figura Experience Italian Culture Lesson Material, Level 4

La Bella Figura Experience Italian Culture Lesson Material, Level 4 Lesson 8 Ci arriviamo insieme Topics: i pronomi diretti e il pronome di luogo ci. Direct pronouns and the locative pronoun ci. Leggiamo insieme auesti scambi. Let s read together these exchanges. a. Rita:

Dettagli