Document information
- University
- Politecnico di Milano
- Degree programme
- Computer Engineering
- Subject
- Complessità nei Sistemi e nelle Reti
- Material language
- Italian
- Classification
- Exercises · Complete set
- Original format
- Text
- Searchable text
Study material for Complessità nei Sistemi e nelle Reti, shared by the Studwiz community and reviewed by moderators.
Study material for Complessità nei Sistemi e nelle Reti, shared by the Studwiz community and reviewed by moderators.
Import quality: text was extracted directly from the original 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.
ESERCITAZIONE 1 – Mercoledì 10 ottobre 2018 (2 ore) Algebra relazionale Testi degli esercizi STUDENTE(matr, nome, città, c_laurea) ESAME(matr, cod_corso, voto) CORSO(cod_corso, titolo, docente) 1) Estrarre matricola e nome degli studenti di Milano iscritti al corso di laurea in Informatica. 2) Estrarre la città degli studenti. Consideriamo un’altra relazione STUDENTE2 contenente un diverso insieme di studenti, così definita: STUDENTE2(matr, nome, città, c_laurea) 3) Intersezione tra STUDENTE e STUDENTE2. 4) Unione tra STUDENTE e STUDENTE2. 5) Differenza tra STUDENTE e STUDENTE2. 6) Prodotto cartesiano tra STUDENTE ed ESAME. 7) Estrarre tutte le informazioni sugli studenti e sugli esami che hanno sostenuto almeno un esame. 8) Estrarre tutte le informazioni sugli studenti che hanno sostenuto almeno un esame. 9) Estrarre i nomi degli studenti che hanno ottenuto almeno un 30 in un esame. 10) Trovare i nomi degli studenti che hanno preso almeno un 30 e non hanno mai preso meno di 24. Modifichiamo la relazione ESAME aggiungendo l’attributo ‘data’, ad indicare la data in cui l’esame è stato superato. La relazione è così definita: ESAME(matr, cod_corso, voto, data) 11) Estrarre gli studenti che non hanno superato nessun esame nel 2017. 12) Per ogni corso, estrarre gli studenti che hanno superato l’esame nell’ultima seduta svolta. 13) Estrarre gli studenti che hanno superato almeno due esami. 14) Estrarre gli studenti che hanno superato esattamente due esami. Dal tema d’esame del 10 settembre 2004 STUDENTEDOTTORATO (Matricola, Nome, Cognome, DataNascita, TelUfficio, Dipartimento) DIPARTIMENTO (Nome, Indirizzo, NumeroPersone) TEMARICERCA (Titolo, MatricolaStud, Argomento, ProfRelatore) PROFESSORE (Matricola, Nome, Cognome, Posizione, Dipartimento) 15) Trovare matricola, nome e…
First page of the document.