Home /UOS — University of Sargodha /Main Campus /Theory of Automata and Formal Languages

Theory of Automata and Formal Languages BE UOS — University of Sargodha 2016

Theory of Automata and Formal Languages BE UOS — University of Sargodha 2016 — page 1

Discussion

Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.

Your email is only used to send you replies and occasional Ustadni updates. It is never shown publicly.

Log in to post under your name

No questions yet — be the first to ask.

Need Paper? See all →

Need a paper or stuck on a question? Ask here — students reply and you get an email.

Ask about a paper
  • Ayesha Mustafa· 5 days ago

    BS ZOOLOGY first semester Animal diversity ZOOL 101 - university of Punjab 2025

    0 replies Reply →
  • Abubakar· 5 days ago

    Literary criticism

    1 reply Reply →
  • Guest· 5 days ago

    this paper consists of 60 marks but now we have 35 marks paper.

    1 reply Reply →
  • Annie· 6 days ago

    Can you please tell me more past papers please because my exams are starting from next week

    1 reply Reply →
  • Ahmed· 10 days ago

    Did you provide the past papers of the science of society uos?

    1 reply Reply →

More Theory of Automata and Formal Languages papers

See all

Paper text

DEFARTVIENI OF COMPOTEN OCE

UNIVERSTY OF SARGODHA

Time: 2 hrs.

Marks: 50

Subject: Theory of Automata

Roll no-

Q.1

Final TERM

Give brief explanation

a) When a CFG is said to be in GNF?

ustani.pk

b) Why Context Free Grammars called "Context Free"?

ustani.pk /2*/

c) What are the Productions?

d) How Moore and Mealy machine works in Computer memory what is their importance in

computing?

e) What is the difference between Parse tree and Total Language tree?

[5+5]

a) Convert the Following CFG to CNF

SI

Aad

aB / bAB

B

D

b) What is ambiguous Grammar? Prove that following CFG is ambiguous.

XbaX / aX

Ха / Хь / Л

‚4

[2.54]

Using Pumping Lemma show that { a" [n is a non-negative number }is non regular

We rie CFG for the language over the alplabet (0.1) that have the set of all strings whose

10" symbol from the right end is 20-

White CrO for the language guer the alplabet (n.b) that accept all string having *a' at

every odd position.

Write CFG for the language over the alphabet fa.

b) accept all alds that start with a

(followed by odd a's and odd b's)

[6+4]

Design a PDA for the following language

a"b"amn where min and m.n.≥0

Design a PDA for the language that accept: all words that do not ends on double Letter.

visit website: ustani.pk