CS-606 Assignment No 1 Solution
COMPILER CONSTRUCTIONS
Here
is the solution of assignment no 1 of CS-606 "Compiler Construction" I am
sharing a jpg of solved assignment question but if you want to get docx file
then click the link given below...
How to Download the File : Watch video below to see the steps to download file
Instructions
Steps 1: Click at link given above
2: Enter Captcha Code
3: Wait for 8 Seconds
4: Click at Link Generated below the captcha box
5: That's it. You have downloaded
Note: We guarantee you that our site is 100% Malware and virus free so please Please Disabled your Ad-blocker to Download the file from our site..
|
If you still facing any problem then please let me know about your problem regarding downloading file and leave a comment below because your feed back is very important to us to make our website more reliable and useful.
Solution of Assignment
Assignment
|
|
Task 1:
[Marks = 10]
∑ = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
Write a RE that would accept any number that is divisible to
digit 5.
For example; If I input string 21356496 then RE would not accept this number as it is not divisible
to 5. And if I would pass / enter string 5314875 then suggested RE would
accept this string as it is divisible to 5.
Note:
-
String pass to RE would be of any length
-
Consider table of 5 (including 5 * 0 = 0)
to find a pattern for constructing RE
-
You may also allowed to sub divide ∑ into
more than one sets but name these language sets accordingly and also mention
in your assignment solution.
Solution:
Task 2: [Marks
= 10]
|
Note: If you need Microsoft Word File then please visit the link given above.
Please get in touch with us for solution of other assignments keep visiting www.infopalaces.blogspot.com
0 Comments