Consider two grammars G1 and G2 that describe the languages L(G1) and L(G2) respectively over some common alphabet Σ, and let f denote the empty language. The problem “Is L(G1) ∩ L(G2) = f ?” is decidable for which of the following cases?
I. Both G1 and G2 are regular grammars.
II. Both G1 and G2 are context free grammars.
III. G1 is a regular grammar and G2 is a context free grammar, or vice-versa.