All About C++

Get Pure Concepts of C++

Wednesday 29 June 2016

What is program and computer programs and their advantages and disadvantages?


Big Program

Program

A program is a set of instruction that tells a computer what to do. Program is a detail process which commands to computer that how to process data to get information. Person who make program is called programmer. Programmer uses programming languages to make or write any program.








Computer Program

Computer Program in the form of a human-readable, computer programming language is called source code. Source code can be converted into an executable image by a compiled or executed immediately with the aid of an interpreter.
OR
Computer Program is a list of instruction which is when executed, causes the computer to operate in some predetermined manner.  
computer program
Add caption

Computers are useless without programs, in fact programs are like recipe. It contains a list of variables and a list of statements that tell that what to do with these variables. These variables can represent numeric data, text or images.
Every program must be translated into machine language that computer can understand. This translation is done by compilers, interpreters or assemblers.
When we buy any software, we normally buy an executable version of the program which means that program is already compiled and assembled and which means that program is in machine language also.

Advantages of Computer Program:

·        A computer program can solve many problems by giving instruction to computer.
·         Computer program is used to perform a specific task quickly which is being used repeatedly.
·         It can process a large amount of data easily and quickly.
·         It can display the results in different styles.
·         It can process a program more efficiently and with less time consuming.
·         Computer program has ability to perform complex tasks without making human-types errors, such as mistakes caused by lack of focus, energy, attention or memory.
·         Computer program has more design freedom, including ease of modification and duplication, re-boot, capability to debug, backup and to attempt numerous designs at a time.
·         Computer program has ability to communicate and share information at greater rate and on greater level than human being.

Disadvantages of computer program:

·         Disadvantage of interpreter is that computer programs run slower than when they are compiled. Interpreting code is slower than running the compiled code version because interpreter decode every statement each time when it is loaded and then perform the desired task.

·         No properties of a computer programming language is required for computer program to be exclusively compiled or exclusively interpreter.


No comments:

Post a Comment