A particular BNF definition for a "word" is given by the following rules.…

2018

A particular BNF definition for a "word" is given by the following rules. Which of the following lexical entries can be derived from < word > ?

I. pick

II. picks

III. c44

Answer: B. I and II onlyThe question references a BNF definition for 'word' but does not include the actual grammar rules. Without knowing the production rules, it is impossible to…

  1. A.

    I, II and III

  2. B.

    I and II only

  3. C.

    l and III only

  4. D.

    lI and III only

Attempted by 5 students.

Show answer & explanation

Correct answer: B

The question references a BNF definition for 'word' but does not include the actual grammar rules. Without knowing the production rules, it is impossible to verify whether 'pick', 'picks', or 'c44' are valid derivations. Please ensure the BNF rules are included in the question text.

Explore the full course: Niacl Ao It Specialist

Loading lesson…