An expression is mentioned as follows. Figure out number of incorrect notations or symbols, such that a change in those could make the

Nguyên Lê

New member
An expression is mentioned as follows. Figure out number of incorrect notations or symbols, such that a change in those could make the expression correct.
L(G)={w in T*|S→*w}
A. 0 Errors
B. 1 Error
C. 2 Error
D. Invalid Expression
 
Answer: A
Explanation: For the given expression, L(G)={w in T*|S→*w}, If G(V, T, P, S) is a CFG, the language of G, denoted by L(G), is the set of terminal strings that have derivations from the start symbol.
 

Tìm kiếm

Back
Top