Professional Documents
Culture Documents
Classification of Computer
Programming Languages
Universidad de la Salle
Outline
Computer Structure
Software: Operating System and Application Software
Programming Languages
Program Development Life Cycle
Computer structure
What is a Computer?
A computer is an
electronic device that
manipulates information, or
data. It can store,
retrieve, and process data.
Computer Hardware
The physical components of a computer.
Most computers have six basic components:
Main memory
Central processing unit (CPU)
Input/output devices
Auxiliary storage devices
Output Device
Auxiliary
Storage
Device
Main Memory
Commonly known as random access memory (RAM)
Holds instructions and data needed for programs that
are currently running
RAM is usually a volatile type of memory
Used as temporary storage
Secondary Storage
10
11
Software
Concepts
13
Classification of computer
programming languages
14
Programming Languages
15
Programming Languages
ADDI R4,R2,21
16
ADDI
R4
R2
21
10101100100000100000000000010101
Assembler Program
ASSEMBLER
Object
Program
Low-level language
High-level language
18
21
Compiler Languages
22
Source
Program
COMPILER
Object
Program
Interpreter Languages
23
Source
Program
INTERPRETER
translation and
execution line
by line
Interpreter Languages
25
26
Code Examples
C
#include <stdio.h>
void main() {
printf("Hello, World!\n");
}
Machine Code
c7 3c 2a 3c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c
28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c
2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b
2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c
3c 28 5c 2a 2b 2a 5c 3c 28 5c 2a 2b 2a 5c 3c 28
26
C++
#include <iostream>
void main(){
cout << "Hello, World!\n;
}
Python
print "Hello, World!"
27
6.
28
Problem Definition
Algorithm Design
Coding
Debugging and Testing
Documentation
Maintenance
Stages of
Program
Development
Life Cycle
Maintenance
Documentation
Problem Definition
and Design
1
Time
29
Coding
Problem
Definition
Program Design
Time
30
32
Module 2
Module 21
Module 22
34
36
37
38
Phase 2: Documentation
39
Phase 2: Documentation
40
Phase 3: Maintenance
References
42