BTech BTES
BTech BTES
of Pages : 02
Total No. of Questions : 09
B.Tech. (CSE) (Sem–5)
FORMAL LANGUAGE & AUTOMATA THEORY
Subject Code : BTCS 502-18
M.Code : 78321
Date of Examination : 08-06-2023
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying T WO marks
each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
3. SECTION-C contains T HREE questions carrying T EN marks each and students
have to attempt any T WO questions.
SECTION-A
1. Write briefly :
c. Write regular expression for strings begins with 00 and ends with 11.
h. Define LBA.
1 | M-78321 (S2)-2359
SECTION-B
2. Explain the Chomsky hierarchy of grammars. Show the correspondence between the
automation and types of Grammar.
3. Discuss the procedure to convert NDFA to DFA with the help of suitable example.
4. What is parsing? How Left most and right most derivation helps to find out the ambiguity
in a CFG?
5. Discuss the concept of Pumping Lemma for regular grammars. How Pumping Lemma is
used to prove weather a given grammar is not a regular grammar?
6. What do you understand by tractable and Intractable problems with reference to Turing
Machines?
SECTION-C
8. Discuss Push down Automation in detail. Design PDA for {wcwT | w={a,b}*}
a. Minimization of FA
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.
2 | M-78321 (S2)-2359