Answer each part for the following context-free grammar $G.$
$R\rightarrow XRX | S$
$S\rightarrow aT b | bT a$
$T\rightarrow XT X | X | \epsilon$
$X\rightarrow a | b$
- What are the variables of $G?$
- What are the terminals of $G?$
- Which is the start variable of $G?$
- Give three strings in $L(G).$
- Give three strings not in $L(G).$
- True or False$:T\Rightarrow aba.$
- True or False$:T \overset{*}{\Rightarrow}aba.$
- True or False$:T\Rightarrow T.$
- True or False$:T\overset{*}{\Rightarrow}T.$
- True or False$: XXX\overset{*}{\Rightarrow}aba.$
- True or False$:X\overset{*}{\Rightarrow}aba.$
- True or False$:T\overset{*}{\Rightarrow}XX.$
- True or False$:T\overset{*}{\Rightarrow}XXX.$
- True or False$:S\overset{*}{\Rightarrow}\epsilon.$
- Give a description in English of $L(G).$