COMPILER DESIGN

SEMANTIC ANALYSIS

SYMBOL TABLES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A DFA cannot have
A
Epsilon Transitions
B
An isolated state
C
More than one transition from a state on same in out
D
All the options
Explanation: 

Detailed explanation-1: -From the definition of DFA, “Deterministic Finite Automata is a machine that can’t move on other state without getting any input". And since epsilon means nothing. Hence DFA can’t move on epsilon moves.

Detailed explanation-2: -In this method, we first convert Non-deterministic finite automata (NFA) with to NFA without . Then, NFA without -can be converted to its equivalent Deterministic Finite Automata (DFA).

Detailed explanation-3: -Transition function takes two arguments: a state and an input symbol. (q, a) = the state that the DFA goes to when it is in state q and input a is received. Nodes = states. Arcs represent transition function.

There is 1 question to complete.