Lesson 7 PCO Processing-PRE FINALS

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Perform Computer Operations (PCO) Lesson 7

Perform Computer Operation


Trainer: Mr. Beeneil A. Quitola

Qualification Title: N/A NC Level: N/A Total Training Hours: 20


Name of TVI: Angelita V. Del Mundo Foundation (AVM Foundation) Inc.
Competency/ies to be Achieved and LEARNING OUTCOMES:
Learning Outcomes At the end of this module you MUST be able to:
1. Plan and prepare for task to be undertake
2. Input data into computer
3. Access information using computer
4. Produce/output data using computer system
5. Maintain computer equipment and systems

Learning Activities/ Tasks 1. Read Information Sheet


2. Answer Self-Check
3. Perform Task Sheet
Training Period / Training Duration Week 8
Training Method Blended Learning (Online & Modular - Print)
Method of Assessment Written test, Practical/ Performance Test & Interview
Learning/Training Resources CBLM
Learning Management System (LMS)

Lesson 7 Processing

Processing is the thinking that the computer does - the calculations, comparisons, and decisions. People also process data. What you see and hear and
touch and feel is input. Then you connect this new input with what you already know, look for how it all fits together, and come up with a reaction, your output. "That stove
is hot. I'll move my hand now!"

The kind of "thinking" that computers do is very different from what people do. Machines have to think the hard way. They do one thing at a time, one step at
a time. Complex procedures must be broken down into VERY simple steps. Then these steps can be repeated hundreds or thousands or millions of times. All possible
choices can be tried and a list kept of what worked and what didn't.

People, on the other hand, are better at recognizing patterns than they are at single facts and step-by-step procedures. For example, faces are very complex
structures. But you can identify hundreds and even thousands of different faces with just a glance.

A human can easily tell one face from another, even when the faces belong to strangers. You don't recognize Mom's face because you remember that Mom's
nose is 4 cm long, 2.5 cm wide, and has a freckle on the left side! You recognize the whole pattern of Mom's face. There are probably a lot of folks with noses the size
and shape of Mom's. But no one has her whole face.

But a computer must have a lot of specific facts about a face to recognize it. Teaching computers to pick Mom's face out of a crowd is one of the hardest
things scientists have tried to do yet with computers. But babies do it naturally!
So computers can't think in the same way that people do. But what they do, they do excellently well and very, very fast.

Digital Data

Modern computers are digital, that is, all info is stored as a string of zeros or ones - off or on.
All the thinking in the computer is done by manipulating these digits. The concept is simple, but working it all out gets complicated.

1 bit = one on or off position


1 byte = 8 bits

So 1 byte can be one of 256 possible combinations of 0 and 1. Numbers


written with just 0 and 1, are called binary numbers.

Each 1 is a power of 2 so that the digits in the figure represent the number:
= 2 7 + 0 + 2 5 + 0 + 2 3 + 2 2 + 0 +0

= 128 +0 +32 + 0 + 8 + 4 + 0 + 0

= 172
Every command and every input is converted into digital data, a string of 0's and 1's. For more information on binary numbers, see Base Arithmetic.

1
Perform Computer Operations (PCO) Lesson 7

Digital Codes
All letters, numbers, and symbols are assigned code values of 1's and 0's. A number of different digital coding schemes are used by digital devices.

Three common code sets are:

ASCII (used in UNIX and DOS/Windows-based computers)


EBCDIC (for IBM System 390 main frames)
Unicode (for Windows NT and recent browsers)

The ASCII code set uses 7 bits per character, allowing 128 different characters. This is enough for the English alphabet in upper case and lower case, the symbols on a regular
English typewriter, and some combinations reserved for internal use.

An extended ASCII code set uses 8 bits per character, which adds another 128 possible characters. This larger code set allows for foreign languages symbols like letters with
accents and several graphical symbols.

ASCII has been superseded by other coding schemes in modern computing. But it is still used for transferring plain text data between different programs or computers that use
different coding schemes.

Unicode uses 16 bits per character, so it takes twice the storage space that ASCII coding, for example, would take for the same characters. But Unicode can handle many
more characters. The goal of Unicode is to represent every element used in every script for writing every language on the planet. Whew! Quite a task!

