1 1 Computer Programming Concepts
1 1 Computer Programming Concepts
Module 1-1
Computer Programming Concepts
LESSON OBJECTIVES
1. Understand the different programming languages used in a computer,
2. Learn and identify the different programming paradigm and their focus,
3. Learn the different advantages and features of object-oriented programming, and
LESSON CONTENT
1. Programming Language
A computer program or program is a series of instructions written to perform a specific task for a computer. It is a series of
instructions that dictate the manner of execution of a computer. Everything done on a computer is done by using a computer program
and without programs, computers are useless. These computer programs are constructed using different programming languages.
COMPILER INTERPRETER
Relatively little time spent in analyzing and processing the
Spends lot of time analyzing and processing the program
program
Resulting executable is a form of machine-specific binary
Resulting code is sort of intermediate code
code
Computer hardware executes the resulting code Another program executes the resulting code
Program execution is fast Program execution is relatively slow
3. Object-oriented Programming
Object-oriented programming is a software development architecture that uses the object is built on four main facets of OOP
design: abstraction, encapsulation, inheritance, and polymorphism. It uses objects, which are code-based abstraction of a real-world
entity or relationship.
LESSON SUMMARY
• As technology progressed, programming languages have evolved from
machine code, to assembly language, and finally to high-level programming
language.
• Depending on the problem and purpose of the program, programming can be
approached using different paradigms, namely: imperative, functional, logical
and object-oriented.
• Among the four paradigms, object-oriented programming came to be focused
because of its hierarchical approach to application development.
• Finally, Visual BASIC, through RAD and ubiquity of the .Net Framework,
became one of the most and useful programming languages.
SELF-ASSESSMENT QUESTIONS
Identify the following concepts described.
1. Operations that an object can either perform, or have performed on it.
2. Type of programming language that are numeric codes for the operations that a particular computer can execute directly.
3. Abstraction of a computer program which consists of instructions in producing a set of outputs from a set of inputs.
4. Translator programs that convert high-level language instructions back to machine code.
5. Feature of object-oriented programming which allows programmers to share codes.
REFERENCES
Merriam-Webster. (n.d.). Compiler. In Merriam-Webster.com dictionary. Retrieved August 23, 2020, from https://www.merriam-
webster.com/dictionary/compiler
Merriam-Webster. (n.d.). Interpreter. In Merriam-Webster.com dictionary. Retrieved August 23, 2020, from https://www.merriam-
webster.com/dictionary/interpreter