To enter a program or other instructions into a computer (or other electronic device) to instruct it to do a particular task.