15. Evolution Of Langueges
MACHINE LANGUAGE
0 & 1 String typing or Panched
Cards used by String Engeeniers
and Specialists
ASSEMBLY LANGUAGE
Code madules and Registry
Instructions. Label Instructions
Math Tools
HIGH LEVEL LANGUAGES
Multi-Functional Proccenig tools
Object oriented languages And so
many other ....
16. High Level Languages
C PROGRAMMING LANGUAGE01
C++ PROGRAMMING LANGUAGE02
C# PROGRAMMING LANGUAGE03
JAVA PROGRAMMING LANGUAGE04
PHP PROGRAMMING LANGUAGE05
C C
C
C
F#
C
C
C
C
F#
F#
C#
PascalC# C#
C#
C#
C++
C++
C++
C++
C++Pascal
Pascal
JAVA
JAVA
JAVA
JAVA
PHP
PHP
PHP
R
C
Fortran
Fortran
VB
VB
VB
VB
C++
F#
17. PROGRAM LIFE CYCLE
APP
SOURCE
CODE
FINAL APPLICATION
End of the process – The
app is ready to use in
multipile machines
NEED TO IDEA
UML Design and forming
the first idea of the need.
BACK TO THE MACHINE
Translate to machine
language for point structure
of the hardware
SECOND COMPILE
Machine read’s the code
and do the task by the
program
WRITING CODE
Forming the syntax part of
the programming and ligical
design.
PRE-PROCESSING
Debug – Analysis –
Normalization & ...
27. Code Block
Programming Commands
#include <stdio.h>
int main()
{
int n, i, flag = 0;
printf("Enter a positive integer: ");
scanf("%d",&n);
for(i=2; i<=n/2; ++i)
{
// condition for nonprime number
if(n%i==0)
{
flag=1;
break;
}
}
if (flag==0)
printf("%d is a prime number.",n);
else
printf("%d is not a prime number.",n);
return 0;
}
{
....
....
....
}
36. While writing the code and before compiling the source
codes. Most compilers can detect these type of errors.
Syntax Error
While compiling the code. Lack of information and data.
Inaccessibility of computer sources such as hardware.
CompileTime Error
While Running the code. Lack of data and devices or
software Smooothing platforms and runtime helpers.
RunTime Error
Type of Exceptions
While Running the code. Miss calculations. Developer
errors and user miss use. Mathemthics error & exceptions.
Logical Error (BUG)
37. Try { } – Catch { }
Try {
Do Instructions as defined
}
Catch {
Instructions while an ERROR happend
}
53. VARIABLE
Used to store and lable information
to be referenced and manipulated
in a computer program.
01
FUNCTION – SUB ROUTINE
Functions are "self contained" modules
of code that accomplish a specific task.
Functions usually "take in" data, process
it, and "return" a result.
02
ARRAYS
Functions are "self contained" modules
of code that accomplish a specific task.
Functions usually "take in" data,
process it, and "return" a result.
03
STRUCTURE
Structure is a collection of variables of
different types under a single name.
04
CLASS
In object-oriented programming,
a class is an extensible program-code-
template for creating objects, providing
initial values for state (member
variables) and implementations of
behavior (member functions or
methods).
05
COMPLEX DATA Structre
54. VARIABLE
Used to store and lable information
to be referenced and manipulated
in a computer program.
01
COMPLEX DATA Structre
55. FUNCTION – SUB ROUTINE
Functions are "self contained" modules
of code that accomplish a specific task.
Functions usually "take in" data, process
it, and "return" a result.
02
COMPLEX DATA Structre
56. ARRAYS
Functions are "self contained" modules
of code that accomplish a specific task.
Functions usually "take in" data,
process it, and "return" a result.
03
COMPLEX DATA Structre
57. STRUCTURE
Structure is a collection of variables of
different types under a single name.
04
COMPLEX DATA Structre
58. CLASS
In object-oriented programming,
a class is an extensible program-code-
template for creating objects, providing
initial values for state (member
variables) and implementations of
behavior (member functions or
methods).
05
COMPLEX DATA Structre