Professional Documents
Culture Documents
SAL Institute of Technology and Engineering Research
SAL Institute of Technology and Engineering Research
SAL Institute of Technology and Engineering Research
Engineering Research
Computer Engineering Department
Explain on to, one to one, and Bijection Function with suitable example.( WINTER 2021,SUMMER
1 2020) 3
2 Explain reflexivity, symmetry, and transitivity properties of relations.( WINTER 2021, SUMMER 2019) 4
3 What is PMI? Prove 7+ 13+19+…..+(6n+1)= n(3n+4) using PMI. ( WINTER 2021, SUMMER 2019) 7
Discuss Recursive definition. Also define the language L defined by the following recursive definition
4 3
over ∑ = {a, b}: ^ ∈ L; For every x ∈ L, xa, bx, and abx are in L; Nothing else is in L. (WINTER 2020)
Let relation R = {(a,b) : a + b = 10 and a, b ∈ N}. Decide whether R is an equivalence relation or not.
5 4
Justify your answer with proper reason. (WINTER 2020, SUMMER 2020)
Define – bijection function. Check whether the function 𝑓 ∶ 𝑍 → 𝑍 defined by 𝑓(𝑥) = 2𝑥 is a bijection
6 4
function or not. Justify your answer.(WINTER 2019, SUMMER 2020)
Use the principle of mathematical induction to prove that 1 +3 +5 + … +(2n-1) = n2 for all n>0 where r
7 7
is an odd integer & n is the number of terms in the sum .(SUMMER 2021)
5 Draw FA for each of the following RE. (a+b)*baaa.( WINTER 2021, Summer 2021) 3
6 Define pumping lemma and its application. ( WINTER 2021, Summer 2018) 4
7 Explain moore machine and mealy machine. ( WINTER 2021, Summer 2019) 4
Write regular expressions for the following languages defined over ∑ = {0, 1}: 03
(i) The language of all the strings that do not end with 01.
8 3
(ii) The language of all the strings containing even number of 0’s and even number of 1’s. (WINTER
2020)
Draw DFA for the following languages defined over ∑ = {a, b}: 04
9 (i) The language of all the strings with next-to-last symbol is a. 4
(ii) The language of all the strings containing substring bba. (WINTER 2020, Summer 2019)
10 Define DFA and NFA and NFA- Λ.(SUMMER 2021, Summer 2018) 3
Using constructive approach determine NFA- Λ for the regular expression (0 + 1)*1(0 + 1).
11 (SUMMER2021, Summer 2019) 4
Develop an FA corresponding to following regular expression 𝑟 = (11 + 110) ∗0 Explain the properties
12 of Distinguishability of Strings and Equivalence classes, show minimum numbers of states necessary 7
forthis FA. (SUMMER 2020, Summer 2019)
TOPIC: 3 Context free grammar (CFG)
Prove that – “If there is a CFG for the language L that has no Ʌ-productions, then there is a CFG for
Lwith no Ʌ-productions and no unit productions”. Support your answer with the help of the following
CFG: S → A | bb
1 7
A→B|b
B → S | a (WINTER 2019)
3 Design a deterministic PDA Accepting “Balance string of brackets” ( WINTER 2021, WINTER 2019) 7
4 Define - A Pushdown Automaton and acceptance by a PDA. (WINTER 2020, Summer 2020) 3
5 Design a PDA to accept L = {wcwR | w ∈ (a,b)*} (WINTER 2020 , Summer 2021) 7
6 Design a PDA to accept L = {xcy | x, y∈ (a,b)* and |x| = |y|}. (WINTER 2020, Summer 2019) 7
7 Give transition table for PDA accepting the language of all odd-length strings over {a, b} with middle
symbol a. Also draw a PDA for the same.( WINTER 2019, Summer 2018 7
Convert the following CFG into its equivalent PDA.
S → AB
8 A → BB
3
B → AB
A→a
B → a | b (WINTER 2019, Summer 2021)
4
TOPIC: 5 Turing Machine (TM)
1 Design a TM for accepting Palindromes for odd and even length. ( WINTER 2021, SUMMER 2017) 7
2 What is Turing Machine? Write advantages of TM over FSM. ( WINTER 2021, SUMMER 2017) 3
3 Enlist limitations of Turing machines. ( WINTER 2021, SUMMER 2017) 3
4 Discuss Universal Turing Machine with suitable example. ( WINTER 2021, WINTER 2020, SUMMER 7
2018)
5 Write Short note on Church-Turing Thesis. ( WINTER 2021, SUMMER 2017) 3
6 Discuss - recursively enumerable languages. (WINTER 2020, SUMMER 2020) 3
7 Discuss chomsky hierarchy. (WINTER 2020, SUMMER 2019) 4
Draw a Turing Machine that accepts the language {a nb n a n | n ≥ 0} over {a, b} ∗ . Also trace the TM
8 7
on input string aaabbbaaa. (WINTER 2019, SUMMER 2018)
9 Write a Turing Machine to copy strings. (SUMMER 2021, SUMMER 2018) 7
Define Constant functions, Successor functions and Projection function. ( WINTER 2021,
1
SUMMER 2018)
2 Explain Halting Problem with suitable example. ( WINTER 2021, SUMMER 2017) 7
3 Discuss primitive recursive function using proper example(WINTER 2020, SUMMER 2018) 4
Define - Primitive recursive functions and also give complete primitive recursive derivations for the
4 4
function, f ∶ N → N defined by Add(x, y) = x + y. ( WINTER 2019, SUMMER 2020)
TOPIC: 7 Undecidability
Define P, NP, NP-Hard and NP-Complete problem? ( WINTER 2021, SUMMER 2020,SUMMER
1 4
2017)