Académique Documents
Professionnel Documents
Culture Documents
Propositions de correction
Bac Pratique Informatique
4ème Scientifiques 28 Mai 2019
Program Plagiat1;
Uses wincrt;
Var
T1 , T2 : String;
Nbc : integer;
{*********************************************************************************}
{*********************************************************************************}
{*********************************************************************************}
BEGIN
Repeat
Saisir(T1);
Saisir(T2);
Until Nbmots (T1) = Nbmots (T2);
Nbc := Commun (T1,T2);
IF Nbc > Nbmots(T2) Div 2 Then
Writeln ('Le texte testé est plagié. Le nombre de mots communs aux deux textes est égal à ' ,
Propositions de correction
Bac Pratique Informatique
4ème Scientifiques 28 Mai 2019
Program Fidelite1;
Uses wincrt;
Type
Tab = Array [1..30] of String[10];
Var
TA : Tab;
N : integer;
{*********************************************************************************}
{*********************************************************************************}
{*********************************************************************************}
{*********************************************************************************}
{*********************************************************************************}
BEGIN
Saisir (N);
Remplir (TA , N);
Bonus (TA , N);
END.
Corrections proposées par Mr Ben Rhaiem Firas Lycée Pilote Gafsa
Propositions de correction
Bac Pratique Informatique
4ème Scientifiques 28 Mai 2019
Program HMiroir1;
Uses wincrt;
Type
Tab = Array [1..20] of String[30];
Var
NP , HN : Tab;
N : integer;
{*********************************************************************************}
{*********************************************************************************}
{*********************************************************************************}
Propositions de correction
Bac Pratique Informatique
4ème Scientifiques 28 Mai 2019
Propositions de correction
Bac Pratique Informatique
4ème Scientifiques 28 Mai 2019
Program TirArc1;
Uses wincrt;
Type
Tab = Array [1..20] of String[30];
Tabscore = Array [1..30] of Integer;
Var
N : integer;
A : Tab;
{*********************************************************************************}
Function Alpha (CH : String) : Boolean;
Var
i: integer;
Begin
i:=0;
Repeat
i:= i + 1;
Until Not ( Upcase(CH[i]) IN ['A'..'Z',' '] ) Or (i=Length(CH));
Alpha:= (Upcase(CH[i]) IN ['A'..'Z',' ']) And (Length(CH)<=30);
End;
{*********************************************************************************}
Procedure Remplir (Var A : Tab ; N : integer);
Var
i : integer;
Begin
For i:=1 to N do
Begin
Repeat
Write('Donner le nom du joueur N° ',i,':');
Readln(A[i]);