The correct option is (a) 3
To elaborate: An encoder is a combinational circuit encoding the information of 2^n input lines to n output lines, thus producing the binary equivalent of the input. Thus, in octal to binary encoder there are 8 (=2^3) inputs, thus 3 output lines.