Page 97 - 2502_Pakistan-kifayat_C-6
P. 97
6. Refine the Program
Once the program works correctly, you can refine it to make it more
efficient, user-friendly, and maintainable.
Improve readability: Add comments to explain what each part of the program does.
Optimise performance: Check if there are parts of the code that can be made more efficient.
Make the interface user-friendly: If the program has a user interface, ensure it is easy to navigate.
7. Document the Program
Documenting your program means writing clear instructions for other
people (or for yourself in the future) on how to use it and how it works.
Write a user guide explaining how to use the program.
Provide in-line comments in the code to explain key parts of the program.
Keep a change log to track updates made to the program.
Example: For a calculator program, your documentation might explain what operations are supported,
how the program handles invalid input, and any special features.
8. Maintain the Program
After the program is developed, you might need to update or fix bugs
in the future. Maintenance involves making improvements, fixing new
bugs, and adding new features.
Example: If you later decide to add more features to the calculator, like a memory function, you would
update the program accordingly.
APPLICATIONS OF COMPUTER PROGRAMMING
From entertainment to healthcare, and from education to business, programming enables us to create
useful tools, solve problems, and improve processes.
Here are some of the key areas where computer programming is used to make our world work more
efficiently and effectively:
1. Software and Mobile Applications
Programming is essential for developing software and mobile applications that
we use every day, such as word processors, video players, and games. Without
programming, these applications wouldn’t exist.
2. Website Development
Programming is the backbone of websites. It is used to create everything we
see and interact with on the web, including websites for shopping, learning,
entertainment, and social networking. Web development involves both
Front-end programming (what users see and interact with) and Back-end
programming (how the website runs and stores data).
#Fundamentals of Programming 95

