jimmy  gelvez
Quiz by , created more than 1 year ago

Demuestra lo aprendido

20
0
0
jimmy  gelvez
Created by jimmy gelvez over 7 years ago
Close

Evalución First y Follow

Question 1 of 6

10

si A---> b λ

First (A)={

Select one or more of the following:

  • b

  • λ

  • b y λ

  • ninguno

Explanation

Question 2 of 6

10

Se define A, como el conjunto de terminales b que pueden aparecer inmediatamente a la derecha de A en cualquier forma sentencial.

Drag and drop to complete the text.

    FOLLOW (A), para un No-terminal
    FIRST (A), para un No-terminal
    FOLLOW (A), para un Terminal
    FIRST (A), para un Terminal

Explanation

Question 3 of 6

20

Fill the blank space to complete the text.

Sea la Gramática G
A-->BCD
A-->D
B-->aD
B-->pC
C--->D
D--->A
D--->BC

First (C)={}

Explanation

Question 4 of 6

20

Sea la producción A--> bC
first (A)={}

Select one of the following:

  • b

  • C

  • b y C

  • ninguno

Explanation

Question 5 of 6

20

sea la producción
A-->a B C
Follow (B)={}

Select one of the following:

  • El First (C) sin λ esta en Follow (B)

  • El follow (A) esta en Follow (B)

  • a esta en Follow (B)

  • El First (C) incluido λ esta en Follow (B)

Explanation

Question 6 of 6

1

Fill the blank space to complete the text.

Sea la Gramática G
E--> E+T
E--->T
T-->T*F
T-->F
F-->(E)
F-->id
Follow (E)={}

Explanation