Correction de la serie n03

Université Sidi Mohmed Ben Abdellah Faculté polydisciplinaire de Taza Correction de la série N Exercice - ID ? Lettre Suitedesymbole Suitedesymbole ? Symbole Suitedesymbole Symbole ? Lettre Chi ?re Lettre ? a b c ? z A B ? Z Chifre ? ? - - ConstanteChaine ?'Suitedecaractère' Suitedecaractère ? Caractère Suitede caractère Caractère ? Lettre Chi ?re - - lettre chi ?re ' q q ' q Compilation - - CH 'SMI S ' CH 'L examen de compilation' CH 'Rapport de TP' - - CT CT Exercice - Le langage génère des expressions arithmétiques - Calcul des deux ensembles First et Follow Ensemble First First E First TE ? First T nbr First TE ? First T nbr First T First FT ? First F nbr First FT ? First F nbr First F nbr n ? appartient pas à nbr First E ? First TE ? et puisque E ? ? alors First E ? First T ? Ensemble Follow Follow E Follow E ? Follow E Follow T First E ? et puisque appartient au First E ? Follow T U Follow E Follow T ? Follow T Follow F Pr A Saaidi Année universitaire CUniversité Sidi Mohmed Ben Abdellah Faculté polydisciplinaire de Taza Exercice - G est non de type LL car First aF ??First aG ?? ? - La grammaire G non récursive à gauche est S ?aE bF E ?bE F ?aF aG G ?dG ? G ? ?cG ? - La grammaire G factorisée à gauche est S ?aE bF E ?bE F ?aF ? F ? ?F G G ?dG ? G ? ?cG ? - First et Follow L ? ensemble First est First S a b First E b First F a First F ? First F ??First G a d First G d First G ? c L ? ensemble Follow est Follow S Follow E Follow F ??Follow F ? Follow F ? Follow F Follow G Follow F ? Follow G ? Follow G - First aE ??First bF ? E ?bE on a Follow E ??First bE ? F ? ?F G on a First F ??First G ? G ? ?G on a Follow G ? ??First G ? Compilation Pr A Saaidi Année universitaire C

  • 26
  • 0
  • 0
Afficher les détails des licences
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise
Partager