Detailed Report: Programming Paradigms & Integrated Development Env.

Verified

Added on  2024/06/05

|6
|1553
|109
Report
AI Summary
This report provides a detailed explanation of three major programming paradigms: procedural, object-oriented, and event-driven programming. It outlines the key characteristics of each paradigm, including pre-defined functions, local and global variables, modularity, encapsulation, inheritance, polymorphism, abstraction, service orientation, and event handling. The report also conducts an analysis of suitable Integrated Development Environments (IDEs), focusing on Visual Studio 2017 and IDLE, highlighting their features such as fast start-up, live unit testing, improved navigation controls, shell enhancements, interactive execution, and debugging capabilities. The document concludes with references to various sources used in the analysis.
tabler-icon-diamond-filled.svg

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
LO2
Explain the characteristics of procedural, object-orientated and event-driven programming; conduct an
analysis of a suitable Integrated Development Environment (IDE)
Key features and characteristics of Procedural Programming:
Pre-defined function: in this programming, there are few features that are pre-defined such as
“system.out.println.” it is used as a function which is already included in the programming. This provides
the simple task for the programmers. Because written in characters instead of codes.
Local variable: variables that can only be accessed in a particular block of code which is written in same
code, not by the whole code script that is known as a local variable.
Global variables: these variables can be viewed throughout the whole program and it also is accessible
through each task that is running in the program. The majority of these variables are the static variables.
This can be extended in the whole programming runtime.
Parameter passing: this permits to the value of the variable to passing through the whole program that
can be handled by with a specific procedure.
Modularity: into the individual separating of functionality is to be shown by software technique that is
known as modularity, and into the module of interchangeable each that permit to it a executes a particular
task for which it is designed to this.
Procedure: there is a procedure which is followed step by step by the program systematically. The
program strictly told to do in a specific order that was set by the developer or programmer.
Programming library: this is the collection of predefined code, values, routines and classes that can be
used by the program at any time (Sites, 2018).
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
Characteristics of Object Oriented programming language
Encapsulation: Encapsulation is holding the data securely and safely from the outside interference.
Inheritance: a process by which a class derived from a base class including with its all features. Code
reusability can be increased by inheritance.
Polymorphism: the capacity of existing in different forms. Such as an operator can be perform action on
two integers as well as two flout value. And it has various definitions of single function name that
contains different functionality. It saves the time of searching the name of functions and overloading of
functions.
Abstraction: without any detail, it represents the data at the high conceptual level and clearing that what
to do but it not tell how to do, this is a flexible feature with a view of its object.
Some key features of the Object Oriented programming are:
It Emphasis the data instead of procedure
Programs are divided in to object that is known as an entity.
The Structures of data is to be designed in their characterize objects
By external functions, data cannot be accessed because it is hidden.
By the function, object can communicate to each other.
When we need to insert the new data and function then it can be easily added.
It follows the bottom up procedure in designing.
Some other characteristics of OOPs:
Class definitions:
Building blocks and an entity in OOPs which contains data and operations also perform on the data it is
class definition.
Objects: classes that are used in basic functionality, operations and its variables all these are known as
objects.
Generic classes: Definitions of class’s undefined data they also called as container classes. These all are
reusable and flexible (Careerride, 2018)
Document Page
Characteristics of event-driven paradigms:
Service Oriented: available services on the network provided by this hence we don’t need to rewrite
the code, this makes it simple and time-saving. A service or task can carry out for each day for
example student registers that can be multiple times without rewriting. And also it can be distributed
among the various people that can use the same service.
Time Driven: programs run according to the time such as a microwave in which food is cooking it
move until the timer end. And it can be understood by traffic light example that changes
automatically within a definite time.
Trigger Functions: there is the range for every object in which can be used to run the program. This
range may be 50 or more.
Event handlers: it is the particular code for a specific event such as clicking the button and anything
between the end sub and the private sub is known as an event handler.
Event Loops: when the loop is going on it check any event and also look for detection of any
changes that can be occurred in loop .for example when the screen of the computer goes to sleep but
when we moving the mouse it get back again, because event loop checking the checking the event as
in this example.
Flexibility: this allows the massive variability for the program and everybody can access easily.
There are various options for designing hence the programmer can add various things whatever he
imagines.
Simplicity: the program running is very simple because it uses drag and drops that permit to the
programmer and user whatever they want, it can be drag easily onto the form (Orme, 2015).
Document Page
Common features in Visual Studio 2017:
Fast starting of visual studio: performance centre of new studio help to optimize the start-up time of
IDE. The performance centre forms a list of all the tools and windows that can make slow to IDE
start-up.
Decreasing of solution Load Time:
This studio introduces an option that loads the solution fatly. And we can work on the solution of
various project in this situation we can work with all the project and file at same time.
Live Unit Testing:
In visual studio 2017, there is a function of live unit testing that provides us live test and also at the
time of coding it gives the coding coverage for the editor.
Improved Navigation Controls:
The latest feature added in this studio that is only applied on F#, C#, and on visual basic. Through this
feature, we can find the file and methods in coding as soon as possible.
Dotted Line: this is a very important feature in this studio because by using dotted line we can
identify the code block scope within curly braces “{}” which are quite open and close (Patra, 2018).
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
Features of IDLE: it stands for Integrated Development and Learning Environment.
Shell Enhancements:
In a single shell paste and running of various lines possible with this
Interactive GUI of non-blocking can be developed for wxPython, Tkinter, PySide
To interactive figures, Matplotlib support is available when we use the subprocess.
There is a clear window for shell without restarting
Large output can be captured by this and display it like an expandable button.
Editor Enhancements:
There is a facility for drag and drop rearranging
Code navigation is efficient with its browser.
It supports the Python execution and editing.
The horizontal scrollbar is available in this.
Interactive Execution:
Programmer performs an execution on highlighted code by the editor.
The script pars can be separated by using "##"
A running code can be stopped by using the Ctrl+C
Miscellaneous
It coded in 100 % by python coding and GUI toolkit is used for coding.
cross-platform: this can operate on Unix, Mac OS and also it can work with windows
various undo with different window text, auto-completion, smart indent, Python colourizing call
tips, and other features
Local and global namespaces can be viewed, availability of debugger and stepping (Idlex, 2018).
Document Page
Reference
Sites, (2018). Key Features of Procedural Programming - [online] Available at:
https://sites.google.com/site/mattysassignments/home/p1 [Accessed 8 Jun. 2018].
Careerride.com. (2018). Characteristics of Object Oriented programming language - oops. [online]
Available at: https://www.careerride.com/oops-characteristics.aspx [Accessed 8 Jun. 2018].
Orme, M. (2015). Key features of event driven programming | [online] Available at:
https://dailymanchester.co.uk/key-features-of-event-driven-programming/ [Accessed 8 Jun. 2018].
Patra, R. (2018). Experience The New Features In Visual Studio 2017. [online] Available at:
https://www.c-sharpcorner.com/article/experience-the-new-features-in-visual-studio-20172/ [Accessed 8
Jun. 2018].
Idlex, (2018). IDLE Extensions for Python. [online] Available at:
http://idlex.sourceforge.net/features.html [Accessed 8 Jun. 2018].
chevron_up_icon
1 out of 6
circle_padding
hide_on_mobile
zoom_out_icon
logo.png

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]