Question: Let A = { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , ,

Let A ={0,1,2,3,4,5,6,7,8,9,,.} be the alphabet. The
grammar is defined as follows:
F =- FN | FN
FN = N | N . N
N = D | D, N
D =0|1|2|3|4|5|6|7|
8|9
The different symbols here are all abbreviations: F is the entity to be defined, FN is a
fractional number, N is a sequence of digits, and D is a digit. Which of the following
strings are produced by the grammar?
1.5.26
2.-7.77
3.3.-14
4.4-5.16

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!