Vous êtes sur la page 1sur 75

--------------------:‫االسم والشهرة‬

‫الجمهورية‬
‫اللبنانية‬
‫اإلمتياز الفني‬
---------------------- ‫لشهادة‬
: ‫المرشح‬ ‫اإلمتحانات الرسمية رقم‬ ‫وزارة التربية والتعليم العالي‬
‫ األولى‬5102 ‫لدورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
=========
)50112( - )50012( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬
‫ طرائق التحليل‬: ‫المادة‬
)05( : ‫المعدل‬
‫ ال شيء‬: ‫المستندات المسموح بها‬
‫ ثالث ساعات‬: ‫المدة‬

Traiter les questions suivants:

Question 1 : Transformer le MCD suivant en MLD: (5 pts)


personne
compag ni e
num_p date
num_comp
nom_p date
0,n nom_comp
tel _p
adr_p 1,n
1,n

es t avec

concerne annul er

employe 1,1
DDN fai t par vol
1,n
N SS num_vol
1,1 0,1
1,n dat_dep
1,1
res ervati on temps _dep
1,1 es t dans
num_res dat_arri v
dat_res temps _arri v

1,1 1,1

arri vee depart

vi ll e 1,n 1,n
num_vi ll e si tuer
1,n aeroport
nom_vi ll e 1,1
num_aerop
nom_aerop

Etude de cas1: Location du matériel

Il s'agit d'un système d'information d’une entreprise qui loue du matériel à ses clients.
Les locations se font dans les diverses agences de l’entreprise
Les interviews ont permis de détecter les règles de gestion suivantes :

RG l : Toute location porte sur une durée exprimée en nombre de semaines et d'au moins une
semaine.
RG2 : Une location concerne 1 ou plusieurs matériels.
RG3 : Toute location doit donner lieu à un contrat entre l'entreprise et le client.

Les interviews ont également permis le recueil des documents suivants :

LISTE DES CLIENTS


CODE NOM RUE VILLE TELEPHONE
000 1 SAMI HAMRA BEYROUTH 01-444560
000 2 DANI SAMI SOLEH BADARO 01-237854
000 3 FOUAD SYRIE TRIPOLI 06-250876

LISTE DES AGENCES


N° NOM

01 Beyrouth
02 Tripoli
03 Saida

CATALOGUE:
REF DESIGNATION PRIX DE LOCATION/SEMAINE
X01 AMPLI 200
X02 MAGNETOSCOPE 300
X03 TELE 150
X04 HAUT-PARLEUR 50
X05 DISQUE LASER 200

AGENCE 01
ETAT DU STOCK DISPONIBLE
REF
QUANTITE
DISPONIBLE
X01 20
X02 40
X03 40
X04 50
X05 10
CONTRATS EN COURS :

Contrat N° 300 Agence01


Date: 15/02/2015 client: 0001 SAMI
Durée: 4 semaines Montant: 1800

REF désignation quantité louée


X03 TELE 1
X02 Magnetoscope 1

Contrat N° 301 Agence02


Date: 16/02/2015 client: 0002 DANI

Durée: 2 semaines Montant: 600

REF désignation quantité louée


X01 AMPLI 1
X04 HAUT -PRLEUR 2

Contrat N° 302 Agence02


Date: 16/02/2015 client: 0001 SAMI

Durée: 2 semaines Montant: 300

REF désignation quantité louée


X03 TELE 1

)50112( - )50012( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬


‫ طرائق التحليل‬: ‫المادة‬

1. Établir le dictionnaire de données. (en précisant les noms des attributs,


leurs types et les éventuelles contraintes)

2. Construire le modèle conceptuel de données (MCD). ( en illustrant les


entités avec leurs identifiants et leurs propriétés et les relations avec
leurs cardinalités). (7 pts)
Etude de cas2: permis de conduite
L'examinateur envoie au département du service des permis un avis de réussite à l'examen du
permis, celui-ci délivre au candidat un permis de probatoire.

Si, au bout de 2 ans, le nouveau conducteur n'a pas commis d'infraction, le service des permis lui
envoie un permis confirmé avec un capital de point à son maximum (pour fixer les idées, 100
points).

Si, pendant la période probatoire, le conducteur se signale par une infraction, son permis lui est
retiré (retrait provisoire qui le contraint à passer un examen dans un délai de six mois).

Passé la période probatoire, les infractions relevées par la gendarmerie ou la police débutent le
capital des points du conducteur.

Les infractions sont soumises à un barème: 80 types d'infractions sont répertoriés avec une
pénalité variable 4 à 25 points, suivant la gravité. Lorsque le capital des points tombe à 20 ou en
dessous, le permis est retiré; il en est de même pour une infraction unique dont la valeur est 14
points ou plus.

Le retrait des points est signifié au conducteur par un avertissement.

Si le conducteur franchit une durée de 2 ans sans infraction, ses points retirés sont annulés et son
capital maximum recommence à partir de 100 points.

En cas d'infraction grave enregistrée par les gendarmes ou la police (conduite en état d'ivresse,
délit de fuite,…), le permis de conduire peut être retiré définitivement par un tribunal, sans
aucune effet sur le système par point intervienne.
La procédure de retrait définitif est applicable aussi pendant la période probatoire.

Travail à faire
a. Dessiner le diagramme des flux et des acteurs.
(2 pts)
b. Dessiner le modèle conceptuel des traitements (MCT).
(4 pts)
--------------------:‫االسم والشهرة‬
‫الجمهوريةللبنانية‬
‫اإلمتحانات الرسمية لشهادة اإلمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
----------------------: ‫رقم المرشح‬ ‫المديرية العامة للتعليم المهني والتقني‬
‫ األولى‬5102 ‫لدورة عام‬
=========
‫ طرائق التحليل‬: ‫) المادة‬50112( - )50012( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬
‫ ال شيء‬: ‫) المستندات المسموح بها‬05( : ‫المعدل‬
‫ ثالث ساعات‬: ‫المدة‬

Treat the following questions:

Question 1: Transform the following CDM to LDM: (5 pts)


pers on ai r l i ne
DAT E
p_num ai r_l ine_num
p_name date ai r_l ine_name
p_tel
0,n 1,n
p_adr 1,n

with
cancel
concern

1,1
fli ght
0,1 fli ght_num
employee 1,1 by 1,n
dep_dat
DOB 1,n make by 1,1 reservati on 1,1 dep_ti me
SSN
res_num arriv_date
res_dat arriv_ti me

1,1 1,1

from
to

ci ty 1,n 1,n
ci ty_num 1,n belong
ci ty_name 1,1 ai rport
ai rp_num
ai rp_name

Case study1: rental of equipment


It is an information system of a company that rents equipment to its customers.
Rentals are in the various agencies of the company.
Interviews have been detected the following management rules:
R l: all rentals have a duration expressed in number of weeks and at least a week.
R2: A rent concerns 1 or several materials.
R3: All rentals must lead to a contract between the company and the customer.

The interviews have also enabled the collection of the following documents:
Clients list
CODE NAME STREET CITY TEL
000 1 SAMI HAMRA BEIRUT 01-444560
000 2 DANI SAMI SOLEH BADARO 01-237854
000 3 FOUAD SYRIE TRIPOLI 06-250876

LIST OF AGENCIES
N° AGENCIE

01 Beirut
02 Tripoli
03 Saida

CATALOGUE:
REF DESIGNATION RENT PRICE/WEEK
X01 AMPLI 200
X02 MAGNETOSCOPE 300
X03 TELE 150
X04 SPEAKER 50
X05 LASER DISK 200

STATE OF AVAILABLE STOCK:

AGENCIE 01

REF AVAILABLE QUANTITY


X01 20
X02 40
X03 40
X04 50
X05 10

AGENCIE 02 ~X04

REF AVAILABLE QUANTITY


X01 40
X04 80
CURRENTS CONTRACTS:

Contract N° 300 Agencie01


Date: 15/02/2015 client: 0001 SAMI
Duration: 4 weeks amount: 1800

REF designation rental quantity


X03 TELE 1
X02 Magnetoscope 1

Contract N° 301 Agencie02


Date: 16/02/2015 client: 0002 DANI

Duration: 2 weeks amount: 600

REF designation rental quantity


X01 AMPLI 1
X04 SPEAKER 2

Contract N° 302 Agencie02


Date: 16/02/2015 client: 0001 SAMI

Duration: 2 weeks amount: 300

REF designation rental quantity


X03 TELE 1

)50112( - )50012( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬


‫ طرائق التحليل‬: ‫المادة‬

1. Establish the data dictionary. (Specifying the names of the attributes, their
types and any constraints).
(2 pts)
2. Build the conceptual data model (MCD). (Illustrating entities with their
identifiers and their properties and the relations with the cardinalities).
(7 pts)
Case of Study 2: driving permits
The examiner sends to the conduct permission service department a notice of successful
completion of the permit review, it shall issue to the candidate a probationary permit.

If, after 2 years, the new driver has not committed any offence, the permission service sends a
permit confirmed with a point at its maximum capital (to fix ideas, 100 points).

If, during the probationary period, the driver reported an offence, his permit was withdrawn
(provisional withdrawal which forced him to take an examination within a period of six months).

Past the probationary period, the offences identified by the gendarmerie or the police start the
capital of driver's points.

The offences are subject to a scale: 80 types of offences are listed with a variable penalty 4 to 25
points, depending on the severity. When the capital of point's falls to 20 or below, the license is
withdrawn; it is the same for a single infringement which its value is 14 points or more.

The withdrawal of points is signified to the driver by a warning.

If the driver passes a period of 2 years without offence, his removed points are cancelled and its
maximum capital restarts from 100 points.

In the event of serious offences recorded by police or gendarmes (driving in state of


drunkenness, hit-and-run driving...), driving licenses can be removed permanently by a court,
without any effect of the point system.

The final withdrawal procedure is also applicable during the probationary period.

1. Draw the diagram of flows and the actors. (2 pts)


2. Draw the conceptual model of treatments (TCM). (4 pts)

Exercice 1
Personne(num_p , nom_p , tel_p, adr_p)
Employé(num_p ,DDN, NSS)
Reservation(num_res ,dat_res , num_p ,num_p_emp)
Annuler(num_res ,date)
Vol(num_vol ,dat_dep ,temps_dep ,dat_arriv , temps_arriv ,num_comp ,num_aerop_depart
,num_aerop_arriv)
Aeroport(num_aeropor ,nom_aeroport ,numville)
Ville(numville, nom_ville)
Compagnie(num_comp ,nom_comp)
Correction session 2015 _1 ex2
1_dictionnaire de données
Information Type longueur Nature contraintes
N A Text date EL CO Ca sig mv
Code client N 4 el sig séquentiel
Nom client A 15 el Sig
Nom ville A 20 el Sig
Nom rue A 20 El Sig
Id_rue N 4 El sig Sequential à
créer
Id_ville N 3 El Sig Sequential à
créer
Telephone client N 8 El Sig
Numéro agence N 2 El Sig
Nom agence A 15 El sig
REF materiel Text 3 El Sig
Designation A 15 El Sig
materiel
Prix location par N 3 El Sig
semaine
Quantité N 2 El Mv >=0
disponible
materiel /agence
Numéro contrat N 3 El Mv sequentiel
Date contrat Date - El Mv <=date
système
Quantité louée N 2 El Mv >0
Durée contrat N 2 El Mv >0
Session 2015_1 Agence

Rue region
se situer
id_rue id_region
client avoir adresse 1,1 1,n
1,n nom rue nom region
code client 1,1
nom client
telephone
1,n

se rapporte
contrat de location
1,1
numéro contrat
date contrat
1,1
durée
est signé dans
1,n

contenir
1,n quantité louée

agence
numéro agence
nom agence
1,n 1,n

Materiel
stock
REF
quantité disponible en stock
1,n Designation
prix location par semaine
--------------------:‫االسم والشهرة‬ ‫الجوهىرَت‬
‫اللبنانُت‬
: ‫المرشح‬ ‫رقم‬
ٍ‫اإلهخحاناث الرسوُت لشهادة اإلهخُاز الفن‬
---------------------- ٍ‫وزارة الخربُت والخعلُن العال‬
‫ الثانُت‬5102 ‫لدورة عام‬ ٍ‫الودَرَت العاهت للخعلُن الوهنٍ والخمن‬
=============
)50112 -50012( ‫ الوعلىهاحُت اإلدارَت‬: ‫اإلخخصاص والرهس‬
)05( : ‫الوعدل‬ ‫ طرائك الخحلُل‬: ‫الوادة‬
0 : ‫الودة‬ ‫ ال شٍء‬: ‫الوسخنداث الوسوىح بها‬
‫ساعاث‬

Exercice 1: (2 pts)
Le schéma suivant modélise le travail d’une société immobilière dont l’activité consiste à louer
des locaux. Chaque contrat revient à un seul client et une seule maison.
Expliquer l’erreur et rectifier le MCD.
CLIENT MAISON
Cli ent_ID Louer Code_Maison
0,n 0,n
Cli _Nom Surface
Adresse

1,1 0,n

CONTRAT
Contrat_ID
Cont_Date
Durée_Location

Exercice 2: (6 pts)
Transformer le MCD suivant en Modèle Logique des Données (MLD).
Artiste
Perso# Clients
PNom
Client#
PPrénom
CliPrénom
CliNom
CliPhone

1,n

Acteur Producteur
Fait

1,n 1,n
1,1
Emprunt
Joue Produit
Emprunt#
Empdate
Retourdate
Films
Coût
1,n Film# 1,1
1,n
FilmTitre
Année
Durée 1,n
1,1 1,1 A_Pour Concerne

A_Type A_Langue

(1,1) 0,n
1,n 1,n Copie
Type Langue CopieNb
Typecode Languecode Disponibilité
TypeDesign LangueDesign

)50112 - 50012( ‫ الوعلىهاحُت اإلدارَت‬: ‫اإلخخصاص والرهس‬


‫الوعدل‬ ‫ طرائك الخحلُل‬: ‫الوادة‬
)05( :

Exercice 3: (6 pts)
Un aéroport souhaite mémoriser dans une base de données les informations nécessaires à la
description des faits suivants:
 Chaque avion géré est identifié par un numéro d’immatriculation. Il est possédé par une seule
société, on doit connaître le nom, l’adresse et le numéro de téléphone du propriétaire
(société), ainsi que la date d’achat de l’avion.
 Chaque avion a un type, ce type est caractérisé par son nom, la puissance du moteur et le
nombre de places. Un type est fabriqué par un constructeur. Chaque constructeur peut
fabriquer plusieurs types.
 La maintenance des avions est assurée par les ingénieurs de l’aéroport. Pour de sécurité, les
interventions sont toujours effectuées par deux ingénieurs (un ingénieur répare et l’autre
vérifie). Un ingénieur peut, selon les interventions, effectuer la réparation ou la vérification.
Pour toute intervention effectuée, on sauvegarde l’objet de l’intervention, la date et la durée.
 Pour chaque ingénieur, il faut connaître: son nom, adresse, numéro de téléphone et les types
d’avions sur lesquels il est capable à intervenir.
 Un certain nombre de pilotes est enregistré auprès de l’aéroport. Pour chaque pilote on
connaît: son nom, adresse, numéro de téléphone, son numéro de brevet de pilote et les types
d’avions qu’il est capable à les piloter.
 On doit sauvegarder le nombre total de vols effectué par chaque pilote sur chaque type
d’avion.

Construire le modèle conceptuel de données (MCD) : Entités avec identifiant et


propriétés, relations, cardinalités et possibles contraintes.

Exercice 4: (6 pts)
Construire le diagramme des flux et ensuite le Modèle Conceptuel des Traitements (MCT)
correspondants au cas suivant.

Abonnements au ciné-club CULTURA


A partir du 1er octobre de chaque année, le ciné-club envoie des propositions d’abonnement
(demandes à remplir) à ses anciens abonnés ainsi qu’à des personnes dont leurs informations sont
enregistrées dans un fichier acheté à travers d'une compagnie postale.
Les personnes intéressées renvoient la demande remplie avec un chèque du montant indiqué.
Après le 1er novembre, aucune réponse n’est acceptée (retour du chèque avec une lettre
d’accompagnement).
Les personnes inscrites reçoivent une liasse de billets dits « prévisionnels » pour 30 spectacles
(projections) répartis durant l’année ainsi que le programme des films.
Pour chaque projection de film, les abonnés doivent confirmer par téléphone la projection choisie
et durant 2 jours avant la date de la représentation du film.
Dans le jour J, l'abonné se présente au guichet du ciné-club son billet, au moins une ½ heure
avant le début de la projection. Son billet « prévisionnel » est alors transformé en billet réel.
Ensuite l'abonné peut alors entrer dans la salle du cinéma.
Si l'abonné arrive trop tard, son billet prévisionnel est annulé et la place est récupérée par d’autre
spectateur hors abonnement.
--------------------:‫االسم والشهرة‬ ‫الجوهىرَت‬
‫اللبنانُت‬
---------------------- : ‫المرشح‬
ٍ‫الفن‬ ‫اإلهخحاناث الرسوُت لشهادة رقم‬
‫اإلهخُاز‬ ٍ‫وزارة الخربُت والخعلُن العال‬
‫ الثانُت‬5102 ‫لدورة عام‬ ٍ‫الودَرَت العاهت للخعلُن الوهنٍ والخمن‬
=============
)50112 - 50012( ‫ الوعلىهاحُت اإلدارَت‬: ‫اإلخخصاص والرهس‬
)05( : ‫الوعدل‬ ‫ طرائك الخحلُل‬: ‫الوادة‬
0 : ‫الودة‬ ‫ ال شٍء‬: ‫الوسخنداث الوسوىح بها‬
‫ساعاث‬

Exercise 1: (2 pts)
The following schema presents the work of a real estate company whose business is to rent
spaces. Each contract is for only one customer and only one house.
Explain the error and correct the CDM.
HOUSE
CUSTOMER
0,n Rent House_Code
Cust_ID 0,n
Cust_Name Surface
Address

0,n

CONTRACT
Cont_ID
Cont_Date
Renting_Duration

Exercise 2: (6 pts)
Transform the following CDM into Logical Data Model (LDM).
Artist
Pers#
PFname
PLname

CLient
Client#
ClientFN
ClientLN
Actor Producer ClPhone
1,n

1,n 1,n Does

Produce
Play
1,1 Borrowing
Film Borr#
1,n Film# 1,1 Bdate
FilmTitle Rdate
Year Cost 1,n
Duration 1,n
1,1 1,1
Is_for
Belongs
Has_Kind Has_Lang

1,n 1,n (1,1) 0,n


Kind Language Copy
Kindcode Languagecode CopyNb
KindDesign LanguageDesign Availability

)50112 - 50012( ‫ الوعلىهاحُت اإلدارَت‬: ‫اإلخخصاص والرهس‬


‫الوعدل‬ ‫ طرائك الخحلُل‬: ‫الوادة‬
)05( :

Exercise 3: (6 pts)
An airport wants to store in a database the information necessary for the description of the
following:
 Each managed aircraft is identified by a registration number. It is owned by one company, we
must know the name, address and telephone number of the owner (company), and the
purchase date of the aircraft.
 Each aircraft has a type, this type is characterized by its name, engine power and the number of
places. A type is made by one manufacturer. A manufacturer may produce many types.
 Aircraft maintenance is provided by the airport engineers. For safety, the interventions are
always performed by two engineers (one engineer repairs and the other verifies). An engineer
can, according to the interventions, perform reparation or verification. For any work
(intervention) done, you have to store the object of the intervention, the date and duration.
 For every engineer, we should know: his name, address, phone number and types of aircraft on
which he is able to operate.
 A certain number of pilots are registered in the airport. For each pilot we know: his name,
address, phone number, his pilot's license number and types of aircraft that he is able to fly on.
 We must save the total number of flights done by each pilot on each aircraft type.

Construct the conceptual data model (CDM): Entities with identifiers and properties,
relations, cardinalities, and probably constraints.

Exercise 4: (6 pts)
Construct the data flow diagram and then the Conceptual Treatment Model (CTM)
concerning the following case.

Subscriptions to the cinema-club CULTURA


From 1 October of each year, the cinema-club sends subscription propositions (applications to
fill) to its previous subscribers as well to people where their information are registered in a
purchased file through a company mailing.
Interested persons return the application completed with a check of the indicated amount. After 1
November, no response is accepted (return of the check with an accompanying letter).
Registered persons receive a wad of tickets called "forecast" for 30 shows (projections)
distributed during the year with the movies program.
For each film projection, subscribers must confirm by phone, the chosen projection during 2 days
before the date of the film representation.
On the day D, the subscriber presents to the cinema-club ticket office its ticket at least ½ hour
before the beginning of the projection. The “forecast" ticket is then transformed into real ticket.
Then the subscriber can enter the cinema hall.
If the subscriber arrives too late, its forecast ticket is cancelled and the place is taken by another
spectator without subscription.
Solution ex1
L’erreur : ce modèle permet de louer plusieurs maisons à plusieurs clients dans un seul
contrat, en concept , il faut qu’un contrat concerne une seule maison pour un client
This model allows many clients to have many houses in one signed contract.
Correct CDM
housse
code_housse contract
surface contract_id client
1,n concerne signed by
address 1,1 contract_date 1,1 1,n client_id
renting duration client_name
Solution ex3

Dictionnaire des données


Information Type longueur Nature Contraintes
N A Text date EL CO Ca sig mv
numéro Text 10 El sig Sequential
d’immatriculation
Nom société A 20 El Sig
Nom Adresse société A 20 El Sig
numéro de téléphone 8 8 El Sig
Date achat avion date - El Sig
Nom type avion Text 15 El Sig
Puissance de moteur N 3 el sig
Nb places N 3 El sig
Nom constructeur A 20 El Sig
Numéro maintenance N 4 El Mv Sequential
à créer
Date maintenace date - El mv <= date sys
Durée maintenace N 1 El
Nom ingenieur A 15 EL SIG
Prénom ingenieur A 15 EL Sig
Nom objet A 25 El Sig
maintenance
Id_objet_maintenance N 2 El Sig Sequential
à créer
Téléphone ingenieur N 8 El Sig
Nom pilote A 15 El Sig
Prenom pilote A 15 El Sig
Numéro de téléphone N 8 El Sig
de pilote
Id_pilote N 3 El Sig Séquentiel
à créer
Numéro de brevet Text 10 El Sig
nombre total de vols N 4 El mv
Id societé N 3 El Sig Séquentiel
à créer
Id_adresse N 4 el SIG Séquentiel
à créer
ID type avion N 3 EL SIG Séquentiel
à créer
ID_constructeur N 3 El SIG Séquentiel
à créer
ID_ingenieur N 3 El Sig Séquentiel
à créer
MCD

Session_2015_2 PILOTE société


id_société
1,n nom société
numéro téléphone de la société
est possédé par 1,1
avoir
avion personne 0,n adresse_region
Numéro d'immatriculation 1,1 id_adresse
date d'achat de l'avion
num_p
nom_p nom adresse
1,1 tel_p 1,1 0,n

a avoir

Pilote
1,n
numéro brevet pilote
1,n
type avion
1,n
id_type_avion ingenieur
nom type avion
puissance moteur 1,n capable de piloter
1,n
nombre places
nb de vols
1,n 0,n 0,n
1,1

peut intervenir

fabriqué par
verifier reparer

1,n constructeur
id_constructeur
subir nom constructeur 1,1 1,1
maintenance _intervention
1,1 numéro intervention
objet de maintenance date intervention
id_objet_maintenance avoir 1,1
1,n durée intervention
nom objet maintenance
Exercice 4
SESSION_2016_1
Exercice 1: (3 pts)
Le schéma suivant représente l’appartenance des étudiants à des groupes de travaux dirigés (TD)
dans dessalles. Les règles de gestion sont les suivantes:
 Un groupe de travaux dirigés (TD) peut avoir des cours dans une seule salle.
 Un étudiant peut appartenir à plusieurs groupes de travaux dirigés (TD).
Rectifier le MCD.

Numéro_Etudiant

Nombre_de_Places Nombre_Etudiants

Date_de_Naissance Nombre_de_Fenêtres

Exerci
ce 2:
(7 pts)
Gestion de société
Une entreprise est organisée par divisions implantées géographiquement en des lieux différents.
Chaque division est identifiée par un numéro et possède un nom.
Les employés de l'entreprise sont identifiés par un numéro. On connaît leurs noms, leurs
téléphones, leurs sexes et leurs salaires. Ils travaillent dans une seule division. Les
employés peuvent être des vendeurs,alors ils peuvent avoir une commission.
Les employés sont supervisés par un chef qui est lui-même un employé.
Un employé peut appartenir à une équipe identifiée par un numéro. Chaque équipe a une
compétence. Mais plusieurs équipes peuvent avoir la même compétence qui possède un nom.
Un projet coordonné par un chef de projet, est caractérisé par un numéro, un nom, un thème
et des dates de début et de fin. Les projets ont une date d'échéance et sont conçus pour des
clients ayant des noms, des téléphones et des adresses.
Un projet est constitué de tâches caractérisées par un numéro et un nom. Le coût de la tâche
dépend du projet.
Les employés peuvent participer à certaines de ces tâches entre deux dates déterminées.
Les tâches utilisent des matériels identifiés par un numéro et désignés par un nom. Un matériel
peut lui- même être composé d'autres matériels.
Travail à faire :
1. Etablir le dictionnaire des données (attributs, types et contraintes).
2. Etablir le modèle conceptuel des données (MCD) en précisant les entités (identifiant et
propriétés), les relations, les cardinalités et les contraintes.
Exercice 3: (5 pts)
Transformer le MCD suivant des CV en Modèle Logique des Données (MLD).
Salaire
Montant 0,n
0,n

Encaisser Vouloir
Entreprise
Num_Entreprise
Nom_Entreprise 1,n Manière
Téléphone
Code_Manière
Personne 1,n Description
1,1 Num_Personne
A_Travaillé_Chez 1,1
Nom
Date_Fin 0,n Pratiquer
Prénom 1,n
1,n Sexe Niveau
0,n Date_Naissance Langue
Date_Jour Téléphone Code_Langue
1,n
Nom_Langue
JJMMAA 0,n
0,n
0,n
0,n
Obtenir
Date_Dip Hobby
A_Exercé
Aimer Code_Hobby
Date_Fin_Fonc 1,n
Libellé_Hobby

1,n
Diplôme Spécialisation
Fonction
Code_Dip 1,n 1,n Spéc_Code
Code_Fonction
Libellé_Dip Spéc_Libellé
Libellé_Fonc

Exercice 4: (5 pts)
Dresser le Modèle Conceptuel des Traitements du cas suivant :
Remboursement d’un sinistre par une compagnie d’assurance
Lorsqu’un agent de la compagnie reçoit une déclaration de sinistre, il consulte le dossier de l’assuré et
contrôle la validité de la déclaration. Si le risque n’est pas couvert, la déclaration est rejetée en envoyant
une lettre de refus à l’assuré. Si le risque est couvert, l’agent transmet cette déclaration au responsable des
sinistres.
Ce dernier contrôle le solde du compte du dossier de l'assuré, ouvre un dossier du sinistre, puis édite un
ordre de mission pour l’expert.
Lorsque l’assuré possède la facture de réparation du garage, il l’envoie au responsable des sinistres.
De son côté et après vérification de l’accident, l’expert envoie son rapport directement au responsable des
sinistres qui contrôle le rapport de l’expert et contrôle la facture présentée par l’assuré. Si la facture n’est
pas conforme, il élabore une lettre de refus, sinon il calcule le montant de l’indemnisation, ferme le
dossier et édite le chèque de remboursement.
Les chèques sont envoyés au début de la semaine aux agents concernés pour avoir une remise aux
assurés.
Exercise 1: (3 pts)
The following schema shows the students affiliation for groups of practical works (TD) in classrooms.
The business rules are the following:
• A group of practical works (TD) can have classes in one room.
• A student may belong to several groups of practical works (TD).
Correct the CDM.

1,n

Exercise 2: (7
pts)
Company Management
A company is organized geographically by divisions located in different places. Each division is
identified by a number and has a name.
The company's employees are identified by a number. We know their names, phones, genders and
salaries. They work in one division. Employees may be salesmen, so they have a commission.
Employees are supervised by one supervisor who is himself an employee.
An employee can belong to a team identified by a number. Each team has a skill. But several teams may
have the same skill that has a name.
A project coordinated by a project manager, is characterized by a number, a name, a theme and dates of
beginning and end. The projects have a deadline and are designed for customers having name, phone and
addresses.
A project has tasks characterized by a number and a name. The cost of the task depends on the project.
Employees can participate in some of these tasks between two specified dates.
The tasks use materials identified by a number and designated by a name. A material may itself be
composed of other materials.
Work to do:
1. Establish the data dictionary (attributes, types and constraints).
2. Establish the conceptual data model (CDM) with specifying the entities (identifier and
properties),relations, cardinalities and constraints.
Exercise 3: (5 pts)
Transform the following MCD of CV in Logical Data Model (LDM).
Salary
Amount 0,n
0,n

Earn Want
Company
Company_Id
Company_Name 1,n Way
Phone
Way_Code
Person 1,n Label_Way
1,1 Person_Id 1,1
Has_Work_In
Last_Name
End_Date 0,n Practice
First_Name
1,n
1,n Sex Level
Date_Birth Language
0,n
Phone 1,n
DateOfDay
Lang_Name
DDMMYY 0,n 0,n
0,n
0,n
Take Hobbies
Dip_Date Hobby_Code
Done Like 1,n
Hobby_Label
Job_End_Date

1,n Diploma Major


Job Dip_Code 1,n Major_Code
Dip_Label 1,n
Job_Code Major_Label
Lob_Label

Exercise 4: (5 pts)
Draw the Conceptual Treatment Model of following case:
Payment of a claim by an insurance company
When an agent in the company receives a claim, he consults the insured file and checks the validity of the
declaration. If the accident is not covered, the declaration is rejected by sending a refusal letter to the
policyholder. If the accident is covered, the agent sends this declaration to the responsible of claims.
The latter controls the account balance of the file of policyholder, opens an accident file, and then
publishes a mission order for the expert.
When the policyholder has the reparation invoice from the garage, he sends it to the responsible of claims.
For his part and after the verification of the accident, the expert sends his report directly to the responsible
of claims that controls the expert report and controls the invoice submitted by the policyholder. If the
invoice does not comply, he develops a rejection letter; otherwise he calculates the amount of
compensation, closes the file, and edits the refund check.
Checks are sent at the beginning of every week to the concerned agents to discount to policyholders.
‫الجمهورية اللبنانية‬
‫االسم والشهر ة‪--------------------:‬‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫رقم المرشح ‪--------------------:‬‬ ‫دورة عام ‪ 2016‬الثانية‬ ‫المديرية العامة للتعليم المهني والتقني‬
‫===============‬
‫‪ :‬المعلوماثٌة االدارٌة )‪(23107‬‬ ‫االختصاص والر مز‬
‫المعدل ‪(12) :‬‬ ‫‪ :‬طرا ئق الثحل ٌل‬ ‫الما دة‬
‫المدة ‪ 3 :‬شاعاث‬ ‫‪ :‬ال شٍء‬ ‫المستندات المسموح بها‬
‫الجمهورية اللبنانية‬
--------------------:‫االسم والشهر ة‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
--------------------: ‫رقم المرشح‬ ‫ الثانية‬2016 ‫دورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
===============
(23107) ‫ المعلوماثٌة االدارٌة‬: ‫االختصاص والر مز‬
(12) : ‫المعدل‬ ‫ طرا ئق الثحل ٌل‬: ‫الما دة‬
‫ شاعاث‬3 : ‫المدة‬ ‫ ال شٍء‬: ‫المستندات المسموح بها‬

Exercice 1: (3 pts)
1. Expliquer la différence entre les 2 Modèles Conceptuels des Données (MCD) ci-dessous.
2. L’un fournit-il des informations plus détaillées que l’autre? Si oui, lequel ?
a)

