Question: ID: CC 2 16. Write a BNF grammar for a login password, e.g. JDoe-900. There must be at least 3 letters in the first part

 ID: CC 2 16. Write a BNF grammar for a loginpassword, e.g. JDoe-900. There must be at least 3 letters in the

ID: CC 2 16. Write a BNF grammar for a login password, e.g. JDoe-900. There must be at least 3 letters in the first part up to a maximum of 5 letters. These letters can be either lower or upper case. The second part is optional and can be one of the three signs: =' +. The third part should be composed of 3 digits. (6 marks) ID: ..... 17. With the BNF grammar: ::= + | : := x | ::= () | ::= 0 | 1 | 2 | ... | 9 a) complete the parse tree below: 2 + 6 7 digit digit digit (6 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!