1. This question is about BNF (15 marks) i. Produce a set of production rule that meet the following rule:- - An identif
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. This question is about BNF (15 marks) i. Produce a set of production rule that meet the following rule:- - An identif
1. This question is about BNF (15 marks) i. Produce a set of production rule that meet the following rule:- - An identifier of a language F may consist of at most 10 characters - The first character must be either I, J, K, L and M and follows with any number of digits or Capital letters up to the total of 10 characters ii. Shows one example of derivation of a valid identifier for production rule in i. iii. Show one example of derivation of an invalid identifier for the production in i. iv. Shows a derivation tree for your example in ii.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!