Using an example, differentiate a code from a program

      

Using an example, differentiate a code from a program.

  

Answers


STEPHEN
A code is simply a piece of instruction to a computer which is written by a computer programmer,e.g printf("Hello world!");A program on the other hand is a set of instructions written by a computer programmer to perform a given task in a computer.It is a collection of codes, e.g
#include (stdio.h)
int main( )
{ printf("Hello world!");
return 0;
STEPHKIMOTHO answered the question on May 26, 2018 at 07:28


Next: Distinguish between density and relative density
Previous: What is computer programming?

View More Computer Science Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions