You are on page 1of 16

Computer Programming 1

Introduction to Programming
By the end of the lesson, students will be able to:

• Define what is computer programming.


• Differentiate Assembly Language from Machine language.
• Differentiate High-Level Language from Low- level language.
• Differentiate Procedural Programming from OOP.
• Explain the Program-Development Cycle.
Computer Programming

-Refers to the process of writing instructions for


computing devices and systems. A computer program
translates those instructions into a language that
computers can understand.
Assembly Language

• Is a computer language in which the instructions are created using symbols


such as letters, digits and special characters.
• In assembly language, we use predefined words called mnemonics.
Assembler
•  Is a translator which takes assembly code as input and produces
machine code as output.
Machine Language

• Is a collection of binary digits or bits that the computer reads and interprets.
Machine language is the only language a computer is capable of
understanding.
Hello World
PROCEDURAL PROGRAMMING
-can be defined as a programming model which is derived from
structured programming, based upon the concept of calling
procedure. Procedures, also known as routines, subroutines or
functions, simply consist of a series of computational steps to be
carried out.
- Top-down Approach

Example:
FORTRAN, ALGOL, COBOL, 
BASIC, Pascal and C
OBJECT-ORIENTED PROGRAMMING

-uses classes and objects to create models based on


the real world environment. An Object-oriented
Programming application may use a collection of
objects which will pass messages when called upon
to request a specific service or information. Objects
are able to pass, receive messages or process
information in the form of data.

You might also like