You are on page 1of 1

MARWADI EDUCATION FOUNDATION GROUP OF INSTITUTIONS FACULTY OF ENGINEERING CE &IT DEPARTMENT Subject: System Programming Semester: 6th CE

Tutorial 1
Issue date: 9/1/12 Due date:24/1/12 1. Let L = {anbm / n,m >=1} be a language. Give regular expression for the language and draw a state diagram for finite automata of given language. Also create a C-program that validates the strings of this language. 2. Let L = {All binary numbers which are divisible by 3} be a language. Give regular expression for the language and draw a state diagram for finite automata of given language. Also create a C-program that validates the strings of this language. 3. Let L = {Printf statement of C-language} be a language. Give regular expression for the language and draw a state diagram for finite automata of given language. Also create a Cprogram that validates the strings of this language. 4. Let L = {All prefixes of ababababab} be a language. Give regular expression for the language and draw a state diagram for finite automata of given language. Also create a Cprogram that validates the strings of this language.

Prepared By: Tejas Chauhan Asst. Prof., MEFGI.

You might also like