Which one of the following languages over the alphabet {0,1} is described by the regular expression: (0+1)*0(0+1)*0(0+1)*?

Theory of Computation Quiz

Quiz
•
Computers
•
University
•
Medium
Mrs.MATHU 1429
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The set of all strings containing the substring 00.
The set of all strings containing at most two 0’s.
The set of all strings containing at least two 0’s.
The set of all strings that begin and end with either 0 or 1.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Let L be a language defined over an alphabet ∑,then the language of strings , defined over ∑, not belonging to L denoted by LC or L. is called :
Non regular language of L
Complement of the language L
None of the given
All of above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Languages are proved to be regular or non regular using pumping lemma.
True
False
Not always true
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will be used for text searching application-?
NFA
DFA
PDA
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following strings is not generated by the following grammar? S → SaSbS ε
aabb
abab
aababb
aaabb
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is wrong?
Any regular language has an equivalent context-free grammar.
Some non-regular languages can’t be generated by any context-free grammar
Intersection of context free language and a regular language is always context-free
All languages can be generated by context- free grammar
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For s Є (0+1)* let d(s) denote the decimal value of s(e.g.d(101)) = 5 Let L = {s Є (0+1)* d(s) mod 5=2 and d(s) mod 7 != 4} Which one of the following statements is true?
L is recursively enumerable, but not recursive
L is recursive, but not context-free
L is context-free, but not regular
L is regular
Create a free account and access millions of resources
Similar Resources on Quizizz
12 questions
Intro to Scratch 2

Quiz
•
KG - University
10 questions
REPASO 3 FSW

Quiz
•
University
10 questions
Quiz 3: PHP

Quiz
•
University
12 questions
Functions C

Quiz
•
University
12 questions
Enumeration and Recursion

Quiz
•
11th Grade - University
10 questions
I/O STATEMENTS IN C

Quiz
•
University
10 questions
FLA-Unit quiz

Quiz
•
University
10 questions
Theory of Computation

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade