Any production rule in the form A → B where A, B ∈ Non-terminal is called unit production.
Unit ProductionCorrect
Any production rule in the form A → B where A, B ∈ Non-terminal is called.
Unit ProductionCorrect
Any set that represents the value of the Regular Expression is called a Property set.
FALSECorrect
Are ambiguous grammar context free?
TRUECorrect
are parameterized statement, they are true or false depending on the values of their parameters.
predicatesCorrect
Blank symbol
ΔCorrect
challenged the mathematical community to find an infallible, mechanical method for constructing and checking truth of mathematical statements.
David HilbertCorrect
Checking whether there is a matching parenthesis in a computer code can be done by a ______________.
regular expression
automatically by a very patient debugger
context-free language
context-free grammarCorrect
Circuits in graphs are always simple paths.
TrueCorrect
False
Computer science has roots in two fields :
MathematicsCorrect
Computers are general purpose because they can perform many different tasks.
TRUECorrect
Connected graphs have components.
True
FalseCorrect
Context Free Languages is closed under intersection.
FalseCorrect
True
Context-free grammars are more expressive than finite automata; if a language L is _____ by a finite automata then L can be _______ by a context-free grammar.
accepted, generatedCorrect
Context-free grammars are more expressive than finite automata; if a language L is by a finite automata then L can be blank by a context-free grammar.
AcceptedCorrect
Context-free grammars are more expressive than finite automata; if a language L is by a finite automata then L can be by a context-free grammar.
Accepted, IgnoredCorrect
Elimination of productions and symbols is called simplification of CFGs. Simplification essentially comprises of the following steps:
Reduction of CFGCorrect
Empty set is a/an ________________.
Infinite set
Finite setCorrect
Invalid set
None of the choices
Empty string
ΣCorrect
Every context free grammar can be transformed into an equvalent non deterministic push down automata.
TRUECorrect
Every set is a / an ________________ of itself.
None of the choices
Complement
Proper Subset
Improper SubsetCorrect
Finite Automata all regular languages and only regular languages.
AcceptCorrect
Finite set of input alphabets.
ΣCorrect
Finite set of states
QCorrect
For a regular expression 'a', we can construct the following FA:
TRUECorrect
For bottom-up parsing, a PDA has the following four types of transitions:
Push the current input symbol into the stack., Replace the right‑hand side of a production at the top of the stack with its left‑hand side. , If the top of the stack element matches with the current input symbol, pop it. , If the input string is fully read and only if the start symbol 'S' remains in the stack, pop it and go to the final state .Correct
For every CFL, G, there exists a PDA M such that L(G) = L(M) and vice versa.
TRUECorrect
For every pair of regular expressions R and S, the languages denoted by R(SR)* and (RS)*R are the same.
TRUECorrect
For the given Regular expression, the minimum number of terminals required to derive its grammar (011+1)*(01)* is
3,6,2,5,4Correct
Given that the language L = {ε}, is L empty?
None of the given choices
No, because the language has an empty symbolCorrect
Definitely, because ε is an empty symbol
This is a case of apples and oranges, you really can't compare!
Given the language L = {ε}, is L empty?
none of the given choices
Definitely, because ε is an empty symbol
No, because the language has an empty symbolCorrect
You can't say
Given the productions S → αXβ, X → a, ___________________.
X is not reachable nor generating
X is reachable but not generating
X is useful Correct
X is not reachable but is generating
Global Positioning System (GPS) calculates latitude and longitude from satellite signals.
TrueCorrect
Having the initial state as a final state, give the deterministic finite state automaton that accepts the regular expression.
((a.b)+c)*Correct
How many rational and irrational numbers are possible between 0 and 1?
0
InfiniteCorrect
Finite
1
How many sets belong to the power set of A = {a,b,c,d}?
4
8
7
16Correct
Identify the modeling recognition of the word "then"
Start StateCorrect
If A →* ε, then we can say that:
A is not generating
A is not reachable
A is nullableCorrect
A is not generally useful
If A = {0,2) and B = {1,3), then Cartesian product is?
none of the choices
A x B not equal B x ACorrect
A x B = B x A
is not possible
If A = {3, 4, 6, 8} and
{ 4,6}Correct
If A = {5,6,7} and B = {7,8,9} then A U B is equal to:
{5,6,7}
None of the choices
{7,8,9}
{5,6,7,8,9}Correct
If A has m elements and B has n elements, then A x B has elements?
m - n
m + n
2n
m x nCorrect
If a problem can be shown that it belongs to the class of recursively enumerable languages then ______________________.
It may be solved by any TMCorrect
It may be solved by a special RE
It may be solved by a special TM
It may be solved by any RE
If L is recursively enumerable then ________________.
none of the choices given is correct
L is also recursively enumerable
L is definitely not recursively enumerable
L may not be recursively enumerableCorrect
If L1 and L2 are regular sets then intersection of these two will be.
RegularCorrect
If R = {(1,1),(2,3),(4,5)}, then domain of the function is?
Dom R = {2,3,4,5}
Dom R = {1,2,4}Correct
Dom R {1,3,5}
Dom R {1,1,4,5}
If R ={(1,1),(2,3),(4,5)}, then the Range of the function is?
Range R {1,1,4,5}
Range R {1,2,5}
Range R = {2,3,4,5}
Range R = {1,3,5}Correct
If we can successfully and correctly stimulate a TM with storage by two standard TMs, then ______________________.
None of the choices
we have already shown that the TM with storage is at least twice as powerful as one standard TM
we have already shown that the two are equivalentCorrect
we have already shown that one standard TM is half as powerful as the TM with storage
If we can successfully and ly stimulate a TM with storage by two standard TMs, then ______________________
we have already shown that the two are equivalentCorrect
If Σ2 is {00, 01, 10, 11}, then Σ =
{0, 1}Correct
{false, true}
{true, false}
{F, T}
In Allan M. Turing proposed the Turing machine as a model of "any possible computation".
1936Correct
In mathematical notation, the symbol → means...
implicationCorrect
an element of
not an element of
assignment statement
In the Chomsky Hierarchy:
Regular Language ⊂ Context-sensitive Language Correct
Regular Language ⊃ Context-sensitive Language
Regular Language| • |Context-sensitive Language
Regular Language = Context-sensitive Language
In words, H → C means…
Whenever H holds, C followsCorrect
Whenever H does not follow, C does not follow either
Whenever H is true, then it becomes C
Whenever H, then it becomes C
Increasing accuracy, or precision
Minimizing False PositivesCorrect
Increasing coverage, or recall.
Minimizing False NegativesCorrect
Is a set of final state/states of Q (F ⊆ Q).
FCorrect
Is the transition function where δ: Q × Σ → Q.
δCorrect
Is to be applied to show that certain languages are not regular. It should never be used to show a language is regular.
Pumping LemmaCorrect
Is used to derive a string using the production rules of a grammar.
ProductionCorrect
It generate context-free languages. The productions must be in the form A → γ
Type-2 grammarsCorrect
IT generate recursively enumerable languages. The productions have no restrictions and phase structure grammar including all formal grammars.
Type-0 grammarsCorrect
IT generate recursively enumerable languages. The productions have no restrictions and phase structure grammar including all formal grammars. They generate the languages that are recognized by a Turing machine.
Type-0 grammarsCorrect
It is a unary operator on a set of symbols or strings, that gives the infinite set of all possible strings of all possible lengths.
Σ *Correct
It process information in their efforts to eat, survive, and reproduce.
Living OrganismsCorrect
It refers to the measure of the number of times the tape moves when the machine is initialized for some input symbols and the space complexity is the number of cells of the tape written.
Time ComplexityCorrect
It starts from the bottom with the string and comes to the start symbol using a parse tree.
Bottom-Up ParserCorrect
It starts from the top with the start-symbol and derives a string using a parse tree.
Top-Down ParserCorrect
JASON can generally be parsed by ______________.
A C parser
A CFGCorrect
A Java parser
A RE
Labeled by a non-terminal symbol.
VertexCorrect
Labeled by a terminal symbol or ε.
LeavesCorrect
Labeled by the start symbol.
Root VertexCorrect
Language may be derived from other strings using the productions in a grammar.
FALSECorrect
Leibniz introduced binary notation of calculation.
FALSECorrect
Let the class of language accepted by finite state machine be L1 and the class of languages represented by regular expressions be L2 then.