FOR FREE MATERIALS

Some exercise problem with the same pattern

 

Design a machine for language L = even a and even b

 

Design a machine for language L = odd a’s or odd b’s , L = odd a’s and odd b’s

 

Design a machine for language (odd a’s and even b’s) or (even a’s and odd b’s)

 

Design a machine for language: 

Tips: From we get it where  ra = 1,   rb = 0

 

Design a machine for language:  

Tips: From we get it where

 ra = 1,   rb = 0; ra = 0,   rb = 0; ra = 1,   rb = 1 all the states

 

Design a machine for language: 

Tips: From we get ra = 1,   rb = 0, the final state is ra = 1,   rb = 0

 

Design a machine for language:

Tips: The final states (ra = 0,   rb = 0), (ra = 1,   rb = 1)

 

Design a machine for language: 

Tips: This is never being satisfied because no state is there where  ra -  rb = 2