CU DSE-B-2 Boolean Algebra and Automata Theory, 2020
University of Calcutta question paper, B.Sc. Honours Semester V, 2020. Boolean Algebra and Automata Theory. Typed in LaTeX, searchable, with a printable PDF.
Open this paper in MathQP
- If every two elements of a poset are comparable then the poset is
- Finite Automata accepts language that is generated by
- A grammar is said to be ambiguous if it produces
- The following CFG S to aS mid bS mid a mid b , is equivalent to the regular expression
- Let Sigma = a,b . Then a regular expression (a+b) 2 corresponds to the language
- The complement of the expression (A'B+CD') is
- A problem for which there exists a Turing machine which halts on every input is called
- Which of the following is/are the universal logic gates?
- Let w be a string and fragmented by three variable x,y and z as per pumping lemma. What does these variable represent?
- Which of the following machine can accept even palindrome over a,b ?
- Let n in N , where N is the set of all positive integers and S be the set of all divisors of n . In S , define a relation โ le ' by a le b iff a is a divisor of b for a,b in S . Is (S, le ) lattice? Justify.
- What is lattice homomorphism? Give an example to show that the order relations are preserved under lattice homomorphism.
- Let D(40) denote the set of all positive divisors of 40 . Consider the lattice (D(40), le ) where le denotes the divisibility relation. Find 4 wedge (8 vee 10) and (2 vee (2 wedge 8)) vee 20 .
- Use K -map method to find the minimized sum-of-product expression of the following Boolean expression: x ,y ,z + x ,y ,z' + x ,y' ,z' + x' ,y ,z + x' ,y ,z'.
- Define functionally complete operations.
- Realize the following switching function using NAND gates only : f(A,B,C,D)=A cdot C+B cdot D
- Prove that any chain is a distributive lattice.
- Construct an NFA that accepts the following regular expression : 0 *(010) *(00+11) . Then convert the NFA into equivalent DFA.
- Suppose that L 1 and L 2 are two languages (over the same alphabet) given to you such that both L 1 and L 1L 2 are regular. Prove or disprove: L 2 must be regular too.
- Using the pumping lemma, prove that the language L 3= a ib j mid i,j>0, and |i-j| is a prime is not regular. (Note that 1 is not treated as a prime.)
- Construct a Mealy machine that accepts (00+11) *0100 and produce output โ y ' when current input matches previous input and otherwise emits โ n '. The machine uses its state to remember the last input symbol read.
- Is there any difference between a finite automaton and a finite state machine? Explain.
- Let M=( Sigma ,Q,s 0, delta ,F) denote a deterministic finite automaton, where Sigma = a,b , Q= s 0,s 1,s 2 , F= s 0,s 2 and delta is defined by the following table : | delta | s 0 | s 1 | s 2 | | a | s 1 | s 2 | s 2 | | b | s 0 | s 0 | s 1 | Draw the state diagram that represents the given automaton M . Hence, determine which one of the following words is accepted by M stating the reason : aba, quad bbaaa
- Construct a Context-Free-Grammar (CFG) with no useless symbol and no epsilon -production from the given grammar:- G=(V, Sigma ,R,S) , where V= S,A,a,b , Sigma = a,b , R= S to aS, S to bAB, A to aA ,AB, B to A, A to bS, S to varepsilon , L(G)= w in a,b *: w contains an even number of b .
- L= a n 1 b n 2 cdots a n k b n k mid k ge 0 . Construct a CFG for this language. Prove using Pumping Lemma, whether a Mb Mc N is Context-Free Language or not for M ge 1 and N ge M .
- Convert the grammar with following production rules to Chomsky Normal Form (CNF) : P= S to ASB mid Lambda , ; A to aAS mid a, ; B to SbS mid A mid bb .
- Construct a push down automaton which reads the same language as the grammar Gamma =(N, Sigma ,S,P) defined by N= S,A,B , Sigma = a,b,c and set of productions P given by S to aA, ; A to aAB, ; A to a, ; B to b ; B to Lambda .
- Construct a TM for the language L= 0 n1 n2 n where n ge 1 .
- Prove that every language accepted by a multitape Turing machine is RE (recursively enumerable).
- Assume that Turing machines are encoded by strings over some alphabet Sigma , and that # notin Sigma . Consider the following language over the alphabet Sigma cup # : L 6= M 1 #M 2 #M 3 mid M 1,M 2,M 3 are Turing machines with L(M 1) cap L(M 2)=L(M 3) . Prove that L 6 is not recursively enumerable. (Note : You must supply a complete reduction proof. No intuitive justification will be given any credit.).
- Does the PCP with the following two lists have solution? X= 100,0,1 and Y= 1,100,00 Justify your answer.
- Prove that it is undecidable whether an arbitrary CFG (Context Free Grammar) is ambiguous.