Introduction To Programming Paradigm Bsit 1a
Introduction To Programming Paradigm Bsit 1a
A Reporting in
Introduction to Computing
11:30 AM – 12:30 PM
INTRODUCTION TO
PROGRAMMING PARADIGMS
LEARNING OBJECTIVES:
Define programming and the functions of different programming languages.
Define programming paradigms and explain their role in software development.
Name and describe the major programming paradigms
Adapt to learning new paradigms as needed for specific tasks or projects.
I. INTRODUCTION
What is Programming? (Reporter: Carla Biñas)
Programming is a technological process of telling computer, which task to perform in
order to solve problem, execute operation through set of instruction or code.
There is a difference between programming and coding.
Programming is a mental process of thinking up instructions to give to the machine.
While coding is the process of transforming those idea into a written language that a
computer can understand.
JAVASCRIPT
This language is used on every major web browser. JavaScript allow us to add complex
features to web page. (Content update, interactive maps, animated graphics, developing
games, etc.…)
HTML/CSS
These languages are used to create web pages and web application. HTML (HyperText
Markup Language) can use to build web page structure while CSS (Cascading Style Sheets)
enable you to determine page styling.
PYTHON
Python is the most used in machine learning, web development and desktop applications.
Python is a popular language among beginners as the syntax is easy to learn. It also known as
an object- oriented programming language.
Features:
1. Pre-defined Functions – They are often standardized instructions that are included in
the programming language itself, usually in standard libraries that are part of the
language.
2. Local Variable – A variable is a named location in the computer memory that is used
to store data. Local variables are those that are declared within a local scope. To
clarify, a local scope is a closed block or subsection of the program. The variables and
other named entities defined inside that block are not valid outside of that block.
3. Global Variable – A global variable can be used throughout the whole program since
it is declared outside of all the functions and scopes that are defined inside the
program.
4. Parameter Passing – Functions often work with data to give a certain result. Here, a
function is like a machine that takes data as input and spits out a single output. We
often supply such data input by passing them as parameters to a function. These
parameters could be variables, values, memory addresses, etc.
5. Modularity – This is the practice of using different functions and procedures
simultaneously to accomplish a single, greater task. Each procedure performs a
specific task that is different from other functions. But combining their results leads to
accomplishing the greater task.
6. Top-Down Approach – In this approach, the program is divided into smaller chunks
that are executed in a sequential manner.
Classes
Objects
Attributes
Methods
IV. CONCLUSION
(Reporter: Avian Cayle Inciong)
Programming paradigms are a way to classify programming languages based on their
features. Languages can be classified into multiple paradigms.
Some paradigms are concerned mainly with implications for the execution model of
the language, such as allowing side effects, or whether the sequence of operations is defined
by the execution model. Other paradigms are concerned mainly with the way that code is
organized, such as grouping a code into units along with the state that is modified by the
code.
REFERENCES
https://en.m.wikipedia.org/wiki/Programming_paradigm
http://www.catb.org/~esr/writings/taoup/html/ch09s01.html
https://en.wikipedia.org/wiki/Data-driven_programming
https://codeinstitute.net/global/blog/database-programming/
https://www.infoq.com/articles/data-oriented-programming-java/
https://stackoverflow.com/questions/1065584/what-is-data-driven-programming
https://www.google.com/url?sa=i&url=https%3A%2F%2Ffanyv88.com%3A443%2Fhttps%2Fagiliway.medium.com
%2Ffunctional-and-object-oriented-programming-key-features-and-differences-
f348c5b5dc04&psig=AOvVaw25R3JZ9gRSrNWfL4HvNJBB&ust=17059269081
80000&source=images&cd=vfe&opi=89978449&ved=0CBMQjRxqFwoTCIDInZ
W_7oMDFQAAAAAdAAAAABAD
https://www.google.com/url?
sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwi0
rbuKve6DAxVnxDgGHaPvArYQFnoECBQQAw&url=https%3A%2F
%2Fwww.linkedin.com%2Fpulse%2Fhigher-order-function-amit-nadiger
%23%3A~%3Atext%3DHigher%252Dorder%2520functions%2520(HOFs)
%2Csupport%2520for%2520higher%252Dorder
%2520functions.&usg=AOvVaw0E3w3RqeDMu87dLbKpF7YT&opi=899784
https://www.infoworld.com/article/3613715/what-is-functional-programming-a-
practical-guide.html
https://www.google.com/url?
sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj
pq5iGu-6DAxX1zTgGHbW7DI0QFnoECBMQAw&url=https%3A%2F
%2Fadabeat.com%2Ffp%2Fimmutability-in-functional-programming%2F
%23%3A~%3Atext%3DAt%2520its%2520core%252C%2520immutability
%2520in%2Cand%2520often%2520unpredictable%2520program
%2520behavior.&usg=AOvVaw0T0hzd1zhoZuMqnxpHaXbT&opi=89978449
https://www.google.com/url?
sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwje
i8SAuu6DAxUO6zgGHbiaBFcQFnoECBUQAw&url=https%3A%2F
%2Fwww.geeksforgeeks.org%2Fpure-functions%2F%23%3A~%3Atext%3DA
%2520function%2520is%2520called%2520pure%2Cpow()%252C%2520sqrt()
%2520etc.&usg=AOvVaw3C1T7S-_pEVR3o-THf9zvN&opi=89978449
https://www.learncomputerscienceonline.com/procedural-programming/
https://programiz.pro/resources/what-is-procedural-programming/
https://www.studysmarter.co.uk/explanations/computer-science/computer-
programming/parameter-passing/#:~:text=Pass%20by%20value%3A%20Since
%20a,original%20parameter%20value%20remains%20unchanged.
https://en.m.wikipedia.org/wiki/Programming_paradigm
http://www.catb.org/~esr/writings/taoup/html/ch09s01.html
https://en.wikipedia.org/wiki/Data-driven_programming
https://codeinstitute.net/global/blog/database-programming/
https://www.infoq.com/articles/data-oriented-programming-java/
https://stackoverflow.com/questions/1065584/what-is-data-driven-programmin