CSC 315 Lecture 3
CSC 315 Lecture 3
A. PROCCEDURAL LANGUAGE
B. FUNCTIONAL LANGUAGE
C. DECLARATIVE NON ALGORITHMIC LANGUAGE
D. SCRIPTING LANGUAGES
a. PROCEDURAL PROGRAMMING
This is a type of computer programming language that describes a set
of wellstructured steps and methods within its programming context
to build a program. It consists a regular order of statements, functions
and commands to complete a computational task or program. A
procedural language is also understood as an imperative language.
They create a use of functions, conditional statements and variables
for developing programs that enable a computer to calculate and
display the required or desired output.
Key Features of Procedural Languages
i. Predefined function ii. Local variable iii. Global variable iv.
Modularity
v. Parameter passing
Characteristics
i. The discipline and idea of this paradigm is based on mathematics
and the theory of functions
ii. The values produced are non-mutable meaning it is impossible to
change the constituent of a composite value, it is however possible
to make a revised copy of composite value
iii. Functions in this paradigm are first class values, they are full-
fledged data just like numbers, lists, etc.
iv. It fits well with computations driven by needs, thereby opening a
new world of possibilities.
d. SCRIPTING LANGUAGES
Languag Comments
e
a. They are used in web applications in addition to server side and client
side applications.
b. Scripting languages are also used to create plugins and extensions for
existing applications.
c. Scripting languages can be used in system administration. Examples
of scripts in system administration are shell, Perl, and python.
d. It is used in games application and multimedia.