Question: Please answer ALL! Multiple Choices: (5 points each, may have multiple answers) 1) Which of the following are tokens in Java? 2. a) while a)
Please answer ALL! Multiple Choices: (5 points each, may have multiple answers) 1) Which of the following are tokens in Java? 2. a) while a) identifier b) c) mult_op 2) Which of the following are lexemes in Java? c) for d) semticolon b) int literal 3) Which of the following are terminal symbols in the grammar rule: factor(++I- -)ident | (+|-) (ident | int_literal) expr a) exprb) int_literal d) ident e)+ 4) Which of the following are nonterminal symbols in the grammar rule:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
