Tuesday, November 11, 2014

An Introduction To The World Of Programming

An Introduction To Programming
Programming is the act of writing a set of instructions or programs that produce a desired result on execution by a computer.Programming is also the act of designing, writing, testing, debugging and maintaining the source code of computer program.
Programming in its broad sense can be defined as a set of simple logical or coded instruction or statement into which a given problem is reduced into human readable form,understandable and executable by a computer.
Features Of a Good computer program
The following are features of a good computer program:
1. RELIABILITY: The program must always do what it is supposed to do and never crash at any point, either during usage or whenever.
2. ACCURACY: The program must do what it is supposed to do correctly and must meet the criteria laid down in it’s specification.
3. EFFICIENCY: Optimal utilization of resources is essential in any computer program. The program must use the available storage space and other resources in such a way that the system speed is not wasted. No end-user would be happy to use a program that exhausts his/her computer memory.
4. ROBUSTNESS: The computer program should cope with invalid data and not stop without an indication of the cause of the source of error.
5. USABILITY: The program must be easy enough to use and be well documented, both for end users, novice and computer experts.
6. MAINTAINABILITY: The program must be easy to amend, having good structuring and documentation.
7. READABILITY: The code of a computer program must be well laid out and explained with comments, in such a way that other programmers can understand.
8. PORTABILITY: Portability refers to the ability of an application to run on different platforms (operating systems) with or without minimal changes. Due to rapid development in the hardware and the software, nowadays platform change is a common phenomenon. Hence, if a program is developed for a particular platform, then the life span of the program is severely affected.
9 READABILITY: The program should be written in such a way that it makes other programmers or users to follow the logic of the program without much effort. If a program is written structurally, it helps the programmers to understand their own program in a better way. Even if some computational efficiency needs to be sacrificed for better readability, it is advisable to use a more user-friendly approach, unless the processing of an application is of utmost importance.
10. EFFECIENCYy: Every program requires certain processing time and memory to process the instructions and data. As the processing power and memory are the most precious resources of a computer, a program should be laid out in such a manner that it utilizes the least amount of memory and processing time.
11. STRUCTURAL: To develop a program, the task must be broken down into a number of subtasks. These subtasks are developed independently, and each subtask is able to perform the assigned job without the help of any other subtask. If a program is developed structurally, it becomes more readable, and the testing and documentation process also gets easier.
12. FLEXIBILITY: A program should be flexible enough to handle most of the changes without having to rewrite the entire program. Most of the programs are developed for a certain period and they require modifications from time to time. For example, in case of payroll management, as the time progresses, some employees may leave the company while some others may join. Hence, the payroll application should be flexible enough to incorporate all the changes without having to reconstruct the entire application.
13. GENERALITY: Apart from flexibility, the program should also be general. Generality means that if a program is developed for a particular task, then it should also be used for all similar tasks of the same domain. For example, if a program is developed for a particular organization, then it should suit all the other similar organizations.
14. DOCUMENTATION: Documentation is one of the most important components of an application development. Even if a program is developed following the best programming practices, it will be rendered useless if the end user is not able to fully utilize the functionality of the application. A well-documented application is also useful for other programmers because even in the absence of the author, they can understand it.

1 comment: