b highlight any 3 etror recovery strategies used during the lexical analysis phase c 5149884
b. Highlight any 3 etror recovery strategies used during the lexical analysis phase c lexical- (scanner), syntactic- (parser), and semantic-analysis phases of a compiler front-end; each process parts of the source program in particular ways and also check certain rules of the langage being compiled For each of the following possible language rules, specify which phase of the compiler should verify that a program confoms to that rule and why that part of the compiler is the best place for that check. If a check could be done equally well in more than one alternative implementations. Keep your answers short and to the point (3 points) phase of the compiler, bricfly discuss the tradeoffs berween the 0 A function is called with the correct number of arguments (h)Underscore characters () may appear in the middle of identifiers, but not at the beginning or end , this identifier is legal, Iut thisone is not) ( Every variable must be declared before it is used in the program (Java and C++ rule) (iv) Assignment statements must end with a semicolon () (16 points-4 4)