Lis 109
Lis 109
LESSON 1 & 2
Types of Programming Languages
Definition of Terms
• Computer understands program only if it is coded in
Computer Program – are set of instructions written in a its machine language.
programming language that a computer can execute, • Because the computer can only understand machine
programs are designed to perform specific tasks. language instructions, programs that are written in a
high-level language must be translated into machine
Computer Programmer – refers to the person who designs or language.
creates, codes, tests, debugs and documents a computer • Once a program has been written in a high-level
program. Programming requires more than just the knowledge language, the programmer will use an interpreter or a
of a programming language. In effect, programmers spend compiler to make the translation.
most of their time in planning solutions before they start
writing the source code for the program. Interpreted Language
Computer Programming – the art and science of designing a o A program written in an interpreted language can be
program, it is the process of providing instructions for the run immediately after you finish writing it or, while you
microprocessor. The stages of programming include design or are writing it. But such a program always needs an
making decision about what the program should accomplish; interpreter to translate the high-level instructions into
and coding refers to the use of a programming language to machine-understandable instructions at runtime.
express the program’s logic in computer-readable form. o You cannot run the program on a machine unless the
right interpreter is available. Programming language
Levels of Programming Languages like python, ruby use interpreters.
o uses a list of instructions to tell the computer what to 5. Program Documentation - When the program is finished
o relies on procedures, also known as routines or its distribution. It usually includes necessary information about
subroutines the requirements of the program like operating system and
o known as top-down languages hardware requirements needed for the program to run. It also
o Fortran, COBOL and C, which have been around since contains technical information such as who created the
the 1960s and 70s program, who to contact when there’s a problem and
instructions on the use and maintenance of the program.
Object-oriented Programming
6. Maintenance - this final stage in programming is
o is an approach to problem-solving where all maintaining or updating the program. This is where the
computations are carried out using objects programmer is tasked to keep the program running smoothly
o an object is a component of a program that knows and updated with the developments and changes in the field
how to perform certain actions and how to interact where it is used
with other elements of the program
o is like a procedure in procedural programming
o C#, Java, Perl and Python