1,n

b)
Fait
1,n
Kmparcourus
1,n

1,n
Conduit
1,n
Kmparcourus

Exercice 2: (7
pts)
Excursions
Une société de tourisme spécialisée dans des excursions en autobus souhaite établir une base de données
pour gérer les clients, les réservations, les excursions et les bus avec chauffeurs et hôtesses
d'accompagnement.
Plus précisément, nous voulons:
 Identifier un client (nom, prénom, date de naissance, sexe), le contacter par téléphone, savoir
toutesles réservations faites par lui.
 Décrire une excursion par un nom, une date, la ville de départ et la ville d'arrivée, les villes d'escale
(s’il y a lieu).
 Connaître pour les employés de la société: nom, prénom, date d’embauche et téléphone mobile.
Pour les chauffeurs, on voudra connaître en plus, le numéro du permis de conduire, le type d'autobus
qu'ils conduisent et les accidents possibles dans lesquels ils ont été impliqués.
 Avoir pour chaque autobus: son numéro séquentiel dans l’entreprise, le nombre de places, son type et
plusieurs éléments descriptifs: AC, écran DVD par place, frigo, etc.

Règles de gestion :
 Un autobus possède un seul type : Van, Pullman, etc. On a plusieurs autobus d’un même type.
 Une réservation concerne un seul client.
 Une réservation correspond à un seul voyage.
 Une réservation est prise par un seul employé. Elle a une date, un montant (comme avance) et un
