Program: _Information Technology_ Engineering Curriculum Scheme: Rev2016 Examination: Second Year Semester IV Course Code: ITC405 and Course Name: AT Time: 1 hour Max. Marks: 50 ======For the students:- All the Questions are compulsory and carry equal marks . Q1. There are ______tuples in finite state machine. Option A: 4 Option B: 5 Option C: 6 Option D: Unlimited

Q2. Transition function maps. Option A: Σ * Q -> Σ Option B: Q * Q -> Σ Option C: Σ * Σ -> Q Option D: Q * Σ -> Q

Q3. Number of states require to accept string ends with 10. Option A: 3 Option B: 2 Option C: 1 Option D: Can’t be represented

Q4. δ*(q,ya) is equivalent to : Option A: δ((q,y),a) Option B: δ(δ*(q,y),a) Option C: δ(q,ya) Option D: independent from δ notation

Q5. String X is accepted by finite automata if . Option A: δ*(q,x) E A Option B: δ(q,x) E A Option C: δ*(Q0,x) E A Option D: δ(Q0,x) E A

Q6. for all strings starts with ab and ends with bba is. Option A: aba*b*bba Option B: ab(ab)*bba Option C: ab(a+b)*bba Option D: ab+ab+ab

Q7. The basic limitation of finite automata is that Option A: It can’t remember arbitrary large amount of information. Option B: It sometimes recognize grammar that are not regular. Option C: It sometimes fails to recognize .

1 | Page

Option D: All of the mentioned

Q8. Finite automata requires minimum ______number of stacks. Option A: 1 Option B: 0 Option C: 2 Option D: 3

Q9. Assume the statements S1 and S2 given as: S1: Given a context free grammar, there exists an algorithm for determining whether L (G) is infinite. S2: There exists an algorithm to determine whether two context free grammars generate the same language. Which of the following is true? Option A: S1 is correct and S2 is not correct Option B: Both S1 and S2 are correct Option C: Both S1 and S2 are not correct Option D: S1 is not correct and S2 is correct

Q10. If P & R are regular and also given that if PQ=R, then? Option A: Q has to be regular Option B: Q cannot be regular Option C: Q need not be regular Option D: Q has to be a CFL

Q11. Consider the grammar given below E? E+E | E*E | E-E | E/E | E^E | (E) | id Assume that + and ^ have the same but least precedence, * and / have the next higher precedence but the same precedence and finally ^ has the highest precedence. Assume + and ^ associate to the left like * and / and that ^ associates to the right. Choose the correct for the ordered pairs (^,^), (-,-), (+,+), (*,*) in the operator precedence table constructed for the grammar. Option A: All < Option B: All > Option C: < >, = Option D: < > > >

Q12. Grammar that produce more than one Parse tree for same sentence is ______Option A: Ambiguous Option B: Unambiguous Option C: Complementation Option D: Concatenation Intersection

Q13. Automaton accepting the regular expression of any number of a’ s is ______Option A: a* Option B: ab* Option C: (a/b)* Option D: a*b*c

2 | Page

Q14. Grammars that can be translated to DFAs is ______Option A: Left Option B: Right linear grammar Option C: Generic grammar Option D: All of the mentioned

Q15. Which of the following language accepted by a Push down Automata? Option A: Type0 Option B: Type1 Option C: Type2 Option D: Type3

Q16. Given the following statements: (i) Recursive enumerable sets are closed under complementation. (ii) Recursive sets are closed under complements. Which is/are the correct statements? Option A: I only Option B: II only Option C: Both I and II Option D: Neither I nor II

Q17. A push down automaton employs ______data structure. Option A: Queue Option B: Linked List Option C: Hash Table Option D: Stack

Q18. Which of the following allows stacked values to be sub-stacks rather than just finite symbols? Option A: Push Down Automaton Option B: Option C: Nested Stack Automaton Option D: None of the mentioned

Q19. A non deterministic two way, nested stack automaton has n-tuple definition. State the value of n. Option A: 5 Option B: 8 Option C: 4 Option D: 10

Q20. A non deterministic two way, nested stack automaton has n-tuple definition. State the value of n. Option A: Embedded PDA Option B: Nested Stack automata Option C: DPDA Option D:

3 | Page

Q21. The value of n if turing machine is defined using n-tuples: Option A: 6 Option B: 7 Option C: 8 Option D: 5

Q22. RASP stands for: Option A: Random access storage program Option B: Random access stored program Option C: Randomly accessed stored program Option D: Random access storage programming

Q23. Which of the following is not true about RASP? Option A: Binary search can be performed more quickly using RASP than a turing machine Option B: Stores its program in memory external to its state machines instructions Option C: Has infinite number of distinguishable, unbounded registers Option D: Binary search can be performed less quickly using RASP than a turing machine

Q24. Which of the operations are eligible in PDA? Option A: Push Option B: Pop Option C: Insert Option D: Delete

Q25. The number of states required to automate the last question i.e. {a,b}*{aba}{a,b}* using finite automata: Option A: 4 Option B: 3 Option C: 5 Option D: 6

4 | Page