0% found this document useful (0 votes)
14 views

Introduction To Programming

Slides for Introduction to Programming

Uploaded by

Benjie Lenteria
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Introduction To Programming

Slides for Introduction to Programming

Uploaded by

Benjie Lenteria
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

FUNDAMENTALS OF

PROGRAMMING
HELLO!
I AM BENJIE LENTERIA
I will be your instructor for
this course entitled
Computer Programming 1

2
COMPUTER HARDWARE
1 What comprises this piece of equipment
called a computer?
COMPUTER HARDWARE
Central Processing Unit
(CPU)
Can be considered as the
brain of the computer from
which most of the
processing is done. Composed of the following:
⬥ Arithmetic-Logic Unit (ALU)
⬥ Main Memory
⬥ Control Unit

4
Storage Devices
PRIMARY STORAGE SECONDARY STORAGE
Random Access Memory Stores data of the installed
(RAM) is responsible for programs as well as files
storing volatile data of the which are then retrieved for
programs and processes later use.
that are in active use. E.g. HDD, SSD

5
Input Devices
Consists of devices which
are used to input/enter
data into the computer
system. This includes the
keyboards, pointing
devices, graphics tablets,
microphones, joysticks,
scanners, sensors etc.

6
Output Devices Consists of devices that transmits the computer output to the users.
These includes the monitor, projectors, speakers, printers and other
devices that react to a computer system.

7
Many more..
PROGRAMMING
1 What is a program?
What is computer programming?
What about so ware?
PROGRAM
A set of instructions that tell the computer exactly
what to do. These instructions are coded by a
programmer which are interpreted by the computer
to perform certain actions (such as computations).
These actions may result in outputs which includes
information displayed on the screen or even
mechanical actuations done by devices connected
to the computer.
10
PROGRAMMING
The act of writing a computer program with the
intention of making the computer perform certain
repetitive tasks.

11
SOFTWARE
A so ware is a collection of programs and data that
are designed to perform in cohesion with each
other for a common goal.

12
Two Types of Software
Application So ware System So ware
The types of so ware the The so ware that performs
user directly interacts with its job behind the scene.
E.g. Operating System, and
Device Drivers

13
PROGRAMMING LANGUAGE
A programming language is a vocabulary and set of
grammatical rules for instructing a computer or
computing device to perform specific tasks.

14
TYPES OF PROGRAMING LANGUAGES
Machine Language Assembly Language High-Level Language
It is comprised of the Makes programming Makes programming
digits 0 and 1. It is a little bit easier than way more readable
the native language machine language. and understandable
of the computer. Contains codes and than the previous
Very difficult to symbols to represent two languages.
program commands and data. Contains words and
syntax similar to the
English language.

15
TWO TYPES OF HIGH-LEVEL
PROGRAMMING LANGUAGES
PROCEDURAL OBJECT-ORIENTED (OOP)
A programming paradigm A programming paradigm
which solves programming which revolves around the
problems using a concept of “objects” which
SEQUENTIAL set of contain data and behavior.
instructions to be carried out Programs are written as
by the computer. classes which are blueprints
of objects.

16
Compiled vs. Interpreted vs. Hybrid
Computer Programming Languages can also be
classified based on how the program is translated
by the computer.
Interpreted Languages - translates programs on-the-go; typically
executes slower than compiled.
Compiled Languages - performs a compilation process which
converts program code into machine language before it is
executed.
Hybrid Languages - compiles into an intermediate language or
(IL) and then interpreted to execute. 17
Compiled vs. Interpreted
COMPILED INTERPRETED HYBRID
LANGUAGES LANGUAGES
Java, C#
Python, PHP,
C, C++, Javascript
Visual Basic, Rust

18

Everybody in this country
should learn how to program
a computer, because it
teaches you how to think

19
THANKS!
ANY QUESTIONS?
You can find me at:
⬥ @airetnel
[email protected]

20

You might also like