php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Virtual University MCS assignments solutions
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#36
[FONT=&quot]Theory of Automata (CS402)[/FONT]

[FONT=&quot]Assignment No.5[/FONT]

[FONT=&quot]Deadline[/FONT]

Your assignment must be uploaded before or on.
[FONT=&quot]Rules for Marking[/FONT]

It should be clear that your assignment will not get any credit if:
·[FONT=&quot] [/FONT]The assignment is submitted after due date
·[FONT=&quot] [/FONT]The assignment is copied
[FONT=&quot]Objectives[/FONT]

Objective of this assignment is to make you able to understand the following concepts,
·[FONT=&quot] [/FONT]Defining Context Free Grammars for Different Languages
·[FONT=&quot] [/FONT]Null and Null-able Transitions and Regular Context Free Grammars
·[FONT=&quot] [/FONT]Chomsky Normal Form
·[FONT=&quot] [/FONT]Push Down Automata

[FONT=&quot]Question No.1[/FONT]

Give CFG for the following languages,

  1. anbm where m = n-1 and n = 1,2,3…
Some words belonging to this language are, a , aab , aaabb , aaaabbb , ….

  1. anb2n where n = 1,2,3…
Some words belonging to this language are, abb , aabbbb , aaabbbbbb , ….

[FONT=&quot]Question No.2[/FONT]

Consider the CFG given below and find Null and Null-able transitions (if any) also remove these transitions to give new CFG

S ---- > ABB | CC | ABC | AC
A --- > a | Є
B --- > b | C
C --- > ab | Є

[Here Є means null string, as in CFG’s we use Є for indicating null string instead of ^ sign]

[FONT=&quot]Question No.3[/FONT]

Convert the CFG (Context Free Grammar) given below to CNF (Chomsky Normal Form)

S ---- > YYY | ZZ | aa | bb
Y --- > a | Z
Z --- > b | Y

[FONT=&quot]Question No.4[/FONT]

Design PDA (Push Down Automata) for the language given below,
(ba)n(a)n n = 1,2,3…
Reply


Messages In This Thread
Virtual University MCS assignments solutions - by Xpert - 11-05-2010, 04:58 PM
Virtual University MCS assignments solutions - by Xpert - 01-23-2011, 02:53 AM
Virtual University MCS assignments solutions - by sana.pari - 04-15-2011, 06:06 AM
Virtual University MCS assignments solutions - by gm mughal - 04-18-2011, 09:19 PM
Virtual University MCS assignments solutions - by Xpert - 04-18-2011, 11:57 PM
Virtual University MCS assignments solutions - by Xpert - 06-09-2011, 06:26 AM
Virtual University MCS assignments solutions - by Xpert - 10-13-2011, 09:01 PM
Virtual University MCS assignments solutions - by Xpert - 11-11-2011, 02:09 AM
Virtual University MCS assignments solutions - by sonia anam - 01-18-2012, 02:37 PM
Virtual University MCS assignments solutions - by Xpert - 09-28-2014, 05:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  mcs cs408 assignment no 1 for may spring 2015 semester for virtual university Xpert 0 1,778 05-15-2015, 03:28 AM
Last Post: Xpert
  Virtual university MCS online tuition and helping forum for fall 2014 Semester Xpert 0 1,347 09-28-2014, 05:19 PM
Last Post: Xpert
  CS615 assignment no 4 fall 3 January 2012 virtual university solution soon Vuhelper 4 2,677 01-07-2012, 12:10 AM
Last Post: rabeel
  Operating System- CS604 Assignment # 01 idea solutions fall 2011 rabeel 1 2,731 11-03-2011, 01:39 AM
Last Post: somii
  cs302 assignments no 01 Solution spring October 2011 saneha 8 3,486 11-01-2011, 12:34 AM
Last Post: faisal.jhujh
  CS201 - Introduction to Programming All spring assignments Announcement April 2011 Xpert 0 1,667 04-08-2011, 08:05 PM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support