1. What are the main functions of a lexical analyser?
2. State whether the following statements are true or false: (a) A lexical analyser strips out the comments and white spaces from input source program. (b) The part of the input stream that qualifies for a certain type of token in a lexical analyser is called as lexeme. (c) The lexical analyser keeps track of the new line characters, so that it can output the line number with associated error messages, in case of errors in the input source program. (d) The lexical analyser helps in creation of symbol table.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here