nombre de personnes.
 Une réservation peut être annulée 48 heures avant le départ. La date d’annulation doit être
sauvegardée. L’annulation est faite par un employé qui n’est pas nécessairement celui qui a fait la
réservation.
 Une excursion peut ou non avoir plusieurs villes d'escale. Chaque ville escale a son rang durant le
trajet.
 Une excursion peut exiger plus d’un autobus. Chaque autobus, pour une excursion, exige une
‫الجمهورية اللبنانية‬
‫االسم والشهر ة‪--------------------:‬‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫رقم المرشح ‪--------------------:‬‬ ‫دورة عام ‪ 2016‬الثانية‬ ‫المديرية العامة للتعليم المهني والتقني‬
‫===============‬
‫‪ :‬المعلوماثٌة االدارٌة )‪(23107‬‬ ‫االختصاص والر مز‬
‫المعدل ‪(12) :‬‬ ‫‪ :‬طرا ئق الثحل ٌل‬ ‫الما دة‬
‫المدة ‪ 3 :‬شاعاث‬ ‫‪ :‬ال شٍء‬ ‫المستندات المسموح بها‬
‫‪hôtesseet un chauffeur.‬‬
‫‪‬‬ ‫‪Une excursion peut être faite à n’importe quelle période de l’année. Le prix par personne d'une‬‬
‫‪excursion dépend de la période de l’année. Une période a une date début et une date fin.‬‬
‫الجمهورية اللبنانية‬
--------------------:‫االسم والشهر ة‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
--------------------: ‫رقم المرشح‬ ‫ الثانية‬2016 ‫دورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
===============
Travail à faire : (23107) ‫ المعلوماثٌة االدارٌة‬: ‫االختصاص والر مز‬
(12) : ‫المعدل‬ ‫ طرا ئق الثحل ٌل‬: ‫الما دة‬
‫ شاعاث‬3 : ‫المدة‬ ‫ ال شٍء‬: ‫المستندات المسموح بها‬
1. Etablir la liste des attributs.
2. Etablir le Modèle Conceptuel des Données (MCD) en précisant les entités (identifiant et
propriétés),les relations et les cardinalités.

Exercice 3: (5 pts)

Transformer le MCD suivant en Modèle Logique des Données (MLD).

1,n

0,1

1,n

Exercice 4: (5 pts)

Dresser le Modèle Conceptuel de Traitement (MCT) du cas suivant dans un garage.

Réparation automobile
Le client prend un rendez-vous pour la réparation de son véhicule.
Le jour convenu, le client se présente à la réception du garage et indique au chef d’atelier les révisions et
les réparations à effectuer. Le chef d’atelier les note sur une fiche de travail.
Le véhicule est pris en charge par un mécanicien. S’il détecte des réparations non prévues, le chef
d’atelier contacte le client par téléphone et demande son accord sur le complément de réparation. Si le
client refuse, seuls les travaux initialement prévus seront effectués.
Le mécanicien rédige un bon de sortie des pièces nécessaires du « stock des pièces de rechange ». Il
effectue les réparations et note sur la fiche de travail le nombre d’heures passées pour la réparation.
Le bon de sortie des pièces de rechange et la fiche de travail sont transmis au service de facturation qui
établit la facture.
Quand le client vient récupérer son véhicule, le caissier lui remet la facture et encaisse le paiement. La
voiture est alors rendue au client.
‫الجمهورية اللبنانية‬
--------------------:‫االسم والشهر ة‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
--------------------: ‫رقم المرشح‬ ‫ الثانية‬2016 ‫دورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
===============
(23107) ‫ المعلوماثٌة االدارٌة‬: ‫االختصاص والر مز‬
(12) : ‫المعدل‬ ‫ طرا ئق الثحل ٌل‬: ‫الما دة‬
‫ شاعاث‬3 : ‫المدة‬ ‫ ال شٍء‬: ‫المستندات المسموح بها‬

Exercise 1: (3 pts)
1. Explain the difference between the 2 Conceptual Data Models (CDM) below.
2. Does one provide more detailed information than the other? If yes, which?
a)

1,n

b)

Exercise 2: (7
pts)
Trips
A tourism company specialized in bus trips wishes to establish a database to manage customers,
reservations, trips and buses with drivers and accompanying hostesses.
Specifically, we want to:
 Identify a customer (last name, first name, date of birth, gender), contact him by phone, and know all
reservations made by him.
 Describe a trip by a name, a date, departure city and arrival city, and stopover cities (if any).
 Knowing for the employees of the company: last name, first name, the hire date and the mobile
phone. For drivers, we want to know in addition, their driving license number, the type of bus they
drive and possible accidents in which they were involved.
 Have for each bus: its sequential number in the company, the number of places, its type and many
descriptor elements: AC, DVD screen for each place, fridge, etc.

Management rules :
 A bus has a single type: Van, Pullman, etc. We have several buses of the same type.
 A reservation belongs to one customer.
 A reservation corresponds to a single trip.
 A reservation is made by one employee. It has a date, an amount (as advance) and a number of
persons.
 A reservation can be canceled 48 hours before departure. The cancellation date should be stored.
Cancellation can be made by an employee who is not necessarily the same one who made the
reservation.
 A trip may or may not have multiple stopover cities. Each stopover city has its rank during the trip.
 A trip may require more than one bus. Each bus, for a trip, requires a hostess and a driver.
 A trip can be made at any period of year. The price per person for a trip depends on the period. A
‫الجمهورية اللبنانية‬
‫االسم والشهر ة‪--------------------:‬‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫رقم المرشح ‪--------------------:‬‬ ‫دورة عام ‪ 2016‬الثانية‬ ‫المديرية العامة للتعليم المهني والتقني‬
‫===============‬
‫‪ :‬المعلوماثٌة االدارٌة )‪(23107‬‬ ‫االختصاص والر مز‬
‫المعدل ‪(12) :‬‬ ‫‪ :‬طرا ئق الثحل ٌل‬ ‫الما دة‬
‫المدة ‪ 3 :‬شاعاث‬ ‫‪ :‬ال شٍء‬ ‫المستندات المسموح بها‬
‫‪period has a start date and an end date.‬‬
‫الجمهورية اللبنانية‬
--------------------:‫االسم والشهر ة‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬
‫وزارة التربية والتعليم العالي‬
--------------------: ‫رقم المرشح‬ ‫ الثانية‬2016 ‫دورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
===============
Work to do: (23107) ‫ المعلوماثٌة االدارٌة‬: ‫االختصاص والر مز‬
1. Establish the : ‫دل‬of
(12)list ‫المع‬attributes. ‫ طرا ئق الثحل ٌل‬: ‫الما دة‬
2. ‫ث‬ ‫ا‬ ‫ع‬‫ا‬ ‫ش‬ 3 : ‫ة‬ ‫د‬ ‫م‬ ‫ل‬ ‫ا‬ ‫ء‬ ٍ‫ش‬ ‫ال‬ :
Establish the Conceptual Data Model (CDM), specifying the entities (identifier and properties), ‫ا‬ ‫ه‬‫ب‬ ‫ح‬ ‫و‬ ‫م‬ ‫س‬‫م‬ ‫ل‬ ‫ا‬ ‫دات‬ ‫ن‬‫ال م س ت‬
relations and cardinalities.
Exercise 3: (5 pts)
Transform the following CDM into Logical Data Model (LDM).

1,n 1,1 1,n 1,1

1,n
1,n
1,n
Teach Divide

0,n
1,n 1,n

Can_Teach
0,n 1,n
0,1

ManageTraining

1,1

1,n

Supervise
0,n

0,n

Exercise 4: (5 pts)
Draw the Conceptual Treatment Model (CTM) of the following case in a garage:
Auto repair
The customer takes an appointment for the repair of his vehicle.
On the appointed day, the customer arrives to the reception of the garage and tells the workshop manager
about revisions and repairs to do. The workshop manager writes these notes on a worksheet.
The vehicle is supported by a mechanician. If he detects unexpected repairs, the workshop manager
contacts the customer by phone and asks for his agreement to the supplement repair. If the customer
refuses, only the initial planned work will be done.
The mechanician writes a voucher for the needed parts of the "stock of spare parts". He performs the
repairs and writes on the worksheet the number of hours for repair.
The voucher of spare parts and the worksheet are sent to invoicing department which issues the invoice.
When the customer comes to retrieve his vehicle, the cashier gives him the invoice and takes the payment.
The vehicle is then returned to the client.
‫الجمهورية اللبنانية‬
‫االسم والشهر ة‪--------------------:‬‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫رقم المرشح ‪--------------------:‬‬ ‫دورة عام ‪ 2016‬الثانية‬ ‫المديرية العامة للتعليم المهني والتقني‬
‫===============‬
‫‪ :‬المعلوماثٌة االدارٌة )‪(23107‬‬ ‫االختصاص والر مز‬
‫المعدل ‪(12) :‬‬ ‫‪ :‬طرا ئق الثحل ٌل‬ ‫الما دة‬
‫المدة ‪ 3 :‬شاعاث‬ ‫‪ :‬ال شٍء‬ ‫المستندات المسموح بها‬

‫السؤال ‪ 3) :1‬عﻼمات(‬
‫‪ .1‬إشرح الفرق بٌى الىموذجٌى )‪ (CDM‬أدىاه‪.‬‬
‫‪ .2‬هل هىان ىموذج ٌوفّر معلوماث أندر مى اِخر؟ إذا ناى اﻷمر نذلن‪ ،‬أذنر ما هو؟‬
‫ثف ص ٌ‬
‫أ(‬

‫‪1,n‬‬

‫ب(‬

‫السؤال ‪ 7) :2‬عﻼمات(‬
‫رحﻼت‬
‫ثرغب شرنة شٌاحة مثخصصة فٍ إقامة رحﻼث بالباصاث بإىشاء قاعدة بٌاىاث إلدارة الزبائى‪ ،‬والحج وزاث‪ ،‬والرحﻼث‪ ،‬والب اصاث مع‬
‫الشائقٌى والمضٌفاث المرافقاث‪.‬‬
‫علي و جه الثحدٌد‪ ،‬ىرٌد‪:‬‬
‫‪ ‬الثعرف علي الزبوى )االش م‪ ،‬الشهرة‪ ،‬ثارٌخ الوالدة‪ ،‬الجىش(‪ ،‬رقم هاثفه لﻺثصال به‪ ،‬معرفة الحجوزاث الثٍ ثمث مى قبله‪.‬‬
‫‪ ‬وصف الرحلة مى خﻼل إشمها‪ ،‬ثارٌخها‪ ،‬مدٌىة اإلى طﻼق وم دٌىة الوصول‪ ،‬مدى اإلشثراحة أو الثوقف )إى وجدث(‪.‬‬
‫‪ ‬معرفة موظفٍ الشرنة‪ :‬اإلشم‪ ،‬الشهرة‪ ،‬ثا رٌخ بدء العمل‪ ،‬الهاثف المحمول‪ .‬للشائقٌى‪ ،‬ىرٌد أى ىعرف أٌضا ّ إضافةّ لما شبق ذنره‪ ،‬رقم‬
‫رخصة الشوق‪ ،‬وى وع الباص الذٌ ٌقود ه‪ ،‬وح وادد الشٌر الشابقة الثٍ قد حددث معهم‪.‬‬
‫‪ ‬معرفة لﻜل باص‪ :‬رقمه الثشلشلٍ فٍ الشرنة‪ ،‬عدد المقاعد‪ ،‬ى وعه والممٌزاث مدل‪ ، AC:‬شا شة ‪ DVD‬لﻜل مقعد‪ ،‬دﻼجة صغٌرة‪،‬‬
‫الخ‪.‬‬
‫قواعد إدارية‪:‬‬
‫‪ ‬الباص هو مى ىوع و احد ‪ :‬فاى‪ ،‬بولماى‪ ،‬الخ‪ .‬لدٌىا العدٌد مى البا صاث مى ىفش الىوع‪.‬‬
‫‪ ‬الحجز هو لزبوى واحد‪.‬‬
‫‪ ‬الحجز ٌخص رحلة واحدة‪.‬‬
‫‪ٌ ‬ثم إجراء الحجز مى قبل موظف واحد‪ .‬الحجز لدٌه ثارٌخ‪ ،‬مبلغ )ندفعة أولي( وعدد اﻷشخاص المرفقٌى بالحجز‪.‬‬
‫‪ٌ ‬مﻜى إلغاء الححز قبل ‪ 48‬ش اعة مى موعد الرحلة‪ٌ .‬جب حفظ ثارٌخ اإللغاء‪ٌ .‬ثم اإللغاء مى قبل موظف لٌش بالضرورة أى ٌﻜوى هو‬
‫ىفشه الذٌ قام بالحجز‪.‬‬
‫‪ ‬قد ٌﻜوى أو قد ال ٌﻜ وى للرحلة مدى مثعددة لﻺشثراحة والثوقف‪ .‬نل مدٌىة ثوقف لها مرثبثها أدىاء الرحلة‪.‬‬
‫‪ ‬قد حجطلب الرحلة أ ندر مى باص واحد‪ .‬نل باص لرحلة ٌثطلب مضٌفة وشائق‪.‬‬
‫‪ٌ ‬مﻜى إ جراء رحلة فٍ أٌ فثرة مى الشىة‪ .‬الشعر للشخص الواحد ضمى الرحلة ٌعثمد علي الفثرة مى الشىة‪ .‬الفثرة لدٌها ثارٌخ بداٌة‬
‫وثارٌخ ىه اٌة‪.‬‬

‫العمل ال مطلو ب‪:‬‬


‫‪ .1‬الئحة بالشماث )‪.(List of attributes‬‬
‫والعﻼقاث )‪ ،(relations‬واﻷصول )‪.(cardinalities‬‬ ‫‪ .2‬رشم )‪ ،(CDM‬مع ثحدٌد الﻜٌاىاث )‪ :(entities‬المع ّرف‬
‫الجمهورية اللبنانية‬
‫االسم والشهر ة‪--------------------:‬‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫رقم المرشح ‪--------------------:‬‬ ‫دورة عام ‪ 2016‬الثانية‬ ‫المديرية العامة للتعليم المهني والتقني‬
‫===============‬
‫‪ :‬المعلوماثٌة االدارٌة )‪(23107‬‬ ‫االختصاص والر مز‬
‫المعدل ‪(12) :‬‬ ‫‪ :‬طرا ئق الثحل ٌل‬ ‫الما دة‬
‫المدة ‪ 3 :‬شاعاث‬ ‫‪ :‬ال شٍء‬ ‫المستندات المسموح بها‬
‫والخص ائص‪،‬‬
‫الجم‪:‬هالومرعيلةو اماللتيبنةانايالةدارية )‪(23107‬‬
‫االسم والشهر ة‪--------------------:‬‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية‪ :‬واطلرتاعئليقم االلتعاحلييل‬
‫رقم المرشح ‪--------------------:‬‬ ‫دورة عام ‪ 2016‬الثانية‬ ‫المديرية العامة للتعليم المهني والتقني‬
‫===============‬
‫‪ :‬المعلوماثٌة االدارٌة )‪(23107‬‬ ‫االختصاص والر مز‬
‫المعدل ‪(12) :‬‬ ‫‪ :‬طرا ئق الثحل ٌل‬ ‫صاص والرمز‬‫خاتدة‬‫ا االلم‬
‫المدة ‪ 3 :‬شاعاث‬ ‫‪ :‬ال شٍء‬ ‫الماسدتةندات المسموح بها‬
‫السؤال ‪ 5) :3‬عﻼمات(‬
‫حول ‪ CDM‬التالي إلى ‪.LDM‬‬

‫‪1,n‬‬ ‫‪1,1‬‬ ‫‪1,n‬‬ ‫‪1,1‬‬

‫‪1,n‬‬
‫‪1,n‬‬
‫‪1,n‬‬
‫‪Teach‬‬ ‫‪Divide‬‬

‫‪0,n‬‬
‫‪1,n‬‬ ‫‪1,n‬‬

‫‪Can_Teach‬‬
‫‪0,1‬‬ ‫‪0,n‬‬ ‫‪1,n‬‬

‫‪ManageTraining‬‬

‫‪1,1‬‬

‫‪1,n‬‬

‫‪Supervise‬‬
‫‪0,n‬‬

‫‪0,n‬‬

‫السؤال ‪ 5) :4‬عﻼمات(‬
‫إرسم الـ ‪ CTM‬للعمل التالي في مرآب لتصليح السيارات‪:‬‬
‫إصﻼح السيارات‬
‫ٌأخذ الزبوى موعد إلصﻼح شٌارثه‪.‬‬
‫فٍ ٌوم الموعد المثفق علٌه‪ٌ ،‬أثٍ الزب وى الي مرنز اإلشثقبال فٍ المرآب لثصلٌح الشٌاراث وٌحدد اإلصﻼحاث الثٍ ٌجب العمل بها‪.‬‬
‫ٌ دوى رئٌش المشغل علي ورقة نل اﻷعمال المطلوب القٌام بها‪.‬‬
‫ٌأخذ مٌﻜا ىٌﻜٍ الشٌارة إلصﻼحها‪ .‬إذا نشف إصﻼحاث غٌر مثوقعة‪ٌ ،‬ثصل رئٍش المشغل ه اث فٌا بالزبوى وٌطلب موافقثه علي ثﻜملة‬
‫اإلصﻼحاث اإلضافٌة ‪ ،‬إذا رفض الزبوى ف شٌثم إىجاز فقط العمل المخطط له فٍ اﻷصل‪.‬‬
‫ٌدوى المٌﻜاىٌﻜٍ علي إذى ثخرٌج قطع الغٌار الﻼزمة مى "مخ زى قطع الغٌار"‪ٌ .‬ىجز اإلصﻼحاث وٌشجل علي ورقة العمل عدد شاعاث‬
‫العمل الثٍ اشثغرقها لﻺ صﻼحاث‪.‬‬
‫ٌرشل إذى ث خرٌج قطع الغٌار وورقة العمل إلي قشم الفواثٌر الذٌ بدوره ٌصدر الفاثورة‪.‬‬
‫عىدما ٌأثٍ الزبوى الشثرداد شٌارثه‪ٌ ،‬قدم له أمٌى الصىدوق الف اثورة وٌقبض الدمى المثوجب‪ .‬دم ٌثم ثشلٌم الشٌارة إلي الزبوى‪.‬‬
13
‫الجمهورية اللبنانية‬
--------------------: ‫االسم والشهرة‬ ‫االمتحانات الرسمية لشهادة االمتيازالفني‬ ‫وزارة التربية والتعليم العالي‬
--------------------: ‫رقم المرشح‬ ً‫ اﻷول‬5102 ‫دورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
===============
)50012( ‫ المعلوماتية االدارية‬: ‫االختصاص والرمز‬
)05( : ‫المعدل‬ ‫ طرائك الخحلُل‬: ‫المادة‬
‫ ساعاث‬0 : ‫المدة‬ ‫ ال شيء‬: ‫المستندات المسموح بها‬
Traiter les exercices suivants: (5pts/question)
Exercice 1:
Une entreprise doit gérer un ensemble d'informations sociales concernant les enfants de ses employés. Un technicien, amateur
d'informatique, a réalisé le tableau suivant :
Nom & prénom employé Adresse Enfant 1 Âge Enfant 2 Âge Enfant 3 Âge
DURAND Victor 1,rue de la liberté-13600-La Ciotat Annie 13 Emile 11
MARTIN Albert Parc "Les Pins"-Quartier Beaufort Jacques 8
DUPONT Christine 5 rue du port-13600-La Ciotat Marc 14 Sylvie 12 Thierry 9
DUPONT Christine 5 rue du port-13600-La Ciotat Aline 4
LEBLANC Luc Place De Gaulle-13240-Cassis Jeanne 9
etc…

a) Indiquer les faiblesses dans la structure de ce tableau.


b) Réaliser le MCD qui corrige ces faiblesses.

Exercice 2:
Gestion de Photographie
Studio Focus travaille dans le domaine de la photographie; Il vise informatiser son travail comme suit:
Un client est identifié par un ID, ayant un nom et un numéro de téléphone, signe un contrat (ID, date, montant total).
Un contrat peut couvrir un ou plusieurs événements où chaque événement a un numéro séquentiel qui commence par un, et
redémarre de un pour chaque nouveau contrat. L'événement a un type, une localisation, un type de localisation (jardin, hôtel ...)
et un nombre de photographes.
Un photographe a un ID, un nom et un sexe.
La direction de Focus veut connaître l'équipe de photographes qui a exécuté l'événement et le rôle de chacun, sachant que le
même photographe peut exécuter plusieurs rôles, mais un seul rôle dans chaque événement.
Travail à faire :
1. Etablir le dictionnaire de données (attributs, types et contraintes).
2. Etablir le modèle conceptuel de données (MCD) en précisant les entités (identifiant et propriétés), les relations, les
cardinalités et les contraintes.
Exercice 3:
Transformer le MCD suivant en Modèle Logique des Données (MLD).

14
)50012( ‫ المعلوماتية االدارية‬: ‫االختصاص والرمز‬
‫ طرائك الخحلُل‬: ‫المادة‬

Exercice 4:

Dresser le Modèle Conceptuel des Traitements du cas suivant :

Participation aux activités


Lorsqu'un enfant arrive au club, pendant les heures d'ouverture, il présente son identité au caissier. Les niveaux des activités
doivent être classés selon l'âge de chaque enfant, comme suit:
 Entre 8 ans et 12 ans : Niveau A
 Entre 13 ans et 15 ans: Niveau B
 Entre 16 ans et 18 ans: Niveau C
 Les enfants ayant des âges différents ne peuvent participer à aucune activité.

Après la classification, le caissier affiche une liste concernant les activités disponibles et le niveau correspondant à l'enfant.
L'enfant peut choisir six activités au maximum, le caissier calcule le montant total et lorsqu'il reçoit le montant de l'enfant, le
caissier émet un billet, met un bracelet sur la main de l'enfant et ouvre la porte correspondante du lieu d'activités. Les enfants
ayant des "cas spéciaux" peuvent bénéficier d'une réduction spéciale.
Lorsque l'enfant termine de jouer dans une activité, le responsable de l’activité enregistre «Terminé» pour l'activité
correspondante. Lorsque l'enfant retourne du lieu d'activités, le caissier doit prendre le bracelet, retourner l'argent pour les
activités non utilisées et annuler le billet.

15
‫الجوهىرَت اللبنانُت‬
--------------------:‫االسم والشهرة‬ ‫االمتحانات الرسمية لشهادة االمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
----------------------: ‫رقم المرشح‬ ً‫ اﻷول‬5102 ‫دورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
===============
)50012( ‫ المعلوماتية االدارية‬: ‫االختصاص والرمز‬
)05( : ‫المعدل‬ ‫ طرائك الخحلُل‬: ‫المادة‬
‫ ساعاث‬0 : ‫المدة‬ ‫ ال شيء‬: ‫المستندات المسموح بها‬
Treat the following exercices : (5 pts/exercise)
Exercise 1:
An enterprise should manage a set of social information concerning the children of its employees. A technician, non-professional
in computer, realized the following table:
Employee First & Last Name Address Child 1 Age Child 2 Age Child 3 Age
DURAND Victor 1,rue de la liberté-13600-La Ciotat Annie 13 Emile 11
MARTIN Albert Parc "Les Pins"-Quartier Beaufort Jacques 8
DUPONT Christine 5 rue du port-13600-La Ciotat Marc 14 Sylvie 12 Thierry 9
DUPONT Christine 5 rue du port-13600-La Ciotat Aline 4
LEBLANC Luc Place De Gaulle-13240-Cassis Jeanne 9
etc…

a) Indicate the weaknesses in the structure of this table.


