Hwk updates

main
Michael Kowalczyk 11 months ago
parent 5a9c9516fd
commit fdde3c4d2a

@ -1,5 +0,0 @@
@ECHO OFF
C:
CD "\stuff\cs495\notes\Day 38 (class and function design)\Improve the design"
"C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\java.exe" -cp .;"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx.base.jar";"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx.controls.jar";"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx.fxml.jar";"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx.graphics.jar";"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx.media.jar";"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx.swing.jar";"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx.web.jar";"C:\Program Files\Java\javafx-sdk-17.0.0.1\lib\javafx-swt.jar" --module-path "C:\Program Files\Java\javafx-sdk-17.0.0.1\lib" --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web Player
PAUSE

@ -32,7 +32,7 @@
<li>Create all tables <li>Create all tables
<ul> <ul>
<li>Use a primary key for each table (a junction table should get a two-column primary key if each pairing should happen at most once)</li> <li>Use a primary key for each table (a junction table should get a two-column primary key if each pairing should happen at most once)</li>
<li>Declare foreign key constraints where appropriate</li> <li>Declare foreign key constraints where appropriate (recall that you will want to issue the <code>PRAGMA foreign_keys = ON;</code> command before using foreign keys)</li>
<li>Declare an index for the SpotterID foreign key column of Sightings</li> <li>Declare an index for the SpotterID foreign key column of Sightings</li>
</ul> </ul>
</li> </li>
@ -61,7 +61,7 @@
<li> <li>
Include the following delete command: Include the following delete command:
<ul> <ul>
<li>Delete a given spotter by ID and NULL out his/her ID in all of the associated sightings. Do this as a transaction and specify OR ROLLBACK for the commands therein.</li> <li>Delete a given spotter by ID and NULL out his/her ID in all of the associated sightings. Do this as a transaction and specify OR ROLLBACK for the UPDATE command therein. I would do the same for the DELETE command, but OR ROLLBACK is not supported for DELETE in Sqlite because foreign key constraints are not checked by Sqlite's OR ROLLBACK algorithm, and - as far as I can tell - <a href="https://www.sqlite.org/lang_conflict.html">none of the other checks performed are relevant to DELETE</a>.</li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -70,7 +70,7 @@
<p>Note that in real life, it would likely be useful to have a geospatial index on latitude and longitude. SQLite doesn't support this, but there are <a href="https://www.gaia-gis.it/fossil/libspatialite/index">add-ons</a> and <a href="https://www.linkedin.com/pulse/what-geospatial-index-gaurav-pandey">workarounds</a> (though that is not required for this assignment).</p> <p>Note that in real life, it would likely be useful to have a geospatial index on latitude and longitude. SQLite doesn't support this, but there are <a href="https://www.gaia-gis.it/fossil/libspatialite/index">add-ons</a> and <a href="https://www.linkedin.com/pulse/what-geospatial-index-gaurav-pandey">workarounds</a> (though that is not required for this assignment).</p>
<hr> <hr>
<p>Submit a text document with all of your SQL commands in Educat, by November 6, 2024.</p> <p>Submit a text document with all of your SQL commands in Educat, by November 13, 2024.</p>
</div> </div>

@ -29,6 +29,38 @@
<th>Value</th> <th>Value</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
<tr>
<td class="center top">Monday 11/18/2024</td>
<td class="center top">Sprints 6, 7, and 8</td>
<td class="center top">80 points</td>
<td class="top">
Team progress since check-in on October 28th.
</td>
</tr>
<tr>
<td class="center top">Wednesday 11/13/2024</td>
<td class="center top"><a href="Homework\01\index.html">Database homework</a></td>
<td class="center top">40 points</td>
<td class="top">
Complete SQL commands as directed in the <a href="Homework\01\index.html">assignment writeup</a>. Submit your work in Educat.
</td>
</tr>
<tr>
<td class="center top">Wednesday 11/6/2024</td>
<td class="center top">In class: refactor the code</td>
<td class="center top">20 points</td>
<td class="top">
In a small group, refactor the .java code from the repo to increase cohesion and decrease coupling: <pre>notes\Day 38 (class and function design)\Improve the design</pre>Show me your work to get credit on this one.
</td>
</tr>
<tr>
<td class="center top">Monday 10/28/2024</td>
<td class="center top">Sprints 4 and 5</td>
<td class="center top">80 points</td>
<td class="top">
Team progress since last check-in.
</td>
</tr>
<tr> <tr>
<td class="center top">Monday 10/14/2024 10:00pm</td> <td class="center top">Monday 10/14/2024 10:00pm</td>
<td class="center top">Project check-in</td> <td class="center top">Project check-in</td>

Loading…
Cancel
Save