Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

COMPUTER PROGRAMMING 2

Introduction to Progamming
PRESENTED BY:
Jhaun Paul G. Enriquez
SHS ICT Faculty
1
LEARNING OUTCOMES:

1. Differentiate a computer program, programming and


programmer
2. Identify different types programming languages
3. Enumerate the skills required to become a
programmer

COMPUTER PRORAMMING 2 2
PROGRAM PROGRAMMING PROGRAMMER

Set of instructions needed Process of creating the Person who writes, test
to perform a specific task set of instructions and maintains the
set of instructions

COMPUTER PRORAMMING 2 3
PROGRAMMING LANGUAGE
• A set of structured grammatical rules (syntax) for
instructing a computer to perform specific tasks.
• Programming languages can be used to create
computer programs.
• The term programming language usually refers to
high-level languages, such as BASIC, C, C++, COBOL,
FORTRAN, Ada, and Pascal.

COMPUTER PRORAMMING 2 4
TYPES OF PROGRAMMING LANGUAGE
1. Low-level Programming Language
• Machine Language – collection of binary digits or bits that the
computer reads and interprets.
• Example: Electric toothbrush

COMPUTER PRORAMMING 2 5
TYPES OF PROGRAMMING LANGUAGE
1. Low-level Programming Language
• Assembly Language
• consists of a series of instructions mnemonics that correspond to
a stream of executable instructions, when translated by an
assembler, that can be loaded into memory and executed.
• use keywords and symbols, much like English, to form a
programming language but at the same time introduce a new
problem.

COMPUTER PRORAMMING 2 6
TYPES OF PROGRAMMING LANGUAGE
1. Low-level Programming Language
• Assembly Language
• consists of a series of instructions mnemonics that correspond to
a stream of executable instructions, when translated by an
assembler, that can be loaded into memory and executed.
• use keywords and symbols, much like English, to form a
programming language but at the same time introduce a new
problem.
• translated into machine language by a program called an
assembler.

COMPUTER PRORAMMING 2 7
TYPES OF PROGRAMMING LANGUAGE
1. Low-level Programming Language
• Assembly Language

COMPUTER PRORAMMING 2 8
TYPES OF PROGRAMMING LANGUAGE
2. High-level Programming Language
• allow us to write computer code using instructions resembling
everyday spoken language (for example: print, if, while) which are
then translated into machine language to be executed.
• Some programming languages use a compiler to perform this
translation and others use an interpreter
• Compiler – transform a program written in a high-level programming
language from source code into object code.
• Interpreter – reads the source code one instruction or line at a time,
converts this line into machine code and executes it.

COMPUTER PRORAMMING 2 9
COMPUTER PRORAMMING 2 10
COMPUTER PRORAMMING 2

You might also like