ABE International College of Business and Economics Main Campus
ABE International College of Business and Economics Main Campus
Main Campus
Legarda, Manila
GE231A
Computer Fundamentals w/ MS Application
Compiled by:
Paolo H. Codon
Course Outline
PRELIM PERIOD
1. An Overview of the Computer System
1.1. The Parts of a Computer System
1.1.1. What is a Computer?
1.1.2. Hardware
1.1.3. Software
1.1.4. Data
1.1.5. Users
1.2. Looking Inside the Machine
1.2.1. Types of Hardware
1.2.2. The CPU
1.2.3. Memory
1.2.4. How Memory is measured
1.2.5. Input and Output Devices
1.2.6. Storage Devices
1.3. Classifications of Computers
1.4. Standard Methods of Input
1.5. Software: Bringing the Machine to Life
1.6. Computers in Society
2. Introduction to Microsoft Word
2.1. The parts of Microsoft Word Interface
MIDTERM PERIOD
PRE-FINAL PERIOD
1. Flowcharting
1.1. Introduction
1.2. Objectives
1.3. Meaning of A Flowchart
1.4. Guidelines for Drawing a Flowchart
1.5. Advantages of Using Flowcharts
1.6. Limitations of Using Flowcharts
2
1.7. Examples of Flowcharts
FINAL PERIOD
PRELIM PERIOD
1.1.2 Hardware
A computer's hardware consists of electronic devices; the parts you can see
and touch. The term "device" refers to any piece of hardware used by the
computer, such as a keyboard, monitor, modem, mouse, etc.
1.1.3 Software
• Software – also called programs – consists of organized
sets of instructions for controlling the computer.
3
1.1.4 Data
• Data consists of raw facts, which the computer can manipulate
and process into information that is useful to people.
• Computerized data is digital, meaning that it has been reduced
to digits, or numbers. The computer stores and reads all data as
numbers.
• Although computers use data in digital form, they convert data
into forms that people can understand, such as text, numerals, sounds,
and images.
1.1.5 Users
• People are the computer's operators, or users.
1.2.3. Memory
• Memory also consists of chips attached to the
motherboard.
4
• The smallest usable unit of measure for memory is the byte –
the amount of memory required to hold one character, like the letter A
or the numeral 2.
• A disk drive is a device that reads data from and writes data to a
disk. Most new computers feature a floppy disk drive, a hard disk drive,
and an optical disk drive.
1.3.Classification of Computers
Supercomputers
• Supercomputers are the most powerful computers. They are used for
problems requiring complex calculations
5
• Because of their size and expense, supercomputers are relatively rare.
Mainframe Computers
Minicomputers
Workstations
• Workstations are used for tasks that require a great deal of number-
crunching power, such as product design and computer animation.
6
Micro-computers or Personal Computers (PC)
• Notebook (laptop) computers are used by people who need the power
of a desktop system, but also portability.
7
1.4.STANDARD METHODS OF INPUT
The Keyboard
• The Standard Keyboard Layout
• Ergonomic Keyboards
• How a Keyboard Works
1. Alphanumeric keys
2. Numeric keypad
3. Function keys
4. Modifier keys
5. Cursor-movement keys
Ergonomic Keyboards
8
How a Keyboard Works
9
The Mouse
What is a Mouse?
Mouse Techniques
• Dragging; Hold down the left mouse button as you move the
pointer.
• Trackballs
• Trackpads
• Integrated Pointed Devices
Trackballs
10
Track pads
11
ALTERNATIVE METHODS
OF INPUT
• Pens
• Touch Screens
• Game Controllers
Pens
12
.The user can point, tap, draw and write on the computer’s screen with a pen
Touch Screens
• Touch-screen systems accept input directly through the
monitor.
13
Game Controller
• The reader emits light, which reflects off the bar code and into a
detector in the reader. The detector translates the code into numbers.
14
Bar code readers commonly track sales in retail stores
Image Scanners and OCR
• Image scanners digitize printed images for storage and
.manipulation in a computer
Document
being
scanned
Converts
diode signal
to numbers
15
To computer
Audio-Visual (Multimedia) Input Devices - 3
• Microphones and Speech Recognition
• Video Input
16
(Video Input (part of Audio-Visual (Multimedia) Input Devices
• PC video cameras digitize full-motion images.
• These cameras break images into pixels and store data about
each pixel.
• CRT Monitors
• Flat-Panel Monitors
• Comparing Monitors
• Video Controllers
• Flat-panel displays
And by the way they display colors:
• Monochrome – One color on a black background
- CRT Monitors
• In CRT monitors, electrons are fired at phosphor dots on
the screen.
• The dots are grouped into pixels, which glow when struck by
electrons.
17
• In color CRTs, each pixel contains a red, green, and blue dot.
These glow at varying intensities to produce color images.
- Flat-Panel Monitors
• Passive matrix LCD uses a transistor for each row and column
of pixels.
• Active matrix LCD uses a transistor for each pixel on the screen.
- Comparing Monitors
When comparing monitors, consider four features:
• Size
• Resolution
• Refresh rate
• Dot pitch
- Size
• A monitor's size is the diagonal measurement of its face, in
inches.
18
• For years, 15" monitors (13"viewing area) were standard.
- Resolution
• Resolution is the number of pixels on the screen,
expressed as a matrix (such as 600x800).
- Refresh Rate
• Refresh rate is the number of times each second that the
electron guns scan the screen's pixels.
19
Fast scanning = Quick refresh (less flicker)
- Dot Pitch
• Dot pitch is the distance between the phosphor dots that make
up a single pixel.
20
• The video controller determines many aspects of a monitor's
performance, such as resolution or the number of colors displayed.
Video Contro
with Monito
Sound Systems
22
Review
• List the two most commonly used types of computer monitors.
• System Software
• Application Software
What is Software?
• Software is a set of electronic instructions that tells the
computer how to do certain tasks. A set of instructions is often
called a program.
23
System Software
• System software exists primarily for the computer itself, to help
the computer perform specific functions.
• The OS tells the computer how to interact with the user and its
own devices.
- Applications
• Application software tells the computer how to accomplish tasks
the user requires, such as creating a document or editing a graphic
image.
• Some important kinds of application software are:
• Word processing programs- for creating text-based
documents such as newsletters or brochures.
• Spreadsheet software- for creating numeric-based
documents such as budgets or balance sheets.
• Database management software for building and
manipulating large sets of data.
• Presentation programs for creating and presenting
electronic slide shows.
• Graphics programs for designing illustrations or
manipulating movies, photographs or animation.
24
Computers in Society.1.6
• Computers at home
– Many homes have multiple computers
– Most homes have Internet
– Computers are used for
• Business
• Entertainment
• Communication
• Education
• Computers in education
– Computer literacy required at all levels
• Computers in small business
– Makes businesses more profitable
– Allows owners to manage
• Computers in industry
– Computers are used to design products
– Assembly lines are automated
• Computers in government
– Necessary to track data for population
• Police officers
• Tax calculation and collection
– Governments were the first computer users
• Computers in health care
– Revolutionized health care
– New treatments possible
– Scheduling of patients has improved
– Delivery of medicine is safer
Lesson 1 review
• List the four parts of a computer system.
25
List four specific types of application software.
MIDTERM PERIOD
26
• If a transistor is assigned a value of 1, it is on. If it has a value
of 0, it is off. A computer's transistors can be switched on and off
millions of times each second.
• The binary number system works the same way as the decimal
system, but has only two available symbols (0 and 1) rather than ten
(0, 1, 2, 3, 4, 5, 6, 7, 8, and 9).
27
First write 2 to the power of the numbers 0,1,2,3,...
23 22 21 20
8421
Now put the binary number underneath the other numbers and multiply the
top number by the number beneath it and put the answer underneath the
other 2 with + between each number and add the bottom row together to get
your final answer.
8421
1101
8+4+0+1 = 13
11012 -> 13
001 010
421 421
0+0+1 = 1; 0+2+0 = 2
First separate the binary number into groups of 4 digits. If the number at the
front has less than 4 digits then add 0s to the front of it.
0001 0111
Now use the numbers 8421 and multiply each time and add the results
together for each group to get the answer.
0001 0111
8421 8421
0+0+0+1 = 1; 0+4+2+1 = 7
Decimal
28
We count in what is called the decimal counting system. Decimal has 10 digits
which are 0,1,2,3,4,5,6,7,8,9. Decimal is also called base 10 because it has
10 digits. The reason why people started counting in decimal is because it has
10 digits and we have 10 fingers and people used to use their fingers for
counting.
5 -> binary2
First write a few 2s(because it's base 2) to the power of the numbers
0,1,2,3,...
23 22 21 20
8421
The highest number must be greater than the number you want to convert.
Now divide the number to be converted by the number starting on the left.
Write how many times the number divides into it underneath the number and
then write your remainder on top of the next number to be divided. You then
divide by the remainder each time after that.
5511
8421
0101
The bottom line of numbers is the binary number. Make sure to leave out all
leading 0s
5 -> 1012
This time we use 8 to the power of those numbers because we are working
with base 8.
12 -> octal8
82 81 80
12 12 4
64 8 1
014
12 -> 148
29
C. decimal -> hexadecimal16
Decimal to hexadecimal works in the same way except that you use 16 to the
power of those numbers since that is the base this time.
26 -> hexadecimal16
26 26 10
256 16 1
0 1 10
Before we write the answer we must change all numbers greater than 9 to
their hexadecimal equivalents.
1 10
1A
26 -> 1A16
Octal
Octal uses 8 digits which are 0,1,2,3,4,5,6,7 and is also called base 8. We use
a subscripted 8 to show that a number is octal:
2758
2 6
421 421
010 110
81 80
81
25
16+5 = 21
158 -> 21
30
C. octal8 -> hexadecimal16
2 7
421 421
010 111
0001 0111
8421 8421
0+0+0+1 = 1; 0+4+2+1 = 7
Hexadecimal
7F16
2 12
2 12
8421 8421
0010 1100
31
2C16 -> 1011002
161 160
16 1
1F
16+F = 16 + 15 = 31
1F16 -> 31
We do not convert directly from hexadecimal to octal but instead first convert
to binary and then to octal.
4 5
8421 8421
0100 0101
• With one byte, the computer can represent one of 256 different
symbols or characters.
How Computers Represent Data - Text Codes
32
• A text code is a system that uses binary numbers (1s and 0s) to
represent characters understood by humans (letters and numerals).
00110001 1
00110010 2
00110011 3
00110100 4
00110101 5
01000001 A
01000010 B
01000011 C
01000100 D
01000101 E
Figure - Examples from the ASCII Text Code
• Machine Cycles
• Types of RAM
33
How Computers Process Data –
Where Processing Occurs
• Processing takes place in the PC's central processing
unit (CPU).
The two main parts of a CPU are the control unit and the arithmetic logic unit
(ALU)
• The control unit directs the flow of data through the CPU,
and to and from other devices.
34
How Computers Process Data –
The Arithmetic Logic Unit
• The actual manipulation of data takes place in the ALU.
35
• By using a technique called pipelining, many CPUs
can process more than one instruction at a time.
36
Factors Affecting Processing Speed
• Registers
• RAM
• The Bus
• Cache Memory
• The size of the registers (also called word size) determines the
amount of data with which the computer can work at a one time.
• Today, most PCs have 32-bit registers, mean the CPU can
process four bytes of data at one time. Register sizes are rapidly
growing to 64 bits.
Factors Affecting Processing Speed – RAM
• The amount of RAM in a PC has a direct affect on the system's
speed.
37
Figure - More RAM = Better Performance!
38
• The faster a PC's clock runs, the more instructions the PC can
execute each second.
Factors Affecting Processing Speed –
The Bus
• A bus is a path between the components of a computer. Data
and instructions travel along these paths.
• The address bus runs only between the CPU and RAM, and
carries nothing but memory addresses for the CPU to use.
39
• The amount of cache memory has a tremendous impact on the
computer's speed.
40
• PCs feature a number of built-in ports, which are ready to accept
devices such as a printer, mouse, keyboard, phone line, microphone
and speakers, and others.
• If the PC does not have a port for an external device, you can
install an expansion board into one of the empty expansion slots.
• A board provides the correct port for the new device, and
connects the device to the CPU by way of the computer's
expansion bus.
Review
• List two reasons why computers use the binary number system.
• List the two main parts of the CPU and explain how they work
together.
• Explain the difference between RAM and ROM.
• Identify two RAM technologies used in PCs.
• List three hardware factors that affect processing speed.
• Identify four connections used to attach devices to a PC.
41
PRE-FINALS
1. Flowcharting
FLOWCHARTING
1.1 INTRODUCTION
1.2 OBJECTIVES
At the end of this lesson, you will be able to understand:
-the meaning of flowchart
-the basic parts of the flowchart such as flowchart symbols and the flow lines
connecting these symbols.
-the advantages and limitations of flowchart
42
Start or end of the program
Magnetic Tape
Magnetic Disk
Off-page connector
Flow line
43
Annotation
Display
or
Only one flow line should enter a decision symbol, but two or three flow lines,
one for each possible answer, should leave the decision symbol.
44
Write within standard symbols briefly. As necessary, you can use the
annotation symbol to describe data or computational steps more clearly.
45
Fig. 1 Sum of first 50 natural numbers
Fig 1 Flowchart for computing the sum of first 50 natural numbers.
Example 2
Draw a flowchart to find the largest of three numbers A,B, and C.
Answer: The required flowchart is shown in Fig 2.
46
Fig 2 Flowchart for finding out the largest of three numbers
Example 3
Draw a flowchart for computing factorial N (N!)
Where N! = 1 ´ 2 ´ 3 ´ …… N .
The required flowchart has been shown in fig 3
47
Answer:
ASSESSMENT 1:
Fill in the blank.
A program flowchart indicates the_________ to be per formed and the
__________ in which they occur.
A program flowchart is generally read from _____________ to
________________
Flowcharting symbols are connected together by means of
___________________
A decision symbol may be used in determining the ____________ or
___________ of two data items.
__________ are used to join remote portions of a flowchart
____________ connectors are used when a flowchart ends on one page and
begins again on other page
A ________ symbol in used at the beginning and end of a flowchart.
The flowchart is one of the best ways of ________ a program.
To construct a flowchart, one must adhere to prescribed symbols provided by
the __________ .
The programmed uses a ____________ to aid him in drawing flowchart
symbols.
Answers:
48
Operations, sequence
Top, down
Flow line
Equality, inequality
connectors
Off -page
Terminal
documenting
ANSI (American National Standards Institute)
Flowcharting template
ASSESSMENT 2:
1. Define Flowcharting.
2. TERMINAL QUESTIONS
Draw a flowchart to read a number N and print all its divisors.
Draw a flowchart for computing the sum of the digits of any given number
Draw a flowchart to find the sum of given N numbers.
Draw a flowchart to computer the sum of squares of integers from 1 to 50
Draw a flowchart to arrange the given data in an ascending order.
49