Computer programming, also known as coding, is giving a set of instruction for a computer to perform some actions. For example, a computer does not know how to connect to the internet and download files on its own, and so we code (or program) a set of instructions for it to do that. The act of writing a set of computer instructions is called coding (or programming).