PRELIM-Lesson-1 Programming
PRELIM-Lesson-1 Programming
and Programming 2
Lesson 1
BSCS 1 (2022-23)
Introduction to Computer Programming
Current and future computer programming principles have
influenced sophisticated technologies, such as voice recognition and
artificial intelligence, which affect our day-to-day lives. With the
ever-changing face of computer technology, programming has
become an exciting and forever challenging environment that more
and more people would like to get involved with.
WHAT IS A COMPUTER PROGRAM?
A computer program is a
series of instructions written to
perform a specified task on a
computer. A computer needs a
program to work. The program
has an executable form that the
computer can use directly to
perform instructions. A
programmer is a person who
writes, develops, and debugs
the computer program.
WHAT IS PROGRAMMING?
Programming is the
art or process and science
of creating/writing
programs. It is the process
done by programmers to
instruct a computer on how
to do a task. It is the process
of planning and designing
solutions for a particular
problem and then writing
the code using a
programming language.
WHAT IS A PROGRAMMING LANGUAGE?
A programming language is a tool that allows
programmers to write commands or programs that can easily
be understood by a person and translated into codes that are
machine-readable. This is the form of communication that
programmers use to develop applications, scripts, or other
sets of instructions for a computer to execute.
HISTORY OF
PROGRAMMING
Augusta Ada Byron
World’s First Computer Programmer
HERMAN HOLLERITH
JOHN MAUCHLY
CLASSIFICATION OF PROGRAMMING LANGUAGE
Programming
languages can be viewed
or classified into four
general types: machine
language, assembly
language, high-level
language, and object-
oriented/event driven
programming language.
CLASSIFICATION OF PROGRAMMING LANGUAGE
Machine Language
This is the only language that a
computer can understand. The machine
language is difficult to understand
because it only understands the binary
system that uses two numbers, 0s and
1s, known as the machine code. This language is also called
Programmers have to write program the lowest level
programming language. As
instructions using combinations of 0s and mentioned earlier, binary
numbers 0 and 1 represent
1s. Imagine how challenging it would be codes; each of those digits is
called a bit. 0 is for OFF and 1
is for ON and through this,
to learn how to create simple commands the CPU executes the
program mechanically.
using the machine language
CLASSIFICATION OF PROGRAMMING LANGUAGE
Assembly Language
This is more advanced than the machine language. Assembly
language uses mnemonics in place of 0s and 1s to simplify the
programmer's way of creating programs.
___