CU DSE-B-1 Boolean Algebra and Automata Theory, 2021
University of Calcutta question paper, B.Sc. Honours Semester V, 2021. Boolean Algebra and Automata Theory. Typed in LaTeX, searchable, with a printable PDF.
Open this paper in MathQP
- The graph given below is an example of
- The output sequence for AND Gate with inputs X=111001 , Y=100101 , and Z=110011 is
- NOT
- X-NOR
- AND
- XOR.
- If L 1= a n mid n ge 0 and L 2= b n mid n ge 0 , consider (I) L 1.L 2 is a regular language. (II) L 1.L 2= a nb n mid n ge 0 Which one of the following is correct?
- Given Language : L= ab cup aba * If X is the minimum number of states for a DFA and Y is the number of states to construct the NFA, |X-Y|= ?
- The Boolean function representing the following switching circuit is
- if and only if S is closed under the operation vee only
- if and only if S is closed under the operation wedge only
- if and only if S is closed under both the operations vee and wedge
- if all the above statements are correct.
- In the following diagram :
- Suppose a Push Down Automaton (PDA) has the following inputs : (I) 10101010101 (II) 101011110 Then which of the following statements is correct?
- Which is the shortest string that is not in the language represented by the regular expression (RE): a *(ab) *a * ?
- Prove that the direct product of any two distributive lattices is a distributive lattice.
- Prove that every distributive lattice is modular.
- Show that D 30 is isomorphic to B 3 , where D n denotes the set of all divisors of n and B n is the set of n tuples whose members are either 0 or 1 . Can we say that D 30 is a Boolean algebra? Justify your answer.
- A bulb in a staircases has two switches, one switch being at the ground floor and the other one at the first floor. The bulb can be turned ON and also can be turned OFF by one of the switches irrespective of the state of the other switch. Draw the switching circuits.
- xy+xy'+x'y
- xy'+x(yz)'+z
- Find the minimal forms for x 3(x 2+x 4)+x 2 x 4'+x 2'x 3'x 4 using the Karnaugh diagrams.
- Show that NOR gate is a universal gate.
- Show that the following languages are not regular : L= a mb n mid m,n>0 and n<m .
- Find a deterministic automaton which accepts the same language as the non-deterministic automaton. 5
- Find the output string corresponding to an input string aabbb for the FSM, where Q= 0,1 , Sigma = a,b , f:Q times Sigma to Q , g:Q times Sigma to O (output) and f,g are defined by : 5 || multicolumn 2 c| f | multicolumn 2 c| g | | Q backslash Sigma | a | b | a | b | | q 0 | q 0 | q 1 | 0 | 1 | | q 1 | q 1 | q 1 | 1 | 0 |
- Find the language with regular expression accepted by the following automaton :
- State if the above automaton is a DFA or NDFA. Justify your answer.
- Is a regular expression unique for a language? Give example(s) in support of your answer.
- Show that the following grammar is ambiguous. S to aSbS mid bSaS mid lambda
- Show a derivation tree for the string aabbbb with the grammar S to AB mid lambda A to aB B to Sb Give a verbal description of the language generated by this grammar.
- Convert the grammar with the following production rules to Greibach Normal Form (GNF) : S to XA mid BB B to b mid SB X to b A to a
- Construct or simulate a push down automaton (PDA) for the language 0 n 1 m 0 n : m,n ge 1 .
- Consider the program that simply moves the position of the machine on the tape from the beginning to the end of a string. The alphabet is Sigma = a,b and symbol Gamma = a,b, # , the set of states Q= s 0,s 1, # and the set of rules is given by : (s 0,a,s 1,a,R) ; (s 0,b,s 1,b,R)(s 1,a,s 1,a,R)(s 1,b,s 1,b,R)(s 1, #,h, #, #) where the symbols carry usual meanings. Write down the configurations of the Turing Machine (TM) from the beginning of the program to the last state.
- Construct TM (Turing machine) for the language L= 0 n 1 n , where n>=1 .
- Prove that if the halting problem were decidable, then every recursively enumerable language would be recursive, consequently the halting problem is undecidable.
- Let A= 001, 0011, 11, 101 and B= 01, 111, 111, 010 . Does the pair (A,B) have a post correspondence solution?
- Prove that there exists no algorithm for deciding whether or not L(G 1) cap L(G 2)= varphi for arbitrary Context–free grammars G 1 and G 2 .