Computer Science, asked by bishalkumar22, 11 months ago

define source program​

Answers

Answered by thegreathailey
1
Plz mark as brainliest plz...


Programmers create programs by writing commands in a high level language. A high level language program consists of lines of text that have been created with a text editor and are kept in a file on the hard disk. For example, here is a complete program in C

This program could be saved on the hard disk in a file called addup.c. Like all files, it consists of a sequence of bytes. Since it is a text file, these bytes represent character data. You can edit the file with a text editor and print the file on a printer. It does not contain machine instructions. If the bytes are copied into main memory, they cannot run as a program without some extra work being done.

A source program is a text file that contains instructions written in a high level language. It can not be executed (made to run) by a processor without some additional steps.
A source program is also called a source file, source code, or sometimes, just source.

Usually a source program is translated into a machine language program. An application program called a translator takes a source program as input and produces a machine language program as output.

A machine language program is also called an executable program, executable file, or sometimes, just executable.

For example, the C program addup.c could be translated into an executable program. The executable program might be called addup.exe and can be saved on the hard disk. Now the executable version of the program can be copied into main memory and executed.

The word compile means the same thing as translate. So one can say that a source program is compiled into an executable program.
Answered by om12804
0

Answer:

a program written in a language other than machine code, typically a high-level language.

Similar questions