Question: For every integer k 1 , let Lk = { w { 0 , 1 } * | | w | k and the kth
For every integer k let Lk w w k and the kth
bit of w from the end is
aGive an NFA with k states that accepts the language Lk
bLet AQ q F be any DFA that accepts Lk Prove that if x y are
two different binary strings of length k then qxqy
Hint: Suppose that x y differ in the ith bit, and consider the strings xi and yi Are
these strings in Lk Should the DFA end up in the same state after processing each of
these strings?
c Prove that every DFA that accepts Lk must have at least k states.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
