Skip to content
doubtly

2 answers

Answer: a program is a set of instructions, written in a programming language in a definite sequence, that tells the computer how to perform a particular task.

The computer carries out these instructions one by one to process input data and produce the required output. For example, a C program to add two numbers contains instructions to read the numbers, add them and display the sum.

Programs written in high-level languages like C are called source code; they are translated by a compiler into machine code before the computer can run them. A collection of programs together with their documentation is called software.

Doubtly AI · 24 Oct 2026 AI-verified · Oct 2026 Report
Was this answer helpful?

Your answer

Log in or create a free account to answer this question.