Please enable JavaScript.
Coggle requires JavaScript to display documents.
Introduction Part 1 - Coggle Diagram
Introduction Part 1
-
-
Programming
Paradigm
-
-
-
A programming paradigm is a model for a
class of programming languages that share a set of common characteristics and its differences.
-
Functional paradigm
-
-
-
Involve of actual evaluation of function, passing values as parameter and return value.
-
Key Comcepts
-
Human Readability
It requires a programming language to provide an abstractions of the action of computer that are easy to understand, even by a person not completely understand with the underlying details of machines
-
Computation
-
Not only mathematical calculation but includes all kinds of computer operation; data manipulation, text processing & information storage & retrieval
Level of Abstraction
Structured abstraction
Collecting related data values into a single unit (allow the programmer to view the items as one thing)
Example
Array
A group of items which have the same data type and
need to be kept together for a purpose (e.g : sorting,
searching)
Record
A student records consist of name, id address, program
and other related data are bound as student’s profile.
-
Basic abstraction
-
Example
the use of symbolic names to hide locations in computer memory that contains data values (variables)
the kind of data value is also given a name and is called data type (e.g: int, float, double)
-
Object Oriented Paradigm
Extension of imperative paradigm which involve with large
numbers of data which the interaction are carefully control and easily change.
-
Allowing the programmers to write reusable, extensible code that operates in a way that mimics the real world, thus allowing programmer to use their natural intuition about the world to understand the behavior of a program and construct appropriate code.
Scripting
Paradigm
-
• It is usually interpreted, not compiled
A ‘script’ is code that acts upon some
system in an external or independent
manner and can be removed or disabled
without disabling the system itself.
-
-