AllSolutionDWSI2023 ENG
AllSolutionDWSI2023 ENG
Exercise 1 solution:
1 - Determine what are the éléments that are part of a high school of:
- Décision system, Principal
- Information system, Schooling
- Operating system.Teacher (Professors)
2 - What are the external actors in the organization of the school? Parents, students
3 - Complete the systemic analysis scheme of a high school, looking for the flow of
information circulating between the previous subsystem
principal
1,
,3
6
Orientation
Inscription
confirmation
Form
newsletter
Schooling
Acceptance
mail
2
4,5
Professors
1- A meeting of the board of directors determined dates which limit each of the
quarters of the school year
2- These dates are included in the school's internal regulations
3- The principal fixes the dates of the advice
4- Teacher must have completed quarterly bulletins
5- Teacher must note the absences of their students
6- Schooling establishes syntheses for the principal.
Exercise 2 solution :
𝒔 = 𝒙 + 𝒚 + 𝒛
Action2
Step
3:
Calculate
the
number
of
rules
Number
of
rules
=
number
of
C1
*
number
of
C2
*
number
of
C3
= 𝟐 ∗ 𝟐 ∗ 𝟐 = 𝟖
x
>=0
?
2
possible
values
(Yes
or
No)
y>=0
?
2
possible
values
(Yes
or
No)
2
possible
values
(Yes
or
No)
z
>=0
?
R1
R2
R3
R4
R5
R6
R7
R8
C1
X
>=0
?
Y
Y
Y
Y
N
N
N
N
C2
Y>=0
?
Y
Y
N
N
Y
Y
N
N
C3
Z
>=0
?
Y
N
Y
N
Y
N
Y
N
A1
𝑠 = 𝒙𝟐 + 𝒚𝟐 + 𝒛𝟐
X
X
A2
𝒔 = 𝒙 + 𝒚 + 𝒛
X
X
X
X
X
X
R1
R2
R3
R4
R5
R6
R7
R8
C1
X
>=0
?
Y
Y
Y
Y
N
N
N
N
C2
Y>=0
?
Y
Y
N
N
Y
Y
N
N
C3
Z
>=0
?
Y
N
Y
N
Y
N
Y
N
A1
𝑠 = 𝒙𝟐 + 𝒚𝟐 + 𝒛𝟐
X
X
A2
𝒔 = 𝒙 + 𝒚 + 𝒛
X
X
X
X
X
X
R1
R2
R’=R3 R’=R5&
R7
R8
&R4
R6
C1
X
>=0
?
Y
Y
Y
N
N
N
C2
Y>=0
?
Y
Y
N
Y
N
N
C3
Z
>=0
?
Y
N
=
=
Y
N
A1
𝑠 = 𝒙𝟐 + 𝒚𝟐 + 𝒛𝟐
X
X
A2
𝒔 = 𝒙 + 𝒚 + 𝒛
X
X
X
X
----------------------------------------------------------------------------------------
Solution of Sheet DW N°2 :
Solution of the exercise 1 :
R2-R11 cannot be simplified because they lead to a contradiction with R3 for
example
R1-R5-R9- R3-R4
R6-R14 R7-R8 R15-R16
R13
- - Y Y N
- N N Y N
Y Y N N N
Y N - - -
3. Adopting articulated coding, propose the format of a student code and give the actual
maximum number of students that this code can take. ? |____|____|____|____|____|
LevSpec Sec N° Seq Max number= 3 x 4 x 3 x 90 = 3240.
4. Propose the format of a student's code using Categoty Coding. (We wish classer les
étudiants par spécialité).
classify students by specialty).
First tranche: 1…810
Second tranche: 811…1620
Third tranche: 1621…2430
Fourth tranche: 2431…3240
The coding in each slice is sequential.
|____|____|____|____|
Spec N° Seq Max number= 4x 999= 4006 students
For example: first students of section G.L: 1621 its full code is:
|3|1621. This second format of the code is shorter.
5. Compare the two previous coding methods (number of recordings and quality
criteria).
Coding by Category ‘class’, although very simple and concise, requires a correspondence
table of the classes to be coded. On the other hand, articulated coding can cause saturation and
is complex (several descriptors).
-----------------------------------------------------------------------------------------------------------------
5) A Subscriber has here one and only one Motivation for registration, the marketing having
imposed a mandatory field in order to have this value. We therefore have 1 minimum, and 1
maximum. Hence the
cardinality (1;1).
A given Motivation concerns 0 or more Subscribers. We therefore have 0 minimum, and n in
maximum. Hence the cardinality (0;n).
Likewise, a Subscriber registers for one or more Sections: (1;n),
And a Section has 0 or more Subscribers: (0;n).
Finally, a Section sends 0 or more Newsletters: (0;n),
And a Newsletter belongs to one and only one Newsletter: (1;1).
The solution of Sheet DW N°04
LE DICTIONNAIRE DES DONNES :
Numéro Code désignation Type taille
01 CodeMbr Code member Digital 10
02 MbrName Nom member Alphabetical 25
03 MobileMbr Mobile Number Digital 10
04 N°Cop Copie Number Digital 10
05 Avail Availibility Boolean 1
06 N° Book Book Number Digital 10
07 Aut Author Alphabetical 25
08 Tit Title Alphabetical 50
09 NbrCop Number of copies Digital 2
10 Price Price Digital 10
11 Edit Editor Alphabetical 25
12 DateBorr Borrowing
date Date 8
13 DateRet Return
date Date 8
14 Dly Delay
Digital 3
Copie
Member
Loan
0.1
0.6
N°
Cop
CodeMbr
DateBorr
Avail
MbrName
DatRet
MobileMbr
Delay
1.1
C.I.F
4.*
Book
N°Book
Author
Title
NbrCop
Price
Editor
THE SOLUTION OF SHEET N° 05
Conceptual Data Model (CDM):
Race
PK RaceNumber RaceType
RaceDesigntion
PK RaceTypeCode
RacePrice
RaceTypeWording
RaceDate
FK RaceCategoryCode
FK RaceTrackCode
FK RaceTypeCode
Participate
PK
HoresCode
PK RaceNumber
PK JockyCode
Horse Owner
Jocky PK HorseCode PK OwnerNumber
HorseName OwnerName
PK JockyCode HorseSex
JockyName
HorseDateBirth
FK OwnerNumber
LA SOLUTION DE LA FICHE TD N° 06
1/ Le Modèle Conceptuel de Donnée
THE SOLUTION OF SHEET DW N° 07
Card
request
Request
processing
Grouped
Rejection
request
Card
Establissement
Always
Card
Provision
Receiving
cards
Mailing
preparation
Always
Deadline
2
Notification months
Exceeded
Withdraw
(DE)
request
(N)
(WR)
N
et
DE
Card
recovery
Destruction
Always
Always
Destroyed
Refundable
card
card
Organisationnel
Model
of
Treatment
(OMT)
:
Card
request
Grouped
request
Request
processing
d
Manual
Client
status
check
not
Client
Client
Card
Establissement
Autom
Always
Rejection
Card
d+4
Provision
Manual
Receiving
cards
Mailing
preparation
Always
Notification
(N)
Withdraw
request
(WR)
WR
et
N
Card
recovery
Manual
Always
Deadline
2
Refundable
months
Exceeded
d+64
card
(DE)
N
et
DE
Destruction
Manual
Always
Destroyed
card