Lesson 2 - Intro to Programming
Lesson 2 - Intro to Programming
TO
PROGRAMMING
Today, we’ll talk about..
• Introduction to Computer
Programming
• What is Computer Programming?
• Programming Languages
• Types of Computer Programs
• Uses of Computer Programs
Whatis Computer
Programming?
Let us understand first, what is a
computer program.
A computer program is a
sequence of instructions that guides a
computer to perform the task you want
it to do and deliver the expected
outcome.
A computer program can be
compared to an instruction given to a
person to perform a certain task.
Scenari
o:
Someone asks you about how to
go to Asian College Dumaguete from
the City Mall Dumaguete. How are you
going to instruct him/her?
Using human language
to give the instruction, it
could be something as
follows:
“First, drive straight south along
the National Highway until you reach
NORSU. Turn right to JP Teves Street.
Keep driving straight ahead until you
reach the Police Station. Turn right and
drive 300 meters straight to Asian
College.”
Step Drive straight south along National
1: Highway. Turn right to JP Teves Street.
Step Keep driving straight.
2: If you reach the Police Station, turn right.
Step Drive 300 meters straight to reach Asian College
3:
Step
4: The above sequence of instruction is
Step
like a human program, written in
5: English language.
the The same concept is
applied in understanding how the computer program is
executed by the computer in performing a task.
By definition..
A programming language is a
set of rules that guides the
computer what operations to
execute.
These are the most
widely-used
programming
1. JavaScri
languages:
pt
2. Python
3. Java
4. PHP
5. C#
6. C++
7. TypeScrip
t
8. Shell
9. C
Computer programs can
be categorized to two types:
• Application
programs
• System programs
Application
Programs
Usually called “applications”
just
“apps”, programs are
programs
applicationthat people or to execute
theuse
their in the computer.
work includ
This
document processors, es
spreadsheets, games, database
systems, web browsers, e-mail
clients, media players, and many
more.
Examples of Application
Programs
Web Browser
Games
E-mail Clients Media Players
System
Programs
System programs are programs that
keep the hardware and software
running on a computer. This includes
operating systems, programming
language translators, device drivers,
firmware, etc.
Examples of System Programs
Operating Systems
Device Drivers
Programming Language
Translators
Uses of Computer
Programs
The computer program has
greatly transformed the efficiency in
performing tasks. It allows the
automation of traditional tasks that
requires a lot of work hours and energy.
Here are some of the
applications of computer
programs:
• Media development software for producing print and electronic
media for educational and industrial settings. This includes
graphics, word processing, publications, videos, and animation.
• Enterprise applications for resource planning, customer
service, and supply management.
• Enterprise infrastructure software like databases, web servers,
network servers, and email servers.
• Product engineering software for supporting large
machine and application software development. Examples include
integrated development environments (IDE), computer-aided
engineering (CAE), and computer-aided design (CAD).
• Entertainment Software like music and video players, video
Questions?
Comments?
Share it with the
class.
Assignmen
t
What are the computer programs you
are using, and how does it impact you as
a student?
That’s all for
Thank
today!you.
Keep safe.
God bless.