The Features of Procedural Programming
Suitability of programs for graphical applications
When determining if something is suitable for the production of a graphical application, you
have to consider a few different things. Most of the procedural programming enables you to
re-use various blocks of code many different times, this is a benefit as it means that you are
able to use it in multiple different ways just altering variable names or messages that are
outputted. Also, another major benefit is that procedural programming is one of the best
alternatives for the production of graphical based applications; this is due to the existence
of the operating systems including Linux.
Most graphical applications require certain and specific steps to be provided in order for the
graphical applications to work. The reason for this is because the applications go perfectly
with the procedural programming because of the whole concept of the languages being
correct and simplified. Additionally, steps may need to be added elsewhere so that the
program works correctly and more efficiently in terms of what its built to do.
To summarise, you would typically see that procedural programming may be used more in
commercial applications as the features in those are more mathematical in terms of the
processes and calculations being made. However, because of how procedural programming
works it can be suitable for GUI applications. A GUI is a graphical user interface, you can see
a clear difference between procedural programming and object-oriented or event-driven
programming when a GUI is being used. If an example were to be made, event driven
programming would be a better and more viable option for creating graphical applications
as that is its intended purpose.
Graphical features available to the Python Programming
Within Python it has a wide variety of GUI frameworks, or toolkits that are available for it.
There are some that are cross-platform solutions as well as some that are binding to
platform-specific technologies.
Some examples of features available:
➢ Large standard library, it has a rich set of modules and functions for a faster way of
developing an application.
➢ Tkinter
➢ Turtle
➢ Py.game
The main ones to focus on are tkinter, turtle and py.game. When creating a GUI, you would
normally have a few different interactive features like, a button to click or a text box, maybe
even an image of some sort. Mostly there are features that require the user to input some
type of data, however doing that through procedural programming isn’t the most ideal
thing, however using tkinter which is a default for Python contains those interactive