
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
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)*?
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 Wayground
10 questions
Theory of Computation

Quiz
•
University
15 questions
Python

Quiz
•
University
5 questions
Chomsky Hierarchy

Quiz
•
University
12 questions
Intro to Scratch 2

Quiz
•
KG - University
15 questions
NFA Vs DFA

Quiz
•
University
10 questions
Topic 4 - Recursive

Quiz
•
University
10 questions
COMPILER DESIGN QUIZ 28.3.2023

Quiz
•
University
10 questions
FLA-Unit quiz

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade