Академический Документы
Профессиональный Документы
Культура Документы
r,!-,'fi
d'Algorithmique
Note:
Sous-Groupe: . .. ..
t20
crire un algorithme pisurtorganigramme pennettant de trouver et d'afhcher la plus grande valeur
entrc trois nombres rels distincts A, B et C.
RPONSE:
o,r,i1 .,t-
",lNr-
E,e,c
',i
)
,,41
'tl
"'")
",'1
Ec^,,. B
l. I ,^..
1 o(.(- L
",(
4t
r,4
J i .
_,,
4i
+_L"
,,--..\
,1
py
i
Gr
Cr.:6
o4/ou20r5 - 08h30-10h00
1 Ltc.ST (vgue 1)
* Epreuve Finale
d'Algorithmique
ire un aJgori
d aJllcher
,--1--,
l\---l
lll,
t___l
BEIAXIj
ol,
t5
O,\
Dtr
Ri e, + , P, s, eL , sc?/ ?
L-,r"- P, *
?.- 2.+ ?i+ R
2
S r-- ?; x ?-x:<
L n-- ?*+
c P <-- S.n SL,
r-e,u
Vc P+-- S+ l'+
,,,h Vcr,rt ?, s, sL/ ScP/!c?
.,,{
t"
,14
\v'.0*s"*
.,(
I\r"n)
. \ ..\
,I,'
-is
.ak
e-
t nLt
h nti),,
iv R.<
r.
I
4/O7/ 2OL5
1"'
08h30-10h00
Lic.sT (vague 1)
otsl:
On demande d'adre l'algodthme et l'organigmmme d,une fiche de paie joumaiire d,rn ouvrier
-emuner la rche. Pour cela, on dorune:
NB
RPONSE
/,)l
(;;G)
L,,.,k
\s"-,
sg.-
4ioq
It^
rrlPC <
r/p
SB<-
c,,^.( Sg
!J <-- sg - c's
Eq-,i. S, <-s, s '-l
CS
Nl--i
1*
Pa*vP
<-
( Sa-
1.
o,r,.1
A l\,.-,
(,,r
t
,1.
Coanlindtioacentrdl de Bt/eattiqre
tlR\P/|rHR )AttDll5
l omotiq
o4/o1/20r5
10h15-11h45
r*"!r"i
d'Algorithmique
Note
Matricule:.
-\
pts): \
IXERCICE 1(7
120
Ecrire un algorithme puis un organigramme pelmettaut de trouver et d,afficher Ia plus petite valgur
entle trois nombres rels distincts A, B et C.
REPONSE:
o,v(
"::
"il
c,\
I
,"4
Dd:"!l-
Or(
RlL\ k,B,c
L',co, A,B,c
(;
r) .k,<
Sr (e.z- c)
^t..r
@.
<
fc{:.L
"1
r-"",
:
;l
A.B
S.'..- *
E<-(c- -
:4
";+
'L-;(. A'*'c
(g.-a)
Fq,i- g
..\-'l
o.,-\
x.z
Eu
tl
t;tttc- L /
S:--.
E\a! C
^'
E'r
\,\
h:
e)rq.
L9.
{,:
i'L
o4/ov2oL5
10h15-11h45
l*
'-'3
,1rc
RPONSE I
/t,
D.-F
QL\ k)+r
Lr- Ar*
Q.-
t-*
L;
<r- '
\\
<- s* L
VPP <-. S' 1}
S?p
_.,{
slP / v??
sLti
(-- -
+-
t,l
sfc.- sosr-;]''\
",6
,,,(
::
'l
,1,(
-;
,n
-{
'L,\
o4tol/20L5
:.0h15-11h45
1" Lic.s (vgue 2)
NB
RPONS:
u-r
",{
.:\a;
v
Lr"
{ Pc , s . . ( . < ^l
ve, Nqt
P.
\S: ec i
L,"
VC,
,r"-)
\ se=-*e.' VP
\ .r" - ,,ro "
la^o -
<- o ,,t-r
Sxl <-- SB .- CS
CS
",4
a,\
C,S,
,..t.J
S<_ {pc
S*aco*
^e.J?
-'r1
SNI
"
a( ra <-3 r_ -I
nr'
a
tr
L(
tLl
L:I\