Professional Documents
Culture Documents
Lesson 1
Lesson 1
B. Course Description
[1] This
is an introductory course in computer programming logic. The student will
learn algorithms applicable to all programming languages. These includes: identifiers,
data types, control structures, arrays, modular programming, generating reports and
computer memory concepts. The student will learn to use charts commonly used in
business and information processing. Program logic will be developed using flowcharts
and pseudocode. Programs will be written in any programming language (CMO 87, s.
2020).
C. Course Outline
To identify a computer.
To learn the components of a computer system.
To learn the functions of the different units of a computer system.
2.1 Computer
There are a lot of definitions of what a computer is. You can read the definition from
dictionaries, books or google. In our class, we are going to define computer in relation to our
profession and lesson.
A computer is an electronic device capable of performing logical and arithmetic
operations. Logical operation refers to the correct steps of solving a problem, while arithmetic
operations refers to the correct usage of our mathematical operators such as +,-,* and /.
2.2 Computer System
A computer system is a combination of all the modules that are required to process data
(processed information) and store these into the computer. The two basic components of a
computer system are the hardware and software.
Hardware: These are the tangible parts of your computer. These includes your CPU,
monitor, keyboard, mouse and other peripheral devices attached to your computer.
Software: These are the programs running inside your computer. Examples of these are
the Operating System (Windows, Linux, Sun Solaris, etc.), word processing software,
spreadsheet, presentation programs, games and music.
Software can be classified in two broad types:
Application Software. Programs that you apply to a specific task, such as word
processing, spreadsheets, Point of Sales (POS) programs and games.
System Software. Programs that manages the operation of your computer. The
management may start from the boot process to the kill process. A good example of
this is your Operating System (OS). Note: There will be a separate course for Operating System.
I will not further explain what an OS is and its function .
Accepts the results from the computer. The results are in coded form.
Converts these coded forms to human readable form.
Provides converted forms to the outside world for consumption.
2.3.3 STORAGE UNIT
All data or instructions after being received through the output unit must be
stored first before the actual processing starts. In the same way, the results produced by
the computer must be stored inside the computer before being passed to the output unit.
Additionally, the results must be saved for ongoing processes.
There are two types of storage unit. These are the primary storage unit and
secondary storage unit.
The primary storage unit is otherwise known as the Random Access Memory
(RAM). This is a high speed low memory device. This a type of computer memory that is
used to store working data or temporary files. RAM is usually known as a cache memory
or volatile memory. All instructions to be processed by the CpU are temporarily stored in
the RAM. If the computer is turned off, then the instructions are automatically erased.
RAM is an important component for the OS. Modern OS and application programs are
very dependent on RAM.
The secondary storage unit is a low speed high memory device. A good example
of this device is your hard disk drive (HDD). The HDD provides the necessary space for
intermediary results and final results. All results stored in the HDD are retained even if
the computer is turned off. Usually, this is the storage unit where we search our saved
files or remove it from our computer.
2.3.4 CENTRAL PROCESSING UNIT (CpU)
The brain of the computer system. All data or instructions coming from the
primary storage device are processed by the CpU. The CpU runs the OS and all the
application programs inside the computer. Note: This is only a brief description of the CpU.
The CpU is sometimes compared to the brain of a human being. The brain
processes all information received by our senses and the body reacts accordingly to the
data coming from the brain. Just like the CpU, it produces the desired output based on
the input.
2.3.5 ARITHMETIC AND LOGIC UNIT (ALU)
The ALU is the unit where all the real time execution of the instructions take place
during the processing operations. All logical and arithmetic calculations are performed in
this unit. Decision making are also made here.
2.3.6 CONTROL UNIT
The control unit guides and controls the actions of the internal and external
devices. It interprets the instructions drawn from the computer, determines what data
are required and where the data is to be stored.
The control units determine and directs where to store the results of an operation
and sends the control signal to the devices responsible for the execution of the
instructions.