I NTR O DU C T I ON T O
COMPU T E R PR OGRAM M I NG
JOHN ERIC SANTIAGO
L EARN I NG TARG ETS
1. I CA N DE FINE P R OG RA M M ING
2. I CAN U NDERS TAND THE P ROCE S S OF
P ROGRAMMING
3. I C AN E X PL AI N T HE U S E OF S EVERAL
PR O GRAMM I NG L ANGU AGE
I CAN COMPARE AND CONTRAS T THE
4
DIFFERENT PROGRAMMING L ANGU AGES
I CAN CREATE A P ROGRAM U S ING
5.
PROGRAMMING L ANGU AGES OF MY
CHOICE
WH AT IS A P RO GRAM
A program is a set of instructions
in a programming language given to
a computer to perform useful
tasks
W H AT I S P R O G RA M M I N G ?
Programming involves creating a set of
instructions, called a program, that tell a computer
how to perform a specific task. This process
encompasses several key concepts and steps, from
defining the problem to maintaining the final
product. The programming process generally
involves identifying the problem, designing a
solution (often using algorithms), writing the
code, testing and debugging, and
P RO GRAMMING L AN GU AGE
Programming languages are
used to establish
communication between
machines to machines and
machines to human beings.
It is a set of codes written in
any particular language (C, C+
+, Java, and Python) to
implement a defi nite task.
W HY D O WE N EED TO
LEA R N PR OG RA M M I NG
L A NG UAG E S ?
The world is e volving , s o
s hould t he IT ’s .
C hoos e the e a s ie s t w ay
to d e ve lop your p rog ra m.
S AMP L E P RO GRAMMIN G
L AN GU AGE S
C JAVA PYT H ON PHP
C is d e s ig n e d Ja v a is o n e o f th e P y th on is c o n s id e re d o n e Us e d f or d e v e lop in g
s p e c ifi c ally f o r u s e la n g u a g e s th a t is o f th e b e s t p ro g r a m m in g w eb -b a sed so f t w a re
w ith th e Win d o w s OS p o p u la r in larg e la n g u a g e s th a t c an b e a p p l ic a t io n s an d
an d is p ar t o f th e . N e t o rg a n iz a tio n s u s e d f o r w eb a n d allo w s w e b d e v e lo p e r s
f r am e w o r k . It is w id e ly u s e d in d esk t o p a p p lic a t io n s , to c re ate d y n am ic
A n d ro id A p p m a c h in e lea rn in g , d a t a c o n te n t th at in te r ac ts
D e v e lo p m e n t . sc i en c e, a n d n et w o rk w ith d atab as e s .
ser v er s.
C# P RO GRAMMING
L AN GU AGE
C# (C-Sharp) is a programming language developed by Microsoft
that runs on the .NET Framework.
C# has roots from the C family, and the language is close to other
popular languages like C++ and Java.
The first version was released in year 2002. The latest version, C#
13, was released in November 2024.
C# P RO GRAMMING
L AN GU AGE
C# is used for:
Mobile applications
Desktop applications
Web applications
Web services
Web sites
Games
VR
Database applications
And much, much more!
C# P RO GRAMMING
L AN GU AGE
Why Use C#?
It is one of the most popular programming languages in the
world
It is easy to learn and simple to use
It has huge community support
C# is an object-oriented language which gives a clear structure
to programs and allows code to be reused, lowering
development costs
Writing your
first program
HELLO
WORLD
TH INGS
NE E DE D
I nst a ller of t he
1.
progr a mming la ngua ge
2. Integrated Dev el opme n t
Envi ronmen t (ID E)
3. D ev ic e
Hello World Code in C#
Hello World Code in Java
Hello World Code in Python
CO MPARE AN D CO NTRAST
Activity 3
HANDS-
ON
Create a program in your preferred
programming language that displays
your name, gender, and course.
Advance reading on loops,
loop types, and loop usage in
programming languages