TAILIEUCHUNG - Lecture Theory of automata - Lecture 33

In this chapter, the following content will be discussed: Task, solution of the task, example, polish notation, Ambiguous CFG, example, deciding whether an FA accept any string or not, method 3, examples, finiteness of a language, CFG, context Free language, examples. | Task Construct CFG that generates the language L = {w {a,b}*: length(w) 2 and second letter of w from right is a} Solution of the task Construct CFG that generates the language L = {w {a,b}*: length(w) 2 and second letter of w from right is a} It can be observed that the language L can be expressed by (a+b)*(aa+ab). Here the nonterminal S should be replaced the nonterminals X or Y where X should generate the strings corresponding to (a+b)* and Y should generate the strings corresponding to (aa+ab). Thus the required CFG may be (1) S XY (2) X aX

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.