Unit 1 Introdution To Computers and Logic
Unit 1 Introdution To Computers and Logic
Unit 1 Introdution To Computers and Logic
UNIT 1
LESSON 1
INTRODUCTION
Technology is the application of human idea into systematic and scientific knowledge
to achieve certain purposes based from existing or future problems and researches.
In modern days, humanity enjoys the benefits of their knowledge. We use mobile
devices, computer desktops and laptops and other automated machines in our daily
routines and activities. These technologies are used in various ways in terms of
communication, transactions, businesses, etc. Moreover, it provides us to do work in
a minimal time manner compare to manual process.
OBJECTIVES
PRE-TEST
Computer literacy may have a big impact in our daily living. It give s certain
privilege in our daily activities. In our own perspective, we may provide the following
items a concrete answer based on what is existing in this era.
1
CpE 403-CAO Unit 1: Introduction to Generation of Computers
1. What is technology?
________________________________________________________
2. When did you first experience computers? In what purpose?
________________________________________________________
Lesson Proper:
This tool is a mechanical device that has beads inside a frame and a string inside the
beads. It was invented in Babylonia in 2400 B.C. It is used to perform basic
arithmetic operations by moving the beads through fingers.
2
CpE 403-CAO Unit 1: Introduction to Generation of Computers
the first abacus is like a portable sand pile. They would have a trey made up of a
clay or wood and have a thin layer of sand in it and they use it like a chalkboard by
marking their finger with it. Others use pebbles as a beads. The abacus we are
familiar with was used in china around 500 B.C.
Napier’s Bones(1964)
The Napier’s bones was named after its inventor John Napier who is Scottish noble
man and also invented the logarithm. It is used to calculate Multiplication, Division,
Square roots and cube roots. It is a set of 10 sticks with 9 rows of sliding angle.
There is a stick called index rod with a set of digits 1 to 9 in order. It is used to
compute large numbers. The method of use is to line up the sticks. The leftmost
should be the index rod. Afterwards, line up the rod respective to the number to be
multiplied. Then from the index. Add the numbers diagonally. Write the answers digit
per digit to have the final answer.
3
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Pascaline (1642)
Stepped Reckoner(1672)
4
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Theoretically this machine could handle the four arithmetic functions, had delayed
carrying device, and contained the stepped drum principle, which 150 years later
was used in the first commercially successful calculator.
As far as we know, Leibniz built two machines. He spent years of his life improving
them so they would be practical. But, the technology of fine instrument making could
not yet reach the precision that was essential. Leibniz's dream was unfilled. The
story of 18th century calculating devices is one of experiment in which all possible
changes were made to the inventions of Pascal, Moreland and Leibniz
This machine was developed in france in the name of Joseph Marie Jaquard. It is a
machine that uses a chain of punch card to make integrated textiles. It is an
attachment of powered fabric looms. There is could hundred of holes in a loom that
could be raised or lowered to have a textile brocade. This invention is important to
computer history because it is the first to have an interchangeable punch card that
do automation.
Arithmometer(1820)
5
CpE 403-CAO Unit 1: Introduction to Generation of Computers
6
CpE 403-CAO Unit 1: Introduction to Generation of Computers
the engineer Edvard Scheutz (1821- 1881), designed and constructed a machine to
compute tabular differences and print the results. It is the first printing calculator.
Tabulating Machine
7
CpE 403-CAO Unit 1: Introduction to Generation of Computers
8
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Z1 (1938)
It was created by Konrad Zuse in Germany. The idea of the Z1 started when Zuse
frustrated to use the adding machine in a certain company he works on. He do
endless mathematical calculations to get the effective wind on airplane wings. the
adding machine at that time and he always input his calculations by hands. He
resigned at the company and started to build his idea. He started at his father’s living
room to make the machine and think of a language that a man and machine can
understand. Then, he thought of the ancient number system “the Binary”. Right then,
he designed a machine that reads instructions from a punched tapes to do the
calculations. It was a binary electrically driven mechanical calculator with limited
programmability. He used telephone relays to do the switching. The invention was a
22-bit floating point value adder and subtracter, with some control logic making it
capable of more complex operations such as multiplication (by repeated additions)
and division (by repeated subtractions). Z1's ISA had nine instructions and its CPI
ranged from 1 to 20. This is the first programmable computer.
9
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Invented by Professor John Atanasoff and graduate student Clifford Berry at Iowa
State University. The invention is also known as ABC computer. He explored the
field of artificial computation. He built the computer in the basement of the physics
building of Clifford Berry. Having difficulty in teaching long mathematical analyzation
to his students, he thought of making an electrical computation system to solve
complex mathematical problem. It has about 300 vacuum tubes for control and
arithmetic calculations, it uses punched cards as input/output unitsand uses of binary
numbers, logic operations. It also has memory capacitors. The ABC was the first
electronic digital computing device.
ENIAC (1946)
10
CpE 403-CAO Unit 1: Introduction to Generation of Computers
ENIAC stands for Electronic Numerical Integrator and Computer. It was the first
electronic general purpose computer developed by John Presper Eckert and John
W. Mauchl. The US government revealed the secret computer project named project
PX. It is a massive electronic digital computer. It was the first large scale digital
electronic all-purpose computer and is designed to be capable to be reprogrammed
to solve a large number of numerical problems. Programming was accomplished by
setting switches and connecting wires according to specific instructions on a written
paper and it is done manually. When it is originally designed, there is no manual in
programming the ENIAC. The program only relies on the block diagrams and logic
diagrams of the machines operations. ENIAC uses IBM punch card reader for data
input and IBM card punch machine for output.
UNIVAC 1
The UNIVAC handled both numbers and alphabetic characters equally well. The
UNIVAC I was unique in that it separated the complex problems of input and output
from the actual computation facility. Mercury delay lines were used to store the
computer's program. The program circulated within the lines in the form of acoustical
pulses that could be read from the line and written into it. The UNIVAC I (UNIVersal
Automatic Computer 1) and was the first commercial computer.
EDVAC (1952)
11
CpE 403-CAO Unit 1: Introduction to Generation of Computers
EDVAC stands for Electronic Discrete Variable Automatic Computer it is the First
Stored Program Computer designed by Von Neumann in 1952. It has a memory to
hold both a stored program as well as data.
Osborne 1 (1981)
In April 1981 writer and computer entrepreneur Adam Osborne and Osborne
Computer Corporation Offsite Link, Hayward, California, produced the first
commercially successful "portable" computer, the Osborne 1. It weighed twenty-
three pounds, ran the CP/M operating system, and sold for $1795, with $2000 worth
of software included. Its main deficiencies were a tiny 5 inch (13 cm) display screen
and use of single sided, single density floppy disk drives which could not contain
sufficient data for practical business applications. Its 23 pound weight meant that the
computer was more "luggable" than portable.
12
CpE 403-CAO Unit 1: Introduction to Generation of Computers
ACTIVITY
From the previous lesson, we learned that a little evolution in technology may
have a big impact for the future. For this activity:
1. Think of a technological product that you are familiar and look for its previous
versions or its references in function. Give 5 of its version/references.
Example (Touch screen mobile phone, mobile phones with keypad.)
PRODUCT:
A)
B)
C)
D)
E)
13
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Analysis:
In this lesson, we can see that technology doesn’t necessarily must have an
electronic part with it. Technology has no limit. It depends on how an individual
persevere his/her idea. We can also say that any computing device may be
considered as a computer for its main function is to compute.
Abstraction
Computers are devices that can store, retrieve, process data most typically in a
binary form according to instruction set of the given program. Every generation of
inventor has its own evolution of idea from manual to automation. More so,
technological advancement this days is so fast that it only takes a year to double the
capabilities of the existing devices.
Can you share some of your thoughts about the difference of the present computers
and the past computers?
14
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Application
Based on the activity given above. Give your reason why your idea of
improving the device is possible.
___________________________________________________________________
___________________________________________________________________
____________________________________________________
1.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
2.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
3.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
___________________________________________________________________
___________________________________________________________________
15
CpE 403-CAO Unit 1: Introduction to Generation of Computers
___________________________________________________________________
________________________
4.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
5.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________
REFLECTION/LEARNING INSIGHTS
___________________________________________________________________
______________________________________________________________
___________________________________________________________________
___________________________________________________________________
________________________________________.
16
CpE 403-CAO Unit 1: Introduction to Generation of Computers
LESSON 2
INTRODUCTION:
In the modern day, the most commonly course that students undertake is all about
computers. Why? Simply because the future relies on technologies. through this
devices, everything is about advancement and enhancement. For an example, the
manual payments on the supermarket became automated through technology. But,
how does this innovation act? How do inventors take the steps through this progress
in technology?
OBJECTIVES:
PRE-TEST
Discussion:
As a programmer, we are oriented and taught to give instructions and sets of syntax
to the computer to have a good output. Whenever, a certain project program was
offered in our table, we usually put the necessary codes right away. But, it is not the
proper behavior of being a programmer. A professional computer programmer knows
how to execute the program development cycle which can be broke down into at
least 7 steps.
Understand the
Maintain the Problem Plan the Logic
program
18
CpE 403-CAO Unit 1: Introduction to Generation of Computers
The programmer cannot make the decision for the project. He should ask
clients questions on how the system that needs to be automated works. We
cans say that the program is equivalent to the answered question based on
the clients. Also, existing documents and certain documentations for the
program may also help the advancement of the project.
The developer may right the source code only and only if after the logic was
developed. In this portion, it is the execution of the project based on
observation and variable declarations. There are many different language
available in our existing age. The programmer must choose the best
programming format or platform for the projects development and
requirements
.
4.) Use software to translate the program into machine.
19
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Even there are many programming language, a computer only knows one
language “the machine language”. The computer understands machine
language because they are made up of thousands of electronic switches and
each has a set of their on and off state which are represented by 1 or 0. If the
syntax in your program is wrong or sometimes execute but not in a proper
procedure, the computer will prompt either syntax errors or wrong outputs.
Your program is being translated to machine language and your syntax will be
based on a program language that you will use.
In order to ensure the service offered, you must put the program on test.
Trying and reevaluate the program is essential to have the desired final
output. Sometimes, programs will provide outputs but at the end there would
be a conflict of variables, steps or logical errors.
After the program is thoroughly tested and debugged, it is ready for the
organization to be used. Putting the program into might mean simply running
the program if it is written to satisfy the user’s request for special list.
Correct errors
Improve performance
Add functionalities
Remove obsolete portions
Despite the common perception that maintenance is required to fix errors that
come up after the software goes live, in reality most of the maintenance work
involves adding minor or major capabilities to existing modules. For example,
some new data is added to a report, a new field added to entry forms, code to
be modified to incorporate changed government laws, etc.
20
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Activity:
Abstraction:
Every programmer must have the interest to embrace the idea of computer
programming cycle. Making an outline of your project before execution makes you
more productive and save time for tracing errors. Maintenance will be easy and more
clients may rely on us because of a quality service that we may provide.
Can you determine the comparison between what you have done in the exercise
1.2.2 and what you have understand in this lesson?
Similarities Dissimilarities
21
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Application:
Write a simple program based from your previous languages you learned from your
high school days and write your computer programming cycle execution.
___________________________________________________________________
______________________________________________________________
_______________________________________
2.) Plan the Logic. (explain how the program will be processed)
___________________________________________________________________
______________________________________________________________
_______________________________________
3.) Code the program. Write the syntax of your code in a separate paper. (if
you are answering via online, write the code in this document)
___________________________________________________________________
______________________________________________________________
_______________________________________
4.) Use software to translate the program into machine.(what software did
you use.)
___________________________________________________________________
______________________________________________________________
_______________________________________
22
CpE 403-CAO Unit 1: Introduction to Generation of Computers
6.) Put the program into production.( show the output of the program)
___________________________________________________________________
______________________________________________________________
_______________________________________
REFLECTION/LEARNING INSIGHTS
From the activity of lesson 2, can you identify the purpose/connection of what you
have done in the lesson?
___________________________________________________________________
___________________________________________________________________
____________________________________________________
23
CpE 403-CAO Unit 1: Introduction to Generation of Computers
LESSON 3:
Understanding Software
DURATION: 1.5 hrs
INTRODUCTION:
All of us are familiar with computer. Pertaining from the previous lessons, anything
that can compute and machines that are programmable may be considered as a
computer. A computer has 2 parts, the hardware and software. Everything display
that we see in our computer desktops, laptops and mobile phones are softwares and
made up of software.
OBJECTIVES
Functions of software.
The different types of software.
Computer operations.
PRE-TEST
Everyone nowadays knows the term “application”. But do we really know this
software?
24
CpE 403-CAO Unit 1: Introduction to Generation of Computers
3. it supports the basic function of the computer such as scheduling tasks, executing
applications, and controlling peripherals.
a. BIOS
b. Operating System
c. gamepad
d. mouse
a. Computer virus
b. Utility software
c. Security software
d. adwares
II. Put a bullet or check on the item that you think is a software.
Discussion:
We all know that a computer is a programmable machine. From the word itself. We’ll
break each part. Programmable pertains about software and a machine for
hardware. In the principle of equivalence of hardware and software, it is said that
“anything that can be done with software can be also be done with hardware, and
anything that can be done in hardware can be done in software.”
But before we explain their relevance, let’s have a look in each of it.
Software
are programs or collection of instructions that enables the user to interact with the
computer. This are intangible products and made up of applications. It is also
abbreviated with “SW”. It consist of
25
CpE 403-CAO Unit 1: Introduction to Generation of Computers
• System software – system software refers to the files and program makes
your operating system. It includes library functions and system services
such as drivers for hardware.
Examples:
Examples:
Desktop publishing
DBMS
Video editor
Web browser
• Receive input data – waits data from the end user to be processed by a
certain program.
• Process data – evaluates the data input on how it will respond to the
system.
• Store data, information and instructions – holds the data of the end user.
Machine Cycle
Process is simple:
It will take an action from the memory then it will look for the actions that is need to
be done and carries out those actions required.
The cycle consists of three standard steps: fetch, decode and execute.
Instruction Phase
Execution Phase
This process is repeats itself from boot up until shutdown that’s why it’s called a
cycle.
A processor spends all of its time in this cycle, endlessly retrieving the next
instruction, decoding it, and running it.
PICTORIAL REPRESENTATION
The computer's processor consists of the following parts: Control Unit and ALU
For example, to add the numbers 5 and 6 and show the answer on the screen
requires the following steps:
Activity
28
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Check your computer or mobile unit for your applications installed. Can you
determine the type of your software installed?
Analysis
Abstraction
Software is essential in our computer units. These are the programs that helps us
interact with the computer. we can interact with the machine with hardware only but
not as effective and fast using softwares.
Application
Think of a set of instruction. Write a simple life situation where we can compare the
machine cycle.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
REFLECTION/LEARNING INSIGHTS
What did you learn the most after taking the lesson?
29
CpE 403-CAO Unit 1: Introduction to Generation of Computers
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
LESSON 4
30
CpE 403-CAO Unit 1: Introduction to Generation of Computers
INTRODUCTION
Computers are made of electronic parts called components. Each component has a
specific function. They all work together when a computer is operated. Some of the
components can be seen partly from the outside. Some components are inside the
computer box where we can’t see them. Without these hardware devices, there
would be no use of software.
OBJECTIVES
PRE-TEST
This exercise will determine your current familiarity about computer hardware.
Answer sincerely the following question.
31
CpE 403-CAO Unit 1: Introduction to Generation of Computers
3. Allows the user to select items stored on a computer and, subsequently, perform
actions on those items.
e. keyboard
f. scanner
g. gamepad
h. mouse
e. Input devices
f. Output devices
g. RAM
h. CPU
7. These are is any external hardware that sends data to the computer. If there are
no input devices connected in a computer
a. Input devices
b. Output devices
c. RAM
d. CPU
7. These are is any external hardware that sends data to the computer. If there are
no input devices connected in a computer
a. Input devices
b. Output devices
c. RAM
d. CPU
32
CpE 403-CAO Unit 1: Introduction to Generation of Computers
8. Are tangible objects that are connected with each components to process the
system of computer.
a. software
b. hardware
c. RAM
d. CPU
a. Strip board
b. mother board
c. processor
d. CPU
a. Hard disk
b. hardware
c. RAM
d. CPU
LESSON PROPER
Hardware
Are tangible objects that are connected with each components to process the system
of computer. Every components has their own function. In a whole set up of
computers, we have a certain hardware called the System unit. It includes the
motherboard, CPU, RAM and other components.
33
CpE 403-CAO Unit 1: Introduction to Generation of Computers
MOTHERBOARD RAM
Hard Disk
CPU – it stands for central processing unit. This part runs the process
instruction of a computer. It is the primary unit. It runs the operating system
constantly receiving input on the user or running applications. The processed
data is the output, which may be stored by an application or displayed in the
screen.
Hard disk - non- volatile memory stored information even after shutdown
34
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Motherboard - is the main circuit board of your computer and is also known
as the mainboard or logic board. If you ever open your computer, the biggest
piece of silicon you see is the motherboard. Attached to the motherboard,
you'll find the CPU, ROM, memory RAM expansion slots, PCI slots, and USB
ports. It also includes controllers for devices like the hard drive, DVD drive,
keyboard, and mouse. Basically, the motherboard is what makes everything in
your computer work together.
Input Devices – is any external hardware that sends data to the computer. If
there are no input devices connected in a computer, the unit will just become
a display devices because there would be no interaction between a computer
and the user. An example of these are mouse, webcams, microphones,
keyboards, etc.
35
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Activity
Write what you observed based on your experience in assembling the computer.
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Analysis
Abstraction
Hardwares are set of electronic components that are built together to have an
interaction with each other to produce specific outputs. Every input has their
corresponding outputs. Every input devices are important to fasten your work. For
you to understand more. You may watch the following link.
https://www.youtube.com/watch?v=ctAVC2JwEwI
Application
To the table provided, determine the input and output devices and the hardware
composition of the following
Laptops
Tablets
37
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Smart TV
Smart watch
REFLECTION/LEARNING INSIGHTS
Buy understanding the function of each component, what part of the computer do
you think is the most important in setting up a computer?
___________________________________________________________________
___________________________________________________________________
____________________________________________________
POST-TEST
The questions may contain general knowledge and discussed lesson. Write the letter
best choice on the blank before the number.
___ 1. This person created a machine called The Analytical Engine. His ideas were
some of the first that led to the creation of computers.
A. Simon Konrad
B. Charles Babbage
C. John Lovelace
D. William Howard
___ 2. This person created what is now known as the first computer program. The
program was made to help the Analytical Engine calculate numbers.
A. Charles Babbage
B. Konrad Apple
38
CpE 403-CAO Unit 1: Introduction to Generation of Computers
C. Ada Lovelace
D. William Zuse
___ 3. This person is often called the inventor of the modern computer. He actually
created the first fully electronic computer.
A. Konrad Zuse
B. Byron Lovelace
C. William Gates
D. Steve Jobs
___ 4. Steve Jobs and Steve Wozniak built their first computer using a wooden box.
Their company has grown and is still around today. The name of the company is
A. Microsoft
B. Linux
C. Apple
D. Windows
___ 5. This man is known for starting the company Microsoft back in the year 1975.
Since then, he has become one of the richest people in the world. His name is:
A. Steve Jobs
B. Bill Gates
C. Konrad Zuse
D. Charles Babbage
A. Steve Jobs
B. More than one person
C. Al Gore
D. William Shockley
7. The ______ is was the first mass produced mechanical calculator for its accuracy.
Apple.
a. abacus
b. Z1
c. arithmometer
8. Who was the world renowned French mathematician who devised what is thought
to be the first digital computer in 1642.
a. Isaac Newton
b. Blaise Pascal
39
CpE 403-CAO Unit 1: Introduction to Generation of Computers
c. John Napier
d. René Descartes
9. The next major step in the automated computer was the development of
something that was widely used for nearly a hundred years. What did Herman
Hollerith and James Power develop in 1890?
a. Ticker tape
b. Punched cards
c. Confetti
d. Papier mache
12. Which step of PDLC has something to do with reading the project specifications
& description?
a. the first step
b. the fifth step
c. Code
d. debug
13. Which step of PDLC has something to do with testing the code for errors?
14. What is the first step of the Program Development Life Cycle?
a. Design
b. Analyze
c. Code
d. Document
40
CpE 403-CAO Unit 1: Introduction to Generation of Computers
15. What is the third step of the Program Development Life Cycle?
a. Design
b. Analyze
c. Code
d. Document
e. Test and Debug
19. The main memory of a computer must be large enough to contain the active
parts of _____.
a. the operating system
b. the applications
c. input/output storage & working storage
d. all of the above
20. The name of the location of a particular piece of data is its _____.
a. address
b. memory name
c. storage site
41
CpE 403-CAO Unit 1: Introduction to Generation of Computers
d. data location
22. Allows the user to select items stored on a computer and, subsequently, perform
actions on those items.
a. keyboard
b. scanner
c. gamepad
d. mouse
FINAL REQUIREMENT
Make a compilation of the tackled lessons in PLD. The definition from this module or
program will not be credited to your work. The content is as follows:
1. Table of contents
For an example:
Variables- definition
OTHER PARTS
Glossary:
43
CpE 403-CAO Unit 1: Introduction to Generation of Computers
Software - are programs or collection of instructions that enables the user to interact
with the computer.
Operating System - program/software that supports basic functions
Hardware - Are tangible objects that are connected with each components to
process the system of computer.
CPU – it stands for central processing unit.
RAM – or the Random Access Memory is the hardware in a computing device where
the operating system (OS), application programs and data in current use are kept so
they can be quickly reached by the device's processor
Hard disk - non- volatile memory stored information even after shutdown
Motherboard - is the main circuit board of your computer and is also known as the
mainboard or logic board.
Input Devices – is any external hardware that sends data to the computer.
44
CpE 403-CAO Unit 1: Introduction to Generation of Computers
References:
https://www.it.iitb.ac.in/~vijaya/ssrvm/dokuwiki/media/cm7_l1_19spt.pdf
https://www.tutorialspoint.com/programming_methodologies/programming_methodol
ogies_program_maintenance.htmhttps://www.computerhope.com/jargon/s/software.
htm
https://www.goodcore.co.uk/blog/types-of-software/
45