Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs402 mid term current paper subjective fall 4 December 2011
#1
Question#1 Consider the CFG ( 5marks)
S--> bS | aX | ^
X--> aX | bY | ^
Y--> aX | ^

Derive the following string from CFG. Show all steps
baabab
ababaab

Question#2 Construct corresponding CFG for the given language (5 mark)
(1) All words of even length but not multiple of 3.
(2) Palindrome (both even and odd palindrome).

Question#3 Write the CFG for the following RE
(a+b)* aa (a+b)*
( 5Marks)

Question-4.What does the following arbitary summary table shows (3 Marks)

From
Where
READ 9

To
Where
READ3

READ
What
b

POP
What
b

Push
What
abb

ROW
number
11

Question #5.Is the following CFG ambiguous? How can you remove the ambiguity?
S→aS│bS│aaS│ ^ ( 3marks)
=
ab
{,}
∑

Question# 6. If L1, L2, L3 are any three finite languages on
∩∪∩≠∅
LLLL
(12)(13)
(3marks)

Question#7.Construct RE for the language having words of even length over ∑= {a.b} (2
Mark)

Question#8.A Push down Automata consists of and input TAPE with ----------many
location in one direction. (Marks 2)

Question# 9. Write alternative form of this production (2 Marks)
→→→∧
SaSSbSS
,,

, when will be the

Question 10. What is the first step when you want to write RE corresponding to TG
(2Marks??)

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  it430 mid term subjective paper fall December 2011 Vuhelper 1 4,826 11-17-2014, 03:21 AM
Last Post: Xpert
  ECO401 mid term current paper subjective fall 2011 Vuhelper 2 3,841 05-21-2014, 05:15 PM
Last Post: vu-drama
  FIN 625 Current Midterm papers Dated 25-05-2013 to 5-06-2013 mirugs 1 2,405 05-30-2013, 04:21 AM
Last Post: Vuhelper
  FIN 625 Current Midterm papers Dated 25-05-2013 to 5-06-2013 mirugs 0 2,941 05-30-2013, 03:29 AM
Last Post: mirugs
  ECO401 Economics Solve Mid Term Paper Fall Semester December 2012 Vuhelper 0 5,017 11-27-2012, 04:38 PM
Last Post: Vuhelper
  fin621 mid term current paper fall 4 December 2011 Vuhelper 2 3,184 05-02-2012, 11:53 PM
Last Post: Vuhelper
  CS605_Software Engineering II mid term mcqz paper December 2011 Vuhelper 0 2,523 12-09-2011, 11:01 PM
Last Post: Vuhelper
  eng201 mid term current paper December 2011 Vuhelper 0 3,432 12-09-2011, 10:58 PM
Last Post: Vuhelper
  STA630 Midterm paper December 2011 Vuhelper 0 2,785 12-09-2011, 10:45 PM
Last Post: Vuhelper
  HRM624 current mid term subjective paper December 2011 Vuhelper 0 2,934 12-09-2011, 10:43 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)