This download link is referred from the post: PTU B.Tech 5th Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University
B.Tech. (IT) (Sem.-5)
FORMAL LANGUAGE & AUTOMATA THEORY
--- Content provided by FirstRanker.com ---
Subject Code : BTIT-501-18
M.Code : 78256
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains FIVE questions carrying FIVE marks each and students has to attempt any FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students has to attempt any TWO questions.
--- Content provided by FirstRanker.com ---
SECTION-A
Answer briefly :
- Define Finite Automaton.
- What are various properties of transition function?
- Define grammar and language.
- Differentiate between left and right context in languages.
- Define yield in CFG.
- Define ambiguity in CFG.
- Define TM.
- Define the term acceptability in PDA.
- Give instantaneous description of Turing machine.
- Differentiate between DFA and NDFA.
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
--- Content provided by FirstRanker.com ---
- Write a note on canonical derivations.
- Discuss the formal properties of LL(k) and LR(k) grammars.
- Explain the concept of ambiguity with the help of example.
- Construct a Moore machine equivalent to the Mealy machine M defined by following table :
Present State | Next State | |||
---|---|---|---|---|
a=0 | a=1 | |||
State | State | Output | State | Output |
q1 | q2 | 1 | q4 | 0 |
q2 | q4 | 1 | q4 | 1 |
q3 | q1 | 1 | q6 | 1 |
q4 | q3 | 0 | q1 | 1 |
- Find a reduced grammar equivalent to the given grammar.
--- Content provided by FirstRanker.com ---
S → AB A → a B → b B → C E → c
SECTION-C
- Write a note on cellular automaton and rewriting systems.
- Design PDA for {ambn | m > n}
- Design Turing machine of {0n1n | n >= 1}
--- Content provided by FirstRanker.com ---
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU B.Tech 5th Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University