Version 5 of Unicode has codes for over 107,000 characters instead of the wimpy few hundred for ASCII and EBCDIC. Ninety different scripts can be displayed with Unicode (if
your computer has the font needed), including special punctuation and symbols for math and geometry. (Some languages have more than one script like Japanese,
which uses three scripts: Kanji, Hiragana, and Katakana.) English and the European languages like Spanish, French, and German use the Latin script. Cyrillic is used
several languages including Russian, Bulgarian, and Serbian.

View the charts for scripts you never heard of.

2
Perform Computer Operations (PCO) Lesson 7

Parity
With all these 0's and 1's, it would be easy for the computer to make a mistake! Parity is a clever way to check for errors that might occur during processing.

In an even parity system an extra bit (making a total of 9 bits) is assigned to be on or off so as to make the number of on bits even. So in our example above 10101100
there are 4 on bits (the four 1's). So the 9th bit, the parity bit, will be 0 since we already have an even number of on bits.

In an odd parity system the number of on bits would have to be odd. For our example number 10101100, there are 4 on bits (the 1's), so the parity bit is set to on, that is 1, to
make a total of 5 on bits, an odd number.

If the number of on bits is wrong, an error has occurred. You won't know which digit or digits are wrong, but the computer will at least know that a mistake occurred.

Memory chips that store your data can be parity chips or non-parity chips. Mixing them together can cause odd failures that are hard to track down.

CPU
• The CPU, or Central Processing Unit, is the part of the computer where work gets done. In most computers, there is one processing chip.
• Main Memory stores the commands that the CPU executes and the results.

Click on each of the different areas of the diagram. You'll be moved to the description below of that area. Use the Return to Top arrow to come back to the diagram of the
System Unit to check out another area.

ALU

Stands for Arithmetic/Logic Unit

This is the part that executes the computer's commands.


A command must be either a basic arithmetic operation:
+ - * / or one of the logical comparisons:
> < = not =.

Everything else has to be broken down into these few operations. Only one operation is done in each Machine Cycle.

3
Perform Computer Operations (PCO) Lesson 7

The ALU can only do one thing at a time but can work very, very fast.

Control Unit
This is the part of the computer that controls the Machine Cycle. It takes numerous cycles to do even a simple addition of two numbers.

The Machine Cycle Fetch - get an instruction from Main Memory


Decode - translate it into computer commands
Execute - actually process the command
Store - write the result to Main Memory

CPU
Stands for Central Processing Unit
• This is the part of the computer that does the "thinking."

Operating System
• This is the instructions that the computer uses to tell itself how it "operates". It's the answer to "Who am I and what can I do?"
• Some common operating systems are DOS, various versions of Windows, OS/2, UNIX, LINUX, System 7. These all behave in very different ways and have different
hardware requirements. So they won't all run on all machines.
• Only the parts of the operating system that are currently being used will be loaded into Main Memory.

Main Memory
• This is where the computer stores the data and commands that are currently being used.
• When the computer is turned off, all data in Main Memory vanishes. A data storage method of this type is called volatile since the data "evaporates." Note on
the left the various kinds of data that are stored.
• The CPU can fetch one piece of data in one machine cycle.

Applications
• These are the various programs that are currently running on the computer.
• By taking turns with the Machine Cycle, modern computers can have several different programs running at once. This is called multi-tasking.
• Each open application has to have some data stored in Main Memory, even if the application is on rest break and is just sitting there. Some programs (graphics programs
are notorious for this) require a lot of the Main Memory space, and may not give it up even if they are shut down! Rather rude, actually!!

Input/Output Storage
• When you enter new data, the keystrokes must be stored until the computer can do something with the new data.
• When you want data printed out or displayed, it must be stored somewhere handy first.

Unused Storage
• One hopes that there is always some storage space that is not in use.
• If space runs out in Main Memory, the computer will crash, that is, stop working.
• There are programs that sense when space is getting short and warn the user. The user could
then close some of the open applications to free up more space in Main Memory. Sometimes the warning is too late to prevent the crash. Remember that all the data in Main
Memory vanishes when the power goes off. Thus a crash can mean a lot of lost work.

Working Storage
• The numbers and characters that are the intermediate results of computer operations must be stored until the final values are calculated. These values "in progress" are
kept in temporary locations.
• For example, if the computer is adding up the numbers 3, 5, and 6, it would first add 3 to 5 which yields a value of 8. The 8 is stored in working storage. Then the 8 and 6
are added and the new value 14 is stored. The value of 14 is now available to be displayed on the screen or to be printed or to be used in another calculation.

4
Perform Computer Operations (PCO) Lesson 7

Machine Cycle
The computer can only do one thing at a time. Each action must be broken down into the most basic steps. One round of steps from getting an instruction back to getting
the next instruction is called the Machine Cycle.

The Machine Cycle


Fetch - get an instruction from Main Memory
Decode - translate it into computer commands
Execute - actually process the command
Store - write the result to Main Memory

For example, to add the numbers 5 and 6 and show the answer on the screen requires the following steps:
1. Fetch instruction: "Get number at address 123456"
2. Decode instruction.
3. Execute: ALU finds the number. (which happens to be 5)
4. Store: The number 5 is stored in a temporary spot in Main Memory.
5 - 8 Repeat steps for another number (= 6) 9. Fetch instruction: "Add those two numbers"

10. Decode instruction.


11. Execute: ALU adds the numbers.
12. Store: The answer is stored in a temporary spot.
13. Fetch instruction: "Display answer on screen."
14. Decode instruction.
15. Execute: Display answer on screen.

Speed
The immense speed of the computer enables it to do millions of such steps in a second. In fact, MIPS, standing for millions of instructions per second, is one way to
measure computer speeds.

Memory Address
We need a method of naming the places where Main Memory stores data.
Each location needs a unique name, just like houses in a town need a unique street address.

Rather than a street name and house number, memory addresses are just numbers.
A memory address holds 1 byte of data where
1 bit = 0 or 1, on or off
1 byte = 8 bits
1 kilobyte (K or KB) = 1024 bytes
1 megabyte (MB) = 1024 kilobytes

You might wonder why 1024 instead of 1000 bytes per kilobyte. That is because computers don't count by tens like people. Computers count by twos and powers of 2. 1024 is
2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2, that is 2 times itself ten times. It's a rather convenient size number (for computers!).

Processor Speed
• We all are impatient and want our computer to work as fast as possible, and certainly faster than the guy's at the next desk!
• Many different factors determine how fast your computer gets things done. Processor speed is one factor. But what determines the processor's speed?

5
Perform Computer Operations (PCO) Lesson 7

Processor Speed affected by:


System clock rate = rate of an electronic pulse used to synchronize processing
(Only one action can take place between pulses.)
Measured in megahertz (MHz) where 1 MHz = 1 million cycles per second or gigahertz (GHz) where 1 GHz = 1 billion cycles per second.
This is what they are talking about if they say a computer is a 2.4 GHz machine.
It's clock rate is 2.4 billion cycles per second.
Bigger number = faster processing

Bus width = the amount of data the CPU can transmit at a time to main memory and to input and output
devices.
(Any path bits travel is a bus.)
An 8-bit bus moves 8 bits of data at a time.
Bus width can be 8, 16, 32, 64, or 128 so far.
Think of it as "How many passengers (bits) can fit on the bus at once to go from one part of the computer to another."
Bigger number = faster transfer of data

Word size = a word is the amount of data the CPU can process at one time.
An 8-bit processor can manipulate 8 bits at a time.
Processors can be 8-, 16-, 32-, or 64-bit so far.
Bigger the number = faster processing

Physical Components
There are several physical components of a computer that are directly involved in processing. The processor chip itself, the memory devices, and the motherboard are the
main ones.

Microprocessor- a single silicon chip containing CPU, ALU, and some memory.

The ROM (Read Only Memory) contains the minimum instructions that the computer needs to get started, called booting. What a user does on the computer cannot change
what is stored in ROM.

There may also be another chip dedicated to calculations.

The microprocessor chip is located on a large circuit board called the main board or motherboard.
The physical size of a computer chip is very small, as the ant below illustrates.

Processor speed is measured in Megahertz (MHz) or Gigahertz (GHz).

Memory Devices:
Vacuum tube - oldest type. Didn't hold up long and generated a lot of heat.
small metal rings. Magnets tip a ring to left or right, which represents on and off. Relatively slow.
Semiconductor - integrated circuit on a chip. This is what modern computers use for memory. Pictured below is a 72-pin SIMM.

Memory Speed
RAM (Random Access Memory) is what the computer uses as Main Memory. Memory speed measures the time it takes to move data in or out of memory. It is measured
differently for different kinds of memory chips:

6
Perform Computer Operations (PCO) Lesson 7

• in nanoseconds (ns ) (smaller is faster) for EDO and FPM 1 ns = 1 billionth of a second.
• in megahertz (MHz) (higher is faster) for SDR SDRAM, DDR, SDRAM, and RDRAM. The capacity of a memory chip is measured
in megabytes or gigabytes. For example, 256 MB of RAM is required to run WindowsXP and 512MB is much better. For Windows 7 the
requirements are 1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit).
Several such memory boards can be installed in the computer to increase the amount of RAM available. Motherboards have only so many slots for memory so there are limits.
Some motherboards require that all slots be filled and that all slots contain the same size memory board. It can get frustrating as there are no warning labels about this!

Motherboard
Here we see a diagram and a photo of a motherboard (or main circuit board).
This one is suitable for a Pentium CPU. Nothing has been plugged in or attached yet.

Click on a part of the diagram or on the photo and you'll be moved to the description of that part. Use the Return arrow to return to the diagram to check another
part.

Connectors
Here is where cables connect to the motherboard for things like hard drives, floppy drives, and CD-ROM drives.

ISA slots
This board has 3 slots for the older ISA/VESA boards for things like video cards, sound cards, internal modems, etc.

Keyboard plug
This is where the keyboard attaches, thru the back of the computer.

Memory slots
There are 4 short slots for SIMM memory.
This board has two long slots for a new kind of memory called DIMM DRAM.
This board can handle a maximum of 256 MB of memory.
From the manufacturer's description:
Two 168 pin DIMM DRAM slots (8/16/32/64 MB module)
Four 72 pin SIMM memory slots (4/8/16/32/64 MB module)
Supports maximum 256 MB with Fast Page/EDO/SDRAM DRAM
That's pretty scary stuff. Just keep such information handy for when someone who understands these things asks you about them.

PCI slots
This board has 4 slots for the newer PCI boards for peripherals like video cards, sound cards, internal modems, etc.

Power Connections
This is where the power supply connects to the motherboard.

Processor socket
What is visible here is the place where the processor plugs into the motherboard. When the processor is installed, you still can't see it because on top of it is a heat sink and
fan to keep the processor cool. Hot processors make mistakes or even melt important parts on the chip.
Different processors are different sizes. So the socket on the motherboard has to match the processor. Also, the circuits in the motherboard itself must be different for different
processors.

DO NOT RETURN THIS MODULE.


KEEP IT AS NOTES FOR FUTURE TOPICS & ASSESSMENTS.

7
Perform Computer Operations (PCO) Lesson 7

Lesson 7 Processing Assessment

Name: Date:
Section: Score:

IDENTIFICATION: Identify the word/term that is defined or described by the following statements/examples. (10 Points)

1. ____________________, All letters, numbers, and symbols are assigned code values of 1's and 0's. A number of different digital coding
schemes are used by digital devices.
2. ____________________, Modern computers are digital, that is, all info is stored as a string of zeros or ones - off or on.
3. ____________________, One hopes that there is always some storage space that is not in use.
4. ____________________, The numbers and characters that are the intermediate results of computer operations must be stored until the
final values are calculated. These values "in progress" are kept in temporary locations.
5. ____________________, These are the various programs that are currently running on the computer.
6. ____________________, This is the instructions that the computer uses to tell itself how it “operates". It's the answer to "Who am I and
what can I do?"
7. ____________________, This is the part of the computer that controls the Machine Cycle.
8. ____________________, This is the part that executes the computer's commands and be either a basic arithmetic or one of the logical
comparisons operation.
9. ____________________, This is where the computer stores the data and commands that are currently being used.
10. ____________________, When you enter new data, the keystrokes must be stored until the computer can do something with the new
data and when you want data printed out or displayed, it must be stored somewhere handy first.

ESSAY: Discuss briefly and give or enumerate examples. (10 Points).


 What is a The Machine Cycle?

PLEASE RETURN THIS ACTIVITY SHEET TO YOUR TEACHER


FOR CHECKING AND RECORDING PURPOSES.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy