Question: In the traditional method for cutting a deck of playing cards, the deck is arbitrarily split two parts, which are exchanged before reassembling the deck.
In the traditional method for cutting a deck of playing cards, the deck is arbitrarily split two parts, which are exchanged before reassembling the deck. In a more complex cut, called Scarne’s cut, the deck is broken into three parts and the middle part in placed first in the reassembly. We’ll take Scarne’s cut as the inspiration for an operation on languages. For a language A, let CUT(A) = {yxz| xyz ∈ A}.
a. Exhibit a language B for which CUT(B) 6= CUT(CUT(B)).
b. Show that the class of regular languages is closed under CUT.
Step by Step Solution
3.30 Rating (168 Votes )
There are 3 Steps involved in it
a A simple example of a language B for which CUTB is not equal to CUTCUTB is B abc CUTB bac because ... View full answer
Get step-by-step solutions from verified subject matter experts
