Problem 3 : [10 points] [Regular Languages + Context Free Languages] Given a language L S {0,1}*, CUT(L) is defined as t

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Problem 3 : [10 points] [Regular Languages + Context Free Languages] Given a language L S {0,1}*, CUT(L) is defined as t

Post by answerhappygod »

Problem 3 10 Points Regular Languages Context Free Languages Given A Language L S 0 1 Cut L Is Defined As T 1
Problem 3 10 Points Regular Languages Context Free Languages Given A Language L S 0 1 Cut L Is Defined As T 1 (61.92 KiB) Viewed 19 times
Problem 3 10 Points Regular Languages Context Free Languages Given A Language L S 0 1 Cut L Is Defined As T 2
Problem 3 10 Points Regular Languages Context Free Languages Given A Language L S 0 1 Cut L Is Defined As T 2 (9.37 KiB) Viewed 19 times
Problem 3 : [10 points] [Regular Languages + Context Free Languages] Given a language L S {0,1}*, CUT(L) is defined as the language CUT(L) = {yx | € {0,1}*, y € {0,1}* and xy EL }. Notice that I and y are strings in {0,1}* (and hence possibly e). Therefore if w = 0011 € L, by cutting and rearranging w at different positions in the strings, we get that all the following strings 0011 (1 = E), 0110 (1 = 0), 1100 (1 = 00), 1001 (1 = 001), and 0011 (1 = 0011) belong to CUT(L). (a) Given the context free language B = {0"1" n >0}, describe precisely using set notation, what CUT(B) is. [4 points] (b) Show that CUT(B) is context free by giving the PDA or by giving the context free grammar for it. [4 points) Hint: Count the number of Os and is in the strings in CUT(B).
= (©) Given the regular language A = L(1*0*1*), describe precisely using set notation, what CUT(A) is. [2 points)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply