Nothing Special   »   [go: up one dir, main page]

Lesson 1 Programming

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 9

Lesson 1: Introduction to

Computer Programming

The Input-Process-Output (IPO) Approach


The Input-Process-Output (IPO) is a pattern or
approach that is widely used in systems for
transforming input data into output. This is used
to describe the structure of process.
Input- is any data entered into the computer
system. It could be resources such as people,
item details, or finance that are entered into
the system to obtain a desired output.

Process- a procedure being taken to provide


an output.

Output- serves as the outcome of the process.


It also meets the goal or end result of the
entire procedure.
Point-of-Sale (POS)
• System that is commonly used in a grocery or
a department store, checkout counter, identify
the information needed, information to be
processed, and expected outcome of the
system.
Computer Program
• Is a series of instructions written to perform a specified task
on a computer.

Programming- the art and science of creating programs

Programmer- the person who write, develops and debugs a


computer program.

Programming language- a tool that is used by the


programmer to communicate with the computer. It allows
programmers to write commands or instructions that can be
easily understood by a person and translated into codes that
are machibe-readable.
Classification of Programming
Language
1. The machine language- a computer is an electronic
machine; it can only feel electricity and is designed to
work with information
• Binary language/machine language- the only language
that can be used in the computer, uses only 2 numbers,
1 and 0.
 Binary numeral system- represents and processes
numbers using binary digits 0 and 1 which represented
by ‘on’ and ‘off’. This has 2 as a base.
 Decimal numeral system- represents numbers
understood by humans and it is composed of 0 to 9.
this number has 10 as a base.
2. The Assembly Language
• More advanced than the machine language as
it uses mnemonics in place of machine codes
to simplify the programmer’s way of creating
programs.
Mnemonics- are memory aids. It uses English
like abbreviation.
Assembler- the program that requires another
program to translate mnemonics into machine
code.
3. The High-level Language
• Allow programmers to use English commands to carry out
instructions.
 Interpreter- translates high-level instructions line by line
into machine code during runtime.
 Compiler- translates the entire program into machine code
before the program executes.
 Object-oriented programming language- is a high-level
programming language that uses GUI-based interfaces
 Object-oriented programming (OOP) and event driven
programming languages- with these languages, the
emphasis of creating a program was on the objects
included in the user interface like buttons and scrollbars.
Software Development Life Cycle
(SDLC)
• The process used in creating computer
systems. It consists of a detailed plan
describing how to develop and maintain
systems.
Stages in Software Development
• requirements-
• Planning/Design
• Implementation
• Testing and Debugging
• Deployment
• Support and Maintenance

You might also like