Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: Finite Automata: Regular Languages- 2 - Computer Science Engineering (CSE) MCQ

Test: Finite Automata: Regular Languages- 2 - Computer Science Engineering (CSE) MCQ


Test Description

15 Questions MCQ Test - Test: Finite Automata: Regular Languages- 2

Test: Finite Automata: Regular Languages- 2 for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: Finite Automata: Regular Languages- 2 questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Finite Automata: Regular Languages- 2 MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Finite Automata: Regular Languages- 2 below.
Solutions of Test: Finite Automata: Regular Languages- 2 questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: Finite Automata: Regular Languages- 2 solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Finite Automata: Regular Languages- 2 | 15 questions in 45 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Finite Automata: Regular Languages- 2 - Question 1

Which of the following statements are true?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 1

For (i) intersection of (ab)*(ba)* and (ba)*(ab)* is not {∈}. For eg. “ab” is one more string which satisfies '∩'.
Therefore (ii) is false.
For (ii) let L1 = (ab*ba*) and L2 = (ba*ab). The string in L1 should always start with ‘a’, where as for L2 it always starts with ‘b'. ∈ is not part of either language. Hence intersection is {}.
Hence (ii) is also false.
For (iii) both (a*b*b)* and (b*a*a)* contain “∈".
No other string is common. Because strings in L1 must end with ‘b ’, where a s strings in L2 must end with ‘a’.

Test: Finite Automata: Regular Languages- 2 - Question 2

Which of the following statements are true?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 2

The first one is not ∑* because ‘aa’ is not present in the language L in (ii) all possible strings are present since, (a*b*)'= (a*+ b*)* = (a + b)* Therefore (ii) is ∑*. (iii) is not ∑* because, in (iii) single letter strings ‘a’ or ‘b’ are not present. Also abba, aa, bb, etc. are also not present.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Finite Automata: Regular Languages- 2 - Question 3

If a DFA is represented by the following transition table, then how many states does the corresponding minimal DFA contains?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 3

Drawing the DFA corresponding to the given transition table:

Use DFA minimization algorithm
The corresponding minimum state DFA for this language can be constructed as

Only 4 states are needed.

Test: Finite Automata: Regular Languages- 2 - Question 4

Consider G = {(a, b), {S}, S, |S→b|Sa|aS|SS}) Which of the following are true?
(i) aabbaa ∈ G
(ii) G is ambiguous
(iii) Regular expression corresponding to G is ba*

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 4

Two derivation trees are possible for aabba as given below:

Therefore (i) and (ii) are both true.
Choice (iii): ‘aba’ is also accepted by the given grammar. Therefore (iii) is false.

Test: Finite Automata: Regular Languages- 2 - Question 5

How many languages are over the alphabet R?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 5

A language over an alphabet R is a set of strings over A which is uncountable and infinite.
Correct answer is D.

Test: Finite Automata: Regular Languages- 2 - Question 6

Which of the following statements are false?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 6

The given regular expression 00(1 + 10)* is not complete to denotes all strings of 0’s and 1 ’s with atleast two consecutive 0’s.
The correct regular expression must be 
(0 + 1)* 00(0 + 1)*

Test: Finite Automata: Regular Languages- 2 - Question 7

Which of the following statement must always be true for A and B? Suppose A and B are two sets of strings from ∑*, such that
(i) if A is finite then, B is finite.
(ii) If A is regular then, S is regular.
(iii) If A is context free then, B is context free,

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 7

it is possible to have a subset of regular language which is not regular and a subset of CFL which is not CFL, but a subset of finite set has to be finite.
For example:

Hence, (ii) and (iii) are incorrect.

Test: Finite Automata: Regular Languages- 2 - Question 8

Consider the following grammar G:

Which of the following is L(G)?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 8

The given grammar is right linear.

The above FA accepts the language
L(G) = aa* bb* cc*

Test: Finite Automata: Regular Languages- 2 - Question 9

Deterministic finite automata of a language over alphabets {0, 1), which does not contain 3 consecutive 0’s. Minimum how many states, S, in all, the DFA will have and how many of them will be final states, F?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 9

The regular expresession for the language:
L = {W | W does not contain 3 consecutive 0 ’s} is 

Test: Finite Automata: Regular Languages- 2 - Question 10

Consider the following regular grammar: 

Minimized deterministic finite automata of which R1, R2 and R3 are exactly same except state names?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 10


Clearly from (1), (2) and (3).

Test: Finite Automata: Regular Languages- 2 - Question 11

Consider the following machine M:

What is the language L(M) accepted by this machine?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 11


Clearly, we can observe that the minimum string accepted is,aabb.
The corresponding L(M) = { w | w∈ (a + b)* aabb (a + b)*}.

Test: Finite Automata: Regular Languages- 2 - Question 12

Regular grammar is 

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 12

Regular grammar is a subset of context free grammar.

Test: Finite Automata: Regular Languages- 2 - Question 13

Let r1 = (a + b2)*, r2 = (a* + b*)*, r3 = (a2 + b)*. Which of the following is true?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 13

Test: Finite Automata: Regular Languages- 2 - Question 14

r1 = {b* ab* ab* ab*)*, r2 = (b* ab* ab*)*. What is L(r1) ∩ L(r2)?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 14


r1, denotes multiple of 3 a’s, with any number of b’s.
r2 denotes multiple of 2 a’s, with any number of b’s. L(r1) ∩ L(r2) denotes multiple of 6 a’s, with any number of b’s. Hence,

Test: Finite Automata: Regular Languages- 2 - Question 15

Which of the following statement is not correct?

Detailed Solution for Test: Finite Automata: Regular Languages- 2 - Question 15

Since L is accepted by TM, which halts on every W in L, it is recursive. The complement must also be than recursive.

Information about Test: Finite Automata: Regular Languages- 2 Page
In this test you can find the Exam questions for Test: Finite Automata: Regular Languages- 2 solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Finite Automata: Regular Languages- 2, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)