Exam Details

Subject formal language and automata theory
Paper
Exam / Course b.tech
Department
Organization Vardhaman College Of Engineering
Position
Exam Date May, 2018
City, State telangana, hyderabad


Question Paper

Hall Ticket No: Question Paper Code: A3513
VARDHAMAN COLLEGE OF ENGINEERING
(AUTONOMOUS) B. Tech IV Semester Regular/Supplementary Examinations, May 2018
(Regulations: VCE-R15) FORMAL LANGUAGE AND AUTOMATA THEORY
(Common to Computer Science and Engineering Information Technology) Date: 15 May, 2018 FN Time: 3 hours Max Marks: 75
Answer ONE question from each Unit
All Questions Carry Equal Marks
Unit I
1. Design Deterministic Finite Automata accepts all strings without two consecutive
over an alphabet 1}.
6M
Convert the following Nondeterministic Finite Automata to Deterministic Finite
Automata (DFA).
Fig.1
9M
2. Illustrate what does the given NFA accept.
Fig.2
5M
Design Deterministic Finite Automata for the following languages, over the
alphabet
i. Set of all strings containing the substring 0110
ii. Set of all strings that do not contain the substring 1010
10M
Unit II
3. Write regular expressions for the following languages over the alphabet Σ
i. All strings that do not end with aa
ii. All strings that contain an even number of
iii. All strings which do not contain the substring ba
iv. The language of all words
v. All words ending with b
vi. All words that start with a
vii. The language of all strings, not beginning with b
viii. All words that start with a double letter
8M
Prove the language L n is a square} is not regular by applying pumping lemma.
7M
4. Prove the language L over that contains 01 or 10 as sub-string is regular. 7M
Construct Regular Expression for the given DFA.
Fig.3
8M
Cont…2
2
Unit III
5.
Explain the two major normal forms for context-free grammar.
7M
Given the grammar G R aB bA,
A a
B aBB bS
i. Show a leftmost derivation of the string aaabbabbba
ii. Show a rightmost derivation of the string aaabbabbba
8M
6.
Construct a context-free grammar for strings over with exactly twice as many "a"s as "b"s.
7M
Consider the following language L {wwR w € Give a context-free grammar G that generates L and a parse tree that shows that aababb ∈ L.
8M
Unit IV
7.
Define the pushdown automata for language {anbn n 0}.
7M
Write the Algorithm to find PDA corresponding to a given CFG.
Construct a PDA from the following S)where the productions are −S → XS ε A → aXb Ab ab.
8M
8.
Construct the Deterministic Push Down Automata for anbncm m≥1.
8M
Construct a PDA that accepts L wwR w
7M
Unit V
9.
Find out whether "Is a number prime?" decidable or not.
7M
Consider a Turing machine with start state 0 and the following transitions:
State
Symbol
Symbol) 0
a
0
b
0

1
a
1
b
1

2
a
2

3
a
3
b
3

4
a
4
b
4

5
b
5

Trace the execution of this Turing machine with the stringbaaab#as input.
8M
10.
Design a Turing machine that transforms a string containing only and by replacing each letter preceding an to The Turing machine should always eventually enter an accepting state to terminate.
7M
Describe what is meant by each of the following:
i. Recursive languages
ii. Recursively enumerable languages
iii. Chomsky hierarchy
8M


Other Question Papers

Subjects

  • advanced computer networks
  • advanced database management systems
  • advanced digital signal processing
  • advanced structural design
  • air line management
  • air pollution and control methodologies
  • aircraft systems and instrumentation
  • analog communications
  • artificial intelligence
  • automobile engineering
  • basic electrical engineering
  • basic mechanical engineering
  • cad/cam
  • cellular and mobile comunications
  • cloud computing
  • coding theory and techniques
  • compiler design
  • computational fluid dynamics
  • computer architecture and parallel processing
  • computer graphics
  • computer graphics concepts
  • computer networks
  • computer organization and architecture
  • computer programming
  • computer vision and pattern recognition
  • concrete technology
  • control systems
  • cyber security
  • data mining and data warehousing
  • database management systems
  • design and drawing of hydraulic structures
  • design for testability
  • digital image processing
  • distributed databases
  • distributed operating systems
  • electrical machines-ii
  • electromagnetics and transmission lines
  • electronic measurements and instrumentation
  • embedded netwrok and protocols
  • embedded software design
  • embedded systems
  • engineering drawing-i
  • engineering mechanics-i
  • engineering physics
  • entrepreneurship
  • environmental engineering-ii
  • environmental science
  • finite elements methods in civil engineering
  • flexible ac transmission systems
  • formal language and automata theory
  • grid and cloud computing
  • hardware software co-design
  • heat transfer
  • high voltage engineering
  • hydraulic machines
  • hydraulics and hydraulic machines
  • image processing
  • image processing and pattern recognition
  • industrial management and psychology
  • information retrieval systems
  • instrumentation and control systems
  • kinematics of machinery
  • low power cmos vlsi design
  • managerial economics and financial analysis
  • microwave engineering
  • mobile application development through j2me
  • national service scheme
  • network security and cryptography
  • operating systems
  • operations research
  • pavement analysis and design
  • planning and drawing
  • power electronic control of ac drives
  • power electronic converters-ii
  • power semiconductor drives
  • power system generation
  • power system switchgear and protection
  • principles of electrical engineering
  • principles of programming languages
  • probability theory and numerical methods
  • production technology-i
  • programmable logic controllers and applications
  • project planning and management
  • pulse and digital circuits
  • reactive power compensation and management
  • refrigeration and air conditioning
  • rehabilitation and retrofitting structures
  • reliability engineering
  • renewable energy sources
  • robotics and automation
  • satellite and radar communications
  • service oriented architecture
  • signals and systems
  • software architecture
  • software engineering
  • software project management
  • software testing and quality assurance
  • speech signal processing
  • strength of materials-iibuilding
  • structural analysis-i
  • surveying-ii
  • technical english
  • thermal engineering-i
  • utilization of electrical energy
  • vlsi design
  • web technologies
  • wireless and mobile computing
  • wireless communications and networks