b) Realize the CDM that corrects these weaknesses.
Exercise 2:
Photography management
Studio Focus is working in the domain of photography; it aims to computerize its work as follows:
A Client is identified by an ID, has a name and a phone number, signs a contract (ID, date, total amount).
A contract may cover one or many events where each event has a sequence number starting from one, and restarts from one for
every new contract. The event has a type, a location, a location type (Garden, Hotel…), and a number of photographers.
A photographer has an ID, a name and a gender.
The administration of Focus wants to know the team of photographers that executed the event and the role of each one, knowing
that the same photographer may execute many roles, but only one in the same event.
Work to do:
1. Establish the data dictionary (attributes, types and constraints).
2. Establish the conceptual data model (CDM) by specifying the entities (identifier and properties), the relations, the cardinalities and
the constraints.

Exercise 3:
Transform the following CDM into Logical Data Model (LDM).

16
)50012( ‫ المعلوماتية االدارية‬: ‫االختصاص والرمز‬
‫ طرائك الخحلُل‬: ‫المادة‬

Exercise 4:
Draw the Conceptual Treatment Model of the following case:

Participation to activities
When a child arrives to the club, during the opening hours, he/she presents its ID to the cashier. The levels of activities must be
classified, according to the age of the child, as follows:
 Between 8 years and 12 years : Level A
 Between 13 years and 15 years : Level B
 Between 16 years and 18 years: Level C
 Children of different ages are not allowed to participate in any activity.

After the classification, the cashier displays a list of available activities and the corresponding level for the child. The child can
select a maximum of six activities, the cashier calculates the total amount and when he receives the amount from the child, the
cashier will issue a ticket, puts a bracelet on the child’s hand and opens the corresponding door of activities place. The children
with “Special Cases” can have a special discount.
When the child finishes playing an activity, the responsible of the activity will register “Done” for the corresponding activity.
When the child returns from the place of activities, the cashier should take the bracelet, return money for non-used activities and
cancel the ticket.

17
18
19
20
Session 2017_1 Exercice 4/solution
Graph CTM = 2 process
Process 1 : Activities subscription
Present id During opening hour

and

Study and classification


_control of age
_level classification
_search list of activities

No ok ok age

reject List of activities for a Child choice(b)


selective level(a)

Child having
case ( c )
S1
S1 = (A & b ) or (a & b & c)
Calculation
_Calculate amount

Amount with case amount without case

Payment(d) Normal invoice


Discounted invoice
to be paid ( e) to be paid ( f)

d& (e or f)

Study and classification


_cash in amount
_puts a bracelet
_issue a ticket / ‫اصدار بطالت‬
_open access

Alaways

Putted
Access Account Ticket
bracelet
opened issued\
upgrated
‫بطالت صادرة‬ ‫بطالت صادرة‬

21
Process 2 : Registration end of activities
Give the Finish
Present bracelet activities
ticket

and

Close activities (treatment ticket)


_calculate returned amount
_cancel ticket
_register end
Takes bracelet

All activities done all activities not done

Returned amount Account upgrated


Activities finished

Exercice 3 : solution
Plane(numplane ,code_ company, constructor , model).
Workfor(codecompany , numPE , starting date).
Company(codecompany,nameC).
Flight(numFlight , DateF,DepartureTime,arrivalTime,freeplace , numplane,codecompany ,
NameAFROM , nameATO )
Airport(nameA , nameCity)
City : cancelled
HasTeam (numFlight ,numPE , numFO).
Function(numfo ,description)
Cando (numFO , numPE)
Person(numPE ,namePE)
Reserved(numFlight , numPA ,DateRes)
Passenger (NumPA ,namePA)

22
-----------------:‫االسم والشهرة‬
‫الجمهورية اللبنانية‬
-------------------: ‫رقم المرشح‬ ‫اإلمتحانات الرسمية لشهادة اإلمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫ الثانية‬1027 ‫لدورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
=========
)10207( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬
)05( : ‫المعدل‬ ‫ طرائق التحليل‬: ‫المادة‬
‫ ثالث ساعات‬: ‫المدة‬ ‫ ال شيء‬: ‫المستندات المسموح بها‬

Traiter les exercices suivants:

Exercice 1 : Expliquer la différence entre ces deux MCD et donner le MLD de chacun d’eux. (2 pts)
a)

