What will be the pictorial diagram of this transition table?
You just create a super simple Graphviz document encoding the information:

$ cat foo.gv 
digraph {
  q0 -&gt; q0 [label = "input: a\noutput: 0"];
  q0 -&gt; q2 [label = "input: b\noutput: 0"];
  q1 -&gt; q1 [label = "input: a\noutput: 1"];
  q1 -&gt; q0 [label = "input: b\noutput: 1"];
  q2 -&gt; q2 [label = "input: a\noutput: 1"];
  q2 -&gt; q1 [label = "input: b\noutput: 1"];
}
$ _


Process it:

$ dot foo.gv -T png -o foo.png
$ echo $?
0
$ _


Profit!