Professional Documents
Culture Documents
PROGRAMMING
FEROL JOHN NOHAY
TERMINOLOGIES
• Computer program - is a set of instructions that you write to tell a
computer what to do.
• Programming - the process of writing computer program in a language that
the computer and programmers understand.
• A program that performs a task for a user (such as calculating and producing
paychecks, word processing, or playing a game) is application software
• A program that manages the computer itself (such as Windows or Linux) is
system software.
• The logic determines the exact order of instructions needed to produce
desired results.
TYPES OF PROGRAMMING
• LOW LEVEL PROGRAMMING LANGUAGE – are languages that
correspond closely to the computer’s circuitry and are not as easily read
or understood.
• Characteristics
1. It is a machine friendly language. 6. It is non-portable.
2. It is high memory efficient.
7. It is machine-dependent.
3. It is tough to understand.
8. It needs assembler for translation.
4. It is complex to debug.
9. It is not commonly used now-a-days in
5. It is complex to maintain. programming.
TYPES OF PROGRAMMING
• Example of Low Level Programming Language
• Assembly Language
TYPES OF PROGRAMMING
• Example of Low Level Programming Language
• Machine Language
TYPES OF PROGRAMMING
• HIGH LEVEL PROGRAMMING LANGUAGE – are languages that allows
you to use English-like, easy-to-remember terms such as read, write, and
add
• Characteristics
1. It is programmer friendly language. 6. It is portable.
2. High level language is less memory efficient.
7. It can run on any platform.
3. It is easy to understand.
8. It needs compiler or interpreter for translation.
4. It is simple to debug.
9. It is used widely for programming..
5. It is simple to maintain.
PARADIGMS IN PROGRAMMING
• There are 2 important paradigms in programming:
• Procedural Programming
• Object-Oriented Programming
• Procedural Programming
• step-by-step process of instructions to tell the
computer
• it relies on Procedures, Routines, or sub-routines
• also referred to as imperative programming
• also known as Top-Down Languages
• Example: C, COBOL, FORTRAN
PARADIGMS IN PROGRAMMING
• Object Oriented Programming
• It is an approach on how to solve a problem.
• It focuses on the OBJECT that the developers
want to manipulate than the logic to
manipulate it.
• Example: Java & C++
OBJECT ORIENTED
PROGRAMMING
FEROL JOHN NOHAY
OBJECT ORIENTED PROGRAMMING
• Object
• the basic unit of the OOP.
• something material that may be perceived by the senses (Merriam
Webster)
• Example of Object - Person, Animal, Things, Fruits