ensei gnant mati ere


1,n ensei gner 1,n cod_mat
num_ens
nom_ens nom_mat

1,n

cl as se
cod_c l
nom_cl

b)
en sei gn ant mati ere
1,n en sei gn er 1,n co d_ma t
nu m_en s
no m_en s no m_mat

1,n

cl as se
co d_c l
no m_cl

Exercice 2 : Transformer le MCD suivant en MLD. (4 pts)


personne contrat
presente demande de trav signer
1,n
p_id 1,1 id_dem 0,1 1,1 cont_num
p_nom cont_dat
dat_dem
p_tel cont_duree
p_adr
p_ddn 1,n

0,1 0,1 presence


temps
1,n temps_sort
temps_ent
vacataire permanent
se marier prix_hh sal_base

1,n 0,n 1,1

date avoir a
date

1,n
1,1
situation familiale
ecole enfants
1,n etudier 0,1 cod_sf
num_ecole num_enf des_sf
nom_ecole pre_enf
ddn_enf

23
)10207( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬
)05( : ‫المعدل‬ ‫ طرائق التحليل‬: ‫المادة‬
‫ ثالث ساعات‬: ‫المدة‬ ‫ ال شيء‬: ‫المستندات المسموح بها‬

Exercice 3 : Cas d'un collège.


On veut réaliser l’informatisation de l’affectation hebdomadaire des salles d’un collège, la gestion des notes et
la gestion des absences des élèves durant une année scolaire.
Le collège est composé de 20 salles de classe:
- 17 salles de classe, dont certaines sont équipées de matériels (rétroprojecteurs, écrans, triples
tableaux...), ont une capacité variant de 30 à 45 places.
- 2 salles de laboratoire dont chacune a une capacité de 50 places.
- Une salle de sports ayant une capacité de 150 places.

Le collège gère 5 classes de 6°, et 4 classes de 5°, 4° et 3°. Chaque classe a un numéro et un nom.
Les élèves d’une même classe suivent tous les mêmes cours. La liste des élèves de chaque classe est fixée en
début d’année.
Chaque élève a les informations suivantes: nom, prénom, date de naissance, sexe, adresse, téléphone, nom de
la classe.
Les cours se répètent identiquement toutes les semaines au cours de l’année scolaire. Chaque cours a un
numéro et appartient à un type de cours. Chaque type de cours a un coefficient pour un nom de classe.

Un enseignant peut assurer des cours pour plusieurs classes.


Chaque enseignant a les informations suivantes: numéro enseignant, nom enseignant, sexe, date de naissance,
téléphone mobile, E-mail, nationalité, diplôme, année d'obtention, université, pays et spécialisation.

Pour indiquer un cours à une salle et à un enseignant, on doit pouvoir vérifier que l’enseignant n’a pas de
cours simultanément dans une autre classe.
Un cours est assuré par un seul enseignant. Certains enseignants assurent plusieurs types de cours (Français,
Latin...).

Il n’y a pas de cours commun à plusieurs classes. Certains cours nécessitent des matériels spécifiques (vidéo,
projecteurs, écrans...). On admet que les affectations sont décidées pour une année : un cours (repéré par un
jour, une heure et un enseignant, ex : lundi 10h, Mr X) a lieu dans la même salle et pour la même classe,
toutes les semaines.

En ce qui concerne la gestion des notes, après chaque examen (numéro examen, date examen, nom examen,
coefficient examen) les notes sont saisies.
A la fin de chaque semestre les bulletins des notes sont imprimés.

En ce qui concerne la gestion des absences, le traitement manuel actuel est le suivant : une feuille de présence
quotidienne marquée du n° de la semaine et du nom du jour, circule d’un enseignant à un autre au cours de la
journée. Lorsque la direction est avertie de l'absence d’un élève avant le début des cours, elle inscrit la
mention “Excusé” sur la ligne de l’élève, pour chaque cours concerné. La feuille de présence est retournée à la
direction à la fin de la journée pour la saisir. Toutes les absences injustifiées font l’objet d’un courrier adressé
aux parents, indiquant les jours et les heures d’absence de l’élève. Un élève peut être absent à un cours sans
être absent toute la journée. Une absence à un cours unique peut être justifiée à l’avance (rendez-vous
dentiste...).

Travail à faire :
1. Construire le dictionnaire de données. (3 pts)
2. Déterminer les entités en précisant les identifiants et les propriétés. (3 pts)
3. Réaliser le MCD correspondant. (4 pts)
4. Identifier les processus et construire le MCT de chacun. (4 pts)

24
-----------------:‫االسم والشهرة‬
‫الجمهورية اللبنانية‬
-------------------: ‫رقم المرشح‬ ‫اإلمتحانات الرسمية لشهادة اإلمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫ الثانية‬1027 ‫لدورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
=========
)10207( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬
)05( : ‫المعدل‬ ‫ طرائق التحليل‬: ‫المادة‬
‫ ثالث ساعات‬: ‫المدة‬ ‫ ال شيء‬: ‫المستندات المسموح بها‬

Treat the following exercises:

Exercise 1: Explain the difference between these two CDM and give the LDM of each of them. (2 pts)
a)

teac her teac h course


1,n 1,n
teac h_num
course_cod
teac h_name course_name

1,n

cl as s
cl _c od
cl _name

b)

teac her teac h course


1,n 1,n
teac h_num
course_cod
teac h_name course_name

1,n

cl as s
cl _c od
cl _name

Exercise 2: Transform the following MCD to MLD. (4 pts)

25
contract
person 1,n job demand sig ned 1,1 cont_id
present 0,1
p_num 1,1 dem_num cont_date
p_name dem_dat cont_duration
1,n
p_dob
p_phone
p_adr
time attendance
time_in 1,n time_out
0,1 0,1

temporary permanent
hour_price basic_salary
1,n
married
0,n 1,1
date
date
have has

1,1 1,n

school study child marital status


0,1
sch_num 1,n ch_id ms_id
sch_name ch_fname ms_des
ch_dob

Exercise 3: Case of a college.


We want to achieve the computerization of the weekly allocation of the rooms at the college, the management
of the grades and the management of students’ absences during a school year.
The college is composed of 20 classrooms:
 17 classrooms, some of which are equipped with the materials (projectors, screens, triple tables...) and
have a capacity ranging from 30 to 45 seats.
 2 laboratory rooms each of which has a capacity of 50 seats.
 A sports hall has a capacity of 150 seats.
The college manages 5 classes of 6 °, and 4 classes of 5°, 4° and 3°. Each class has a number and a name.
Students from the same class follow the same course. The list of students in each class is set at the beginning
of the year.
Each student has the following information: name, surname, date of birth, sex, address, phone, class name.

The courses are repeated identically in all the weeks of the school year. Each course has a number and belongs
to a type of course. Each type of course has a coefficient for a class name.

A teacher can teach several classes.


Each teacher has the following information: teacher number, teacher name, sex, date of birth, mobile phone,
email, nationality, degree, year of graduation, university, country and specialization.

To indicate a course to a room and a teacher, we want to ensure that the teacher doesn’t have a course at the
same time in other class.
A course is provided by a single teacher. Some teachers offer several types of courses (French, Latin...).

There are no common courses to several classes. Some courses require specific hardware (video, projectors,
screens …). We admit that the assignments are decided for one year: a course (spotted by a day, an hour and a
teacher, ex: Monday 10 h, Mr X) takes place in the same room and the same class every week.

According to the management of the notes, after each exam (exam number, exam date, exam name, exam
coefficient) the grades are entered. The reports of grades are printed at the end of each semester.

26
According to the managing of absences, the current manual processing is the following: a daily attendance
sheet, marked with the number of the week and the name of the day, circulates from a teacher to another
during the day. When the administration is notified of an absence of a student before starting of a course, it
writes the mention "Excused" on the line of the student, for each relevant course. The daily attendance sheet
returns to the direction at the end of the day to enter it. All unjustified absences are object of a mail addressed
to parents, indicating the days and hours of the absence. A student may be absent in a course without being
absent on the day. An absence to a single course may be justified in advance (see dentist...).

Work to do :
1. Build the data dictionary. (3 pts)
2. Determine the entities by specifying identifiers and properties. (3 pts)
3. Achieve the corresponding CDM. (4 pts)
4. Identify the processes and build the CTM for each. (4 pts)

Exercice 1
Cas a :Une matière pour une classe donnée est enseignée par plusieurs enseignants.
MLD : enseignant(num_ens ,nom_ens)
Matière(cod_mat , nom_mat)
Classe (cod_cl , nom_cl)
Enseigner(num_ens ,cod_mat , cod_cl)
Cas b : Pour une classe donnée , une matière est enseignée par un seul enseignant
MLD : enseignant(num_ens ,nom_ens)
Matière(cod_mat , nom_mat)
Classe (cod_cl , nom_cl)
Enseigner(,cod_mat , cod_cl , num_ens)

Exercice :2
Person(p_num ,p_name ,p_phone, p_adr)
Married(pnum1 ,pnum2)
Jobdemand(dem_num , dem_date , p_num)
Contract(cont_id ,cont_date ,cont_duration)
Temporary(cont_id_temp ,hour price)
Child(chd_id ,ch_f_name ,ch_dob ,cont_id_p)
Permanent(cont_id_p ,basic_salary ,ms_id)
School(sch_num ,school name)
Study(ch_id ,school num)
Attendance(cont_id ,time_in ,date ,time_out)
Marital status (ms_id ,ms_des)

27
Session_2017_2_ ex3 cas d'u n collège inscrit annéee
1,n
année
eleve 1,n
num_eleve
nom_e fait Date examen
0,n 1,n
prenom_e 1,n num_examen
note appartient
date_naissance date_examen section
sexe_e nom_examen code_section (1,1)
tel_e 1,n coefficient_examen
cours
1,n code_cours a
1,n
1,1 1,n 1,n
1,n type_cours classe
id_type_cours code_classe
1,n 1,n est donné
des_type 1,n
absent coefficient 1,n
année_1
jour
id_jour
1,n
1,n
enseigner cours
1,n 1,n
est affecté à temps
presence etat 1,n temps_cours
num_presence code_etat
date_presence description_etat 1,n
1,n 1,n est equipée
0,n
salle
enseignant code_salle 1,n
niveau a niveau num_enseignant capacité Materièl
1,n 1,1 nom_enseignant 1,1 code_materièl
code_niveau
sexe_ense 1,1 nom_materièl
nom_niveau
1,1 email_enseignant
a
a sp année obtention nationalité
tel_mobile type_salle
specialisation 1,1 1,n
1,n code_type_salle
num_sp source
nom_sp des_type_salle
0,n
pays
université 1,n est située
id_pays
num_uni 1,1 0,n
nom_pays
nom_uni

28
Exercice 4: chaque processus 1pt

Processus 1:Distributiion élèves

Début année

Inscription élèves
_Inscription
Toujours

Elèves inscrits

Processus 2:Horaire
Disponibilité
enseignant(b)
Début année (a)
a et b

Etablissement horaire

toujours

Horaire etabli

Processus 3:Enregistrement examen


Après ou fin examen

a et b

Enregistrement examen

toujours

Fin chaque Examen


semestre enregistré (a)

a et b

Impression rapport des notes

toujours

Rapport des notes

29
Processus 4:Gestion de presence
Fin journée(a)
Feuille reçue(b)

a et b

Verification presence

avec excuse Sans excuse

Feuille présence Email emis


eneregistrée

30
‫ األولى‬1028 ‫لدورة عام‬
)10207( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬
)05( : ‫المعدل‬ ‫ طرائق التحليل‬: ‫المادة‬
‫ ثالث ساعات‬: ‫المدة‬ ‫ ال شيء‬: ‫المستندات المسموح بها‬

Traiter les exercices suivants:


Exercice 1: transformer le MCD suivant en MLD: (4 pts)
annee
1,n annee
es t en

document (1,1)
num_doc 1,1
dat_doc a pour

1,n type document


cod_t_doc
des_t_doc

document2 1,n avoir 1,n condi tion


document1
dat_val id cod_c ond
des_c ond

Exercice 2:
Etude de cas : Gestion d'un festival
Une association culturelle dispose de 2 salles de capacités respectives 600 et 300 places. Cette association a
pour but de créer des spectacles divers qui rassemble le théâtre, le cinéma, la musique ainsi que de mettre en
place des rencontres avec le public et des animations divers 2 ou 3 fois par mois.
En période de festival, plusieurs spectacles sont proposés le même jour dans l'une ou l'autre salle (numéro
salle, nom salle, et capacité) à des heures différentes. Deux spectacles différents peuvent être proposés en
même temps. Par contre un même spectacle peut avoir lieu à une certaine heure dans une salle et à une autre
heure dans l’autre en fonction du nombre des spectateurs attendus.

Chaque spectacle peut être représenté en plusieurs séances. Chaque séance est caractérisée par une date, une
heure, la salle où elle est représentée ainsi que le spectacle concerné.

Pour suivre un tel spectacle l’association propose différentes tarifications : tarif normal pour le public, tarif
réduit pour les étudiants et les enfants moins de 12 ans.
Chaque spectacle est identifié par un code spectacle, sujet du spectacle, genre du spectacle (théâtre,
musique,…), et les personnes (le nom avec le rôle de chaque personne) qui représentent le spectacle.
Pour chaque réservation, les informations suivantes sont enregistrées: date de la réservation, date et temps de
la séance, code spectacle, numéro salle, nom et prénom du spectateur, date de naissance, téléphone, adresse,
catégorie du spectateur (étudiant, enfant moins de 12 ans,…). La réservation peut se faire par téléphone ou au
bureau. La confirmation de la réservation est assurée en payant et en retirant le billet.
Les dirigeants de l’association souhaitent que l’automatisation l’aide à réduire les difficultés rencontrées avant
et après les spectacles.
Avant le spectacle :
- D’assurer de la gestion prévisionnelle des réservations en tenant compte des réservations extérieures et
des spectateurs qui retirent leurs billets au guichet juste avant la représentation.
- D’établir, une heure avant le spectacle, la liste des spectateurs ayant confirmés leurs réservations et la
liste des spectateurs qui ont réservé par téléphone et n’ont pas retiré leurs billets.

- De prévoir la consultation sur écran, à tout moment, le nombre total des réservations pour un spectacle
donné (toute séance confondues) et le nombre total des réservations entre deux dates (tous spectacles
confondus)

Après spectacle:
31
- De connaître à tout moment le nombre total de spectateurs:
 Pour tous les spectacles.
 Par tarif.
 Pour un spectacle donné à une date spécifiée ou entre deux dates.
Travail à faire :
1. Construire le dictionnaire de données. (2 pts)
2. Établir le modèle conceptuel de données (MCD). (8 pts)

Exercice 3:
Etude de cas : remboursement à un assuré, suite à un incident, par une compagnie d’assurance.
Lorsqu'un agent de la compagnie reçoit une déclaration d’incident, il constitue un fichier central à partir de son
terminal pour en contrôler la validité, puis transmis cette déclaration au siège de la compagnie. Celle-ci
missionne un expert puis ouvre et enregistre un dossier de l’incident.

Une fois l’assuré, a obtenu la facture de réparation, il l’envoie à l’agent, qui la transmet à la compagnie.
L’expert, à son tour envoie son rapport directement à la compagnie.

Lorsque la personne chargée à la compagnie de gérer le dossier de l’incident possède la facture et le rapport,
elle procède à l’émission du chèque de remboursement. Le remboursement est effectué selon le rapport de
l’expert et de la facture de réparation à la fin de chaque mois.

Travail à faire :
1) Construire le graphe des flux. (2 pts)
2) Déduire le modèle conceptuel de traitement (MCT). (4 pts)

32
‫اإلمتحانات الرسمية لشهادة اإلمتياز الفني‬ ‫وزارة التربية والتعليم العالي‬
‫ األولى‬1028 ‫لدورة عام‬ ‫المديرية العامة للتعليم المهني والتقني‬
=========
)10207( ‫ المعلوماتية اإلدارية‬: ‫اإلختصاص والرمز‬
)05( : ‫المعدل‬ ‫ طرائق التحليل‬: ‫المادة‬
‫ ثالث ساعات‬: ‫المدة‬ ‫ ال شيء‬: ‫المستندات المسموح بها‬

Treat the following exercises:


Exercise 1: transform the following CDM to LDM (4 pts)

in year
1,n
year

document (1,1)
num_doc 1,1
dat_doc belong

1,n document type


cod_t_doc
des_t_doc

document1 document2 have condi tion


dat_val id 1,n 1,n cod_c ond
des_c ond

Exercise 2:
Case Study : management of a festival
A cultural association has 2 rooms with respective capacities 600 and 300 seats. This association aims to
create various shows which gather the theatre, the cinema, the music and set up meetings with the public and
animations various for 2 or 3 times per month.

During a festival period, several shows are offered on the same day in one or in the other room (room number,
room name, and capacity) at different hours. Two different shows can be offered at the same time. However
the same show can take place at a certain hour in one room and at another hour in the other according to the
number of expected spectators.

Every show may be represented in many sessions. Every session is characterized by a date, an hour, the room
where it is represented as well as the concerned show.

To follow such a spectacle the association offers different rates: standard rate for the public, reduced rate for
the students and for children under 12 years.
Each show is identified by a show code, subject of the show, kind of the show (theatre, music...), and the
people (the name with the role of each person) who represent the show.

For each reservation, the following information is recorded: date of the reservation, date and time of the
session, show code, room number, name and surname of the spectator, date of birth, phone, address, category
of the spectator ( student, child under 12 years old,...). The reservation can be done by phone or at the office.
The booking confirmation is guaranteed by paying and retrieving the ticket.
The association managers hope that the automation helps them to reduce the difficulties encountered before
and after the shows.
Before the show:
- To ensure from the provisional reservation management taking into account the external reservations
and the spectators who withdrew their tickets at the box office just before the representation.
- To establish, an hour before the show, the spectators list having confirmed and the list of spectators
who have booked by phone and have not withdrawn their tickets.

- To provide the consultation on the screen, at any time, the total number of reservations for a given
show (all sessions combined) and the total number of reservations between two dates (all shows
combined).

After the show:


- To know at any time the total number of the spectators:
 For all shows.
33
 Per rate.
 For a given show at a specific date or between two dates.

Work to do:
1) Build the data dictionary. (2 pts)
2) Establish the conceptual data model (MCD). (8 pts)

Exercise 3:
Study case: refund to an insured, after an incident, by an insurance company.
When an agent of the company receives an incident, he constitutes a central file from his terminal to control
its validity, and then sends this statement to the headquarters of the company. The company commissions an
expert then opens and saves a record of the incident.

Once the insured obtained the repair bill, he sends it to the agent, who forwards it to the company.
The expert, in turn, sends his report directly to the company.

When the person in charge at the company to manage the incident file possesses the invoice and the report, he
proceeds to issue the refund check. The refund is made according to the expert report and the repair bill at the
end of every month.

Work to do:
1) Build the graph of flows. (2 pts)
Deduce the conceptual treatment model (CTM).

34
35
36
37
38

Vous aimerez peut-être aussi