A code is a mapping from
(a) Binary sequence to dicrete set of symbols
(b) Discrete set of symbols to binary sequence
(c) All of the mentioned
(d) None of the mentioned
I had been asked this question in an internship interview.
Question is taken from Codes and Coding Technique topic in division Error Detection & Channel Coding of Digital Communications