Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Basi di dati ~ informatica triennale > ristrutturazione
Pages (2): [1] 2 »   Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
ristrutturazione

nello schema concettuale allegato, ho mantenuto tutte le sottoclassi facendo diventare le cardinalità 1:1 e le entità UMANISTICA e SCIENZA entità deboli in quanto necessitano poi del CODICE di DOCENTE per venire identificate.
Non mi viene in mente nulla per uanto concerne BIOLOGIA e INFORMATICA in quanto la mancanza di attributi mi depista.

Se dovessi scegliere la stessa strada scelta per le prime 2 sottoclassi (UMANISTICA e SCIENZA) diverrebbero anche'esse entità deboli, suppongo; ma le identificherei ancora attraverso l'attributo CODICE ?

Attachment: immagine.gif
This has been downloaded 34 time(s).

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

21-02-2007 12:17
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

ho notato che ciò che mi incasina di più sono le sottoclassi

biologia
informatica

per via della gerarchia di tipo P.O.

Fosse stata T.E me la sarei cavata con un attributo su scienze del tipo:

specializzazione (biologia/informatica) con cardinalità minima 1 (obbligatoria)

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

21-02-2007 13:37
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Soluzioni ce ne sono molteplici, per voler mantenere la tua soluzione che usa un attributo potresti aggiungerlo con cardinalità minima 0 (e risolvi il fatto che non sia Totale ma Parziale) e di tipo multivalore (per risolvere il fatto che sia sovrapposta anzichè esclusiva).
Certo poi ti rimane il problema di dover ristrutturare ulteriormente questo attributo per eliminare il fatto che sia multivalore, prova a pensare se ti viene in mente una soluzione.

21-02-2007 14:24
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

sono rimasto con più di un dubbio e cioè se si ha:

TE o l'uno a l'altro (gerarchia totale esclusiva)
PE uno o l'altro o nessuno (gerarchia parziale esclusiva)

TO l'uno o l'altro o entrambi (gerarchia totale sovrapposta)
PO entrambi o nessuno (gerarchia parziale sovrapposta)

spero di aver scritto giusto :oops:

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

21-02-2007 15:51
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

TE giusto
PE giusto
TO giusto
PO o l'uno, o l'altro, o entrambi, o nessuno.

21-02-2007 15:57
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Infatti avevo un dubbio sulla PO.

che ne pensi della ristrutturazione allegata ?

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

Last edited by mark on 21-02-2007 at 19:48

21-02-2007 16:47
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Cosa intenti con SC/INF nell'attributo con cardinalità (0,1)?
Che fine ha fatto la biologia?

21-02-2007 16:55
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

un errore

Attachment: immagine[2].gif
This has been downloaded 12 time(s).

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

21-02-2007 19:51
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ora va meglio, ma se quel BIO/INF significa o BIO o INF (aut aut) allora è sbagliato.
Con la cardinalità minima 0 giustamente esprimi la parzialità della sottoclasse ma così com'è non esprimi la sovrapposizione,

22-02-2007 09:24
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

giusto!
Mi era venuto in mente di usare 2 attributi, uno per informatica ed uno per Biologia ed entrambi con cardinalità (0,1) che coprirebbe tutti i casi previsti nella PO

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

22-02-2007 09:28
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

così

Attachment: immagine[2][1].gif
This has been downloaded 18 time(s).

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

22-02-2007 09:31
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
zonker
.illuminato.

User info:
Registered: Mar 2003
Posts: 200 (0.02 al dì)
Location:
Corso:
Anno:
Time Online: 2 Days, 6:24:53 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Così non è bellissimo ma è corretto.

22-02-2007 09:35
Click Here to See the Profile for zonker Click here to Send zonker a Private Message Find more posts by zonker Add zonker to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

grazie

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

22-02-2007 09:52
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

uso questa discussione sprando che venga letta la domanda.

Oggetto: attacco basato sul cavallo di troia

Abbiamo due utenti A e B dove A crea un file e da l'autorizzazione a B di scriverci.

L'utente A, che non ha altri privilegi se non quello di scrivere sul suo stesso file, nasconde del codice malizioso in un programma di utilità che è in grado di leggere i file non accessibili da A e li fa poi scrivere da B nel file di A in quanto B ha il permesso di A.

E' così che funziona ?

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

22-02-2007 09:56
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
mark
.grande:maestro.

User info:
Registered: Oct 2003
Posts: 783 (0.10 al dì)
Location:
Corso: F49
Anno: finito!
Time Online: 8 Days, 18:34:33 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

la traduzione in relazionale dello schema ristrutturato in precedenza dovrebbe essere questo:

DOCENTE(Codice, Nome, Cognome)
UMANISTICA(Codice, Disciplina)
SCIENZA(Codice, Biologia, Informatica, Brevetto)

Codice viene ripetuto nelle relazioni UMANISTICA e SCIENZA e come chiave primria, in quanto dopo la ristrutturazione sono divenute entità deboli......

Ma sarà così ?

__________________
Non ti perdere di coraggio se ti tocca lavorare molto e raccogliere poco.....

23-02-2007 14:40
Click Here to See the Profile for mark Click here to Send mark a Private Message Find more posts by mark Add mark to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 17:33.    Post New Thread    Post A Reply
Pages (2): [1] 2 »   Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.086 seconds (59.84% PHP - 40.16% MySQL) con 26 query.