10-25-2011, 08:35 PM
[FONT="] [/FONT]
[FONT="]CS402[/FONT][FONT="][/FONT]
[FONT="]ASSIGNMENT NO.1[/FONT]
Total Marks= 20 (4+4+4+4+4)
[FONT="]Assignment Submission Deadline[/FONT]
Your assignment must be uploaded before or on 31-10-2011 [upload your assignment well before due date to avoid any assignment uploading related issues]
[FONT="]Rules for Marking[/FONT]
It should be clear that your assignment will not get any credit if:
[FONT="]Objectives[/FONT]
Objectives of this assignment are to make students able to understand the following concepts,
[FONT="]Question No.1 Basic Concepts [Sets, Letters, Valid Alphabet, Languages, Strings and Words] [/FONT]
a. Which of the following are strings generated from alphabet Σ = {a, b}
i. abba
ii. baa$a
iii. abc.
iv. ba?
v. b.bba
b. Which of the following are valid words for language of all strings ending with bab defined for alphabet Σ = {a, c , bab}
i. acccba
ii. cccbaa
iii. cccbab
iv. babbb
v. baaab
[FONT="]Question No.2 Defining Languages [Using Recursive Definition, Re’s, Fa’s][/FONT]
Give recursive definitions of following languages defined over alphabet Σ = {a, b}
[FONT="]Question No.3 Regular Expressions[/FONT]
Give Regular Expression for each of the following language defined over alphabet Σ = {a, b}
[FONT="]Question No.4 Models To Recognize Languages (Fa’s)[/FONT]
Give Finite Automata (FA) for each of the following language defined over alphabet Σ = {a, b}
[FONT="]Question No.5 Models To Recognize Languages (Nfa’s)[/FONT]
Give Non Deterministic Finite Automata (NFA) for each of the following language defined over alphabet Σ = {a, b}
[FONT="]Theory of Automata[/FONT]
[FONT="]ASSIGNMENT NO.1[/FONT]
Total Marks= 20 (4+4+4+4+4)
Your assignment must be uploaded before or on 31-10-2011 [upload your assignment well before due date to avoid any assignment uploading related issues]
[FONT="]Rules for Marking[/FONT]
It should be clear that your assignment will not get any credit if:
- The assignment is submitted after due date
- The assignment is copied
[FONT="]Objectives[/FONT]
Objectives of this assignment are to make students able to understand the following concepts,
- Basic concepts clarification
- Recursive Definition of a language
- Regular Expression
- Finite Automata
[FONT="]Question No.1 Basic Concepts [Sets, Letters, Valid Alphabet, Languages, Strings and Words] [/FONT]
a. Which of the following are strings generated from alphabet Σ = {a, b}
i. abba
ii. baa$a
iii. abc.
iv. ba?
v. b.bba
b. Which of the following are valid words for language of all strings ending with bab defined for alphabet Σ = {a, c , bab}
i. acccba
ii. cccbaa
iii. cccbab
iv. babbb
v. baaab
[FONT="]Question No.2 Defining Languages [Using Recursive Definition, Re’s, Fa’s][/FONT]
Give recursive definitions of following languages defined over alphabet Σ = {a, b}
- Having all strings starting with b and having length greater than 2
- NOT having ab at any place.
[FONT="]Question No.3 Regular Expressions[/FONT]
Give Regular Expression for each of the following language defined over alphabet Σ = {a, b}
- Even Length strings ending with b
- Strings with b’s count multiple of three
[FONT="]Question No.4 Models To Recognize Languages (Fa’s)[/FONT]
Give Finite Automata (FA) for each of the following language defined over alphabet Σ = {a, b}
- Language having all strings NOT containing aa at any place
- Language of all strings NOT STARTING with bb
[FONT="]Question No.5 Models To Recognize Languages (Nfa’s)[/FONT]
Give Non Deterministic Finite Automata (NFA) for each of the following language defined over alphabet Σ = {a, b}
- Language of all strings STARTING WITH bba
- Language having all strings NOT having even no of a’s and b’s
0300-9520262
Get solution in 24 hour |cpmputer & internet
mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
