Computer Basics

Link to Processing 4 - Processing: Machine Cycle 

Link to Home - Jan's Illustrated Computer Literacy 101


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

machine cycle gif

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.


Where you are:
JegsWorks > Lessons > Computer Basics


  1. Computer TypesArrow: Subtopics
  2. ApplicationsArrow: Subtopics   
  3. InputArrow: Subtopics
Link to Processing 4. Processing Arrow: Subtopics list open 
    Intro
    Digital Data
    CPU:
          framed
          no frames
    Machine Cycle
    Memory Addresses
    Processor Speed
    Physical Components
    Motherboard:
          framed
          no frames
    Quiz
  5. OutputArrow: Subtopics
  6. StorageArrow: Subtopics
  7. Computer to ComputerArrow: Subtopics
  8. System SoftwareArrow: Subtopics
  9. ProgrammingArrow: Subtopics

  10. What You SeeArrow: Subtopics
  11. Hands On!Arrow: Subtopics
  12. On Your OwnArrow: Subtopics

Search

Glossary

Appendix

ALU Control Unit Main Memory

Lessons Computer Basics Previous Page Next Page


Teachers: Request permission to use this site with your class

Copyright © 1997-2008 Jan Smith   <jegs1@jegsworks.com>
All Rights Reserved

Icon: DownloadIcon: CDDownload lessons
Want to help?


~~  1 Cor. 10:31 ...whatever you do, do it all for the glory of God.  ~~


Last updated: 22 Jan 2008