Back to Browse

Desirable Program Characteristics | Characteristics of a Good Program

1.8K views
Aug 27, 2022
3:23

Desirable Program Characteristics. Characteristics of a Good Program. A Good Program means that it should produce correct and faster results, taking into account all the memory constraints. While making good programs, we need to follow certain guidelines of programming language for creating a successful program. The following is the list of good programming habits that one should keep in mind while writing: 1) Clarity and Simplicity of Expression 2) Use of proper names for identifiers 3) Comments 4) Indentation The quality of the program depends upon the instructions given to it. However, it is required to provide the proper and correct instructions to the computer in order to provide a correct and desired output. Hence, a program should be developed to ensure the proper functionality of the computer and also should be easy to understand. Clarity: The program should be written clearly. It should be possible for another programmer to follow the program logic without any effort. The programmer himself must be able to follow his or her own program first after being away from an extended period of time. Simplicity: Clarity and accuracy are enhanced by keeping the things simple. It is desire able to sacrifice certain amount of computational efficiency in order to maintain the simplicity. Program is said to be more efficient if it takes the least amount of memory and processing time and is easily converted to machine language. The algorithm should be more effective. Every program needs certain processing time and memory to process the instructions and data. Expressions are use to implement a particular task. It is a combination of Operators, Operands, and Constants. Any expression used in the program should be understood by the user Use of proper names for identifiers : Identifiers are user defined names. They are use to name things. A name is associated with a function or data object (constants and variables) and used to refer to that function or data object. Identifiers are made up of letters (A-Z, a-z), digits (0-9), and the underscore character ( _ ). They, however, must begin with a letter or underscore and not with a digit. Comments : They are usually added with the purpose of making the source code easy to understand. Hence, add comments to your code in simple English language that describes the function of the code and the reason for your decision to do it in a particular way as well. They are generally categorized as either “block comment‟ or „line comment‟. Block comment is implemented in python by “”” and “”” and line comment is implemented by #. Leading white space (spaces and tabs) at the beginning of each statement, which is used to determine the group of statements, is known as “indentation‟ Stay tuned and watch the full video. Don't forget to like, subscribe to our youtube channel. Press the bell icon🔔 so you never miss any update from the v2v class. #v2v #v2vclass #BscIT ►Click here to subscribe:- https://www.youtube.com/channel/UCvA-5WPk-jGiRNDfw2m9rUQ Follow us On Social Media:- ►Website of v2v classes - https://v2vclass.com ►Facebook - https://www.facebook.com/v2vclass/ ►Instagram - https://www.instagram.com/v2vclass

Download

1 formats

Video Formats

360pmp45.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Desirable Program Characteristics | Characteristics of a Good Program | NatokHD