List of commits:
Subject Hash Author Date (UTC)
Added the solution to one of the problem from Exam #2. 625545a335c5dc7b7303355088a3abba999fdf40 aubert@math.cnrs.fr 2019-05-06 16:59:50
Added a solution to one of the problem of Exam #2, and added the last quiz. 4e0ee25d509412e5e455d9ad4c98f7aad8c5a354 aubert@math.cnrs.fr 2019-04-19 15:14:10
A few glitches in the first java programs patched, added the alternative version to the source. 48611244d21515269bae041dc2535b7e08fb5877 aubert@math.cnrs.fr 2019-04-04 22:05:03
patching a few glitches with the java code and the mysql code used in the demo for the first program. 0fcb73dcc60aef476899c4efea092c99dd6027db aubert@math.cnrs.fr 2019-04-04 21:55:55
Tidying up a program. dd409ab3fd6736af4b8adaac284ee101b9770f60 aubert@math.cnrs.fr 2019-04-04 19:02:21
Correcting the chapter on db programming. 484c4a6372056106bae77e48b397c1174738fc26 aubert@math.cnrs.fr 2019-04-04 18:57:50
Added solution to first problem of Exam 2. 45881a9b8ab1e5a0071b58d72362059593365d52 aubert@math.cnrs.fr 2019-04-03 18:38:48
Quick note in Java programming. 625282d4fece1f6a7a617a8c9bcf7c3c856185b3 aubert@math.cnrs.fr 2019-04-02 18:42:48
Added exam #2 0aa6788451b34cb6371fed5a0f719a4ac52cf0c8 aubert@math.cnrs.fr 2019-04-01 18:37:43
Fixing a typo. 502262b742ac86d7b3d5e95a0f9fcd7ca3a6e586 aubert@math.cnrs.fr 2019-03-22 17:35:43
Forgot one figure. 1212e57a5f2e7b2f104f432feb4dce0669cdb452 aubert@math.cnrs.fr 2019-03-22 17:32:36
Working on Ch. 4, adding the content of the weekly announcements to the core of the document, added illustrations on the conversion E.R. -> Rel. model, fixed various typos. 1995837f41c1508ae809d5a91065bdefd5bd6c03 aubert@math.cnrs.fr 2019-03-22 17:27:51
Fixing exercise and normalization in Chapter 4. 7aa4b9a581daf7144dd485ba791b7707585088b8 aubert@math.cnrs.fr 2019-03-20 18:55:42
Quick fix on UML diagrams. 86a52b2f6ce92750bdb2c33eaa4dbc4497322e1c aubert@math.cnrs.fr 2019-03-18 18:37:24
Adding some missing files. 0c090f6d43e84b71ca5e1f6d3e8d1aa0d733824d aubert@math.cnrs.fr 2019-03-18 18:28:32
Fixing the style for line numbers, adding information for weak entities, drawing some figures (for crow's notation, for alternative notations), removing various images. 26ce9a96701649988cfdfcb3e61011f4e154896d aubert@math.cnrs.fr 2019-03-18 18:25:09
Added solution to quiz #4. db0de8ba5c6605d77fdbc076f3a9e5b3851d83e0 aubert@math.cnrs.fr 2019-03-15 20:57:13
Added questions for Quiz #4. 30d908601e9431ec0901d4001ddbf99bf14f75d0 aubert@math.cnrs.fr 2019-03-15 17:52:24
Worked on narrative in Chapter 4, mostly ER diagrams. 9e0cc5fc5a2b4087fe1191f1ba5926f87ad5a7bd aubert@math.cnrs.fr 2019-03-12 18:57:16
Updated list of known bugs. d51ff0a5bb73f09eb8d3eb7520ebb77555911e69 aubert@math.cnrs.fr 2019-03-12 17:09:22
Commit 625545a335c5dc7b7303355088a3abba999fdf40 - Added the solution to one of the problem from Exam #2.
Author: aubert@math.cnrs.fr
Author date (UTC): 2019-05-06 16:59
Committer name: aubert@math.cnrs.fr
Committer date (UTC): 2019-05-06 16:59
Parent(s): 4e0ee25d509412e5e455d9ad4c98f7aad8c5a354
Signing key:
Tree: 25badea1e0288f1835fc32be5cf68b41e0888bc1
File Lines added Lines deleted
notes/fig/fd/Schedule.tex 29 0
notes/lectures_notes.md 23 0
File notes/fig/fd/Schedule.tex added (mode: 100644) (index 0000000..07d0dd0)
1 \documentclass[margin=20pt]{standalone}
2 \input{template.def}
3
4 \begin{dependency}
5 \begin{deptext}[TxtBook] % Applying the TxtBook style.
6 |[none]| SCHEDULE \(\big(\) \& \ul{Period\_Start} \& \ul{Date} \& Room \& Organizer \& Period\_End \& |[none]| \(\big)\) \& |[none]| LENGTH \(\big(\) \& \ul{Period\_Start} \& \ul{Period\_End} \& Length \& |[none]| \(\big)\)
7 \& |[none]| ROOM \(\big(\) \& \ul{Room} \& Building \& |[none]| \(\big)\)\\
8 \end{deptext}
9 \depedge[lvl=1]{2}{4}{}
10 \depedge[lvl=1]{3}{5}{}
11 \depedge[lvl=1]{2}{6}{}
12 \depedge[lvl=1]{9}{11}{}
13 \depedge[lvl=1]{10}{11}{}
14 \depedge[lvl=1]{14}{15}{}
15 % \depedge[lvl=2, FK]{2}{9}{}
16 % \depedge[lvl=1, FK, edge above]{6}{10}{}
17 \end{dependency}
18
19
20 %\{Period\_Start, Date\} | →| Room
21 %\{Period\_Start, Length\} | →| Period\_End
22 %\{Period\_Start, Period\_End\} | →| Length
23 %\{Period\_End, Length\} | →| Period\_Start
24 %\{Date, Period\_Start\} | →| Organizer
25 %Room | →| Building
26 %
27
28
29 \end{document}
File notes/lectures_notes.md changed (mode: 100644) (index b89b2eb..419a109)
... ... Solution to [%D %n (%T)](#problem:carsale)
5717 5717
5718 5718 --- ---
5719 5719
5720
5721 Solution to [%D %n (%T)](#problem:schedule)
5722 ~
5723
5724 #. \{Period\_Start, Date\} would be a suitable primary key.
5725
5726 #. This relation is already in second normal form: there are no non-prime attribute that is not fully dependent of the primary key.
5727 Stated differently, there are no non-prime $A$ such that \{Period_Start\} → A or \{Date\} → A.
5728
5729 #. This relation is not in 3rd normal form.
5730
5731 Consider the following relation: \{Period\_Start, Date\} → \{Period\_Start, Period\_End\} → Length.
5732 \{Period\_Start, Period\_End\} is different from \{Period\_Start, Date\} and from Length, and it is not included in a candidate key.
5733
5734 The same goes for \{Period\_Start, Date\} → Room → Building.
5735
5736 Once normalized to the third normal form, we get:
5737
5738 ![](fig/fd/Schedule){width=90%}
5739
5740
5741 ---
5742
5720 5743 Solution to [%D %n (%T)](#problem:bike) Solution to [%D %n (%T)](#problem:bike)
5721 5744 ~ ~
5722 5745
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/caubert/CSCI_3410

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/caubert/CSCI_3410

Clone this repository using git:
git clone git://git.rocketgit.com/user/caubert/CSCI_3410

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main