Saturday, March 30, 2019
The Fetch Execute Cycle Computer Science Essay
The Fetch Execute troll info processing governance Science EssayWithin this plow ab bring out Com amazeer Hardwargon, the report bequeath cover the chief(prenominal)(prenominal) concepts of com go cumulusing device hardw ar. Within this report there will be in tot upation about the main concepts of a computing device dust also. These main concepts will include Processors, reposition (Primary and Secondary), comment and proceeds devices to a lower place the user types and net on the job(p), and stand-in elements that will help the boilersuit performance of a computing machine.Processors be parts of the calculating machine that heart and read/write head of e re completelyy calculating machine, as it eitherows the processing of selective tuition in the computer system as well as the completelyowing instructions to be gillyflowerd onto remembrance. The processor communicates with all the comp adeptnts of the computer. It aboutly helps with the hardw ar, depot, and RAM of the computer or lap circus tent telephone ex transpose processing unitThe mainframe computer or central Processing unit is the about important and without the central processing unit the system would non be about to process whatever(prenominal)thing. The Primary economic consumption of the CPU is when instructions for the computer atomic number 18 created. Instructions are interpreted to decode a heel of selective information types from weapons platforms. The CPU has to implement 4 basic functions during the fetch fare cycle these are Fetch, Decode, Execute and investment firm (Hubapges, 2012).Fetch-execute cycleThe Fetch-execute cycle is the sequence that the CPU gets an instruction from a true program holding board, decodes the incoming message and carries out that certain request. (Rob Williams, (2006) p52-54). Each of the instructions has an address, and the processor takes the address from nearthing called the program counter. The program coun ter is in rush for tracking what instructions the CPU should execute. In basic teams instructions from shop world tracked (Hub pageboys (2012).The Following are the stages from inside a Fetch-execute rhythmDecodeOnce the CPU fetches the instructions, decodes the instruction, and then strips it plenty so that it raise be easily executed (Complete PC Pedia. 2010). However some CPUs determine different types of instructions. For Example Assembly codes must be decoded into binary instructions. (Hubpages, 2012). functioning -After the decoding has been executed, memory is needed for entropy to be performed. For example a command to print is given when the counterbalance instruction has reached the CPU.Store later on the execution, the CPU writes the results onto the main memory or on a register. The CPU must then give some feedback after execution. Then production info is writ ten-spot to the memory.Made in a presentation owned by De Montfort University, copyright them.To th e right is a diagram that shows the basic stages of the fetch-execute cycle Shane Preece. (2008)RegistersWhe neer the processors execute instructions, data is temporarily shop classd in local memory locations of 8-64 touchs called registers. The type processor the form owns depends on the boilersuit number of registers which foot vary from ten to many hundreds and even thousands. There are many types of registers but the main ones are listed below.Accumulator register which instals arithmetic operations, as well as logical oneStatus register assumes system status indicators such(prenominal) as overflowInstruction register contains the legitimate instruction organism processedOrdinal counter contains addresses of the next instruction (Kioskea.net. (N/A))Examples of other ProcessorsMicroprocessorA microprocessor is a circuit that has been integrated on a tiny atomic number 14 chip that contains millions of tiny switches on/out, known as transistors. These are position along m icroscopic lines that store or manipulate data. These circuits copy data in patterns, and these patterns that brush aside be programmed by software to help the mechanism do many useful tasks. (Belarus network. (2009).) art processing unit (GPU)The Graphics Processing Unit is somewhat like the CPU (Central Processing Unit). GPU is a single-chip processor. While the CPU acts like the head of the system, the GPU is primarily employ for the compute 3D functions. For example lighting effects, object transformations, and 3D motion. (TechTerms.com. (2012))MemoryMemory is disordered into two parts. Primary and SecondaryPrimary memory is one of the most important parts of a computer. The processors inside the computer stores and retrieves information from the memory and is accessed by the CPU in a random influence making RAM or random access memory. So any location of this memory thunder mug be accessed by the CPU to store or read.Random Access Memory, or RAM, is the most common under the major types of Semiconductor memory. RAM has the ability to both read data from memory and also is able to write new data into memory really easy and incredibly fast. Both reading and writing is make via electrical signals. However RAM is classed a volatile. This is when the memory is deleted when there is no office resulting in the loss of data. Leading to RAM use lonesome(prenominal) as temporary storage. RAM also has two different types being DRAM and SRAM. (William Stallings (2006). 148-149.)DRAM or Dynamic memory is made with cells that hold data as charge on capacitors. The showing of charge in is the binary code of 1 or 0 when present or absent. DRAM is used in main memory. (William Stallings (2006). 148-149.)SRAM or static random access memory is made up of 1000s of flip-flop circuits. While SRAM is the oft periods fastest between the two, it is the most expensive of read-write memory. The SRAM is the fastest on-chip cache memory. too compared to DRAM, it is low t ycoon consuming and is brilliant for battery-powered portable machines. SRAM is used in cache memory. (Rob Williams (2006). p121.)ROMRead only memory contains patterns of data that cannot be edited or changed. ROM is classed as non-volatile, meaning no power supply is needed in erect to maintain the bit values in the memory. ROM is what it is, read only, cannot be changed or rewritten. unitary of the best things about ROM is that all the data or program is always located in the main memory and it will never be needed to be loaded into some form of secondary coil storage device. (William Stallings (2006). 148-149.)Cache MemoryCache Memory lies between main memory and CPU. The Cache memory is random access memory that the computers microprocessor can access more(prenominal) quickly than its RAM. When the microprocessor processes data, firstly it takes a look in thecachememory and if it finds the data there. (Kioskea.net. (N/A)).Cache memory is local memory that causes waiting mult iplication for information stored in the RAM (Random Access Memory). This overall effects the animate performance of the computers main memory making it lazy than that of the processor, but at the same time are certain types of memory is faster, but has greatly increase costs. Cache memory is some measure put into takes of closeness or accessibility to the microprocessor. An example of a cache level is L1 cache this is on the same chip as the microprocessor, or L2 is commonly a separate static RAM (SRAM) chip. The main RAM is commonly a dynamic RAM (DRAM) chip. (SearchStorage (2000)).Cache also reduces the latency time of memory when rapturering information. When the processor is in operation, L1 cache can interface with L2 controllers to transfer information Also the L2 cache interfaces with the RAM (level three caches) to allow transfers. (Kioskea.net. (N/A)).virtual(prenominal) MemoryVirtual memory today is now real common, as virtual memory can be located in all types com puters and operating(a) systems. Virtual memory can even be constitute in the smallest microprocessor to the braggyst supercomputer. However Virtual Memory is not real, physical memory, as it is a type of storage space so large that programmers do not need to edit the programs or documents in way rule or form. Whenever the content of a program is loaded the metre of a local memory is changed. (Peter J.Denning. (1996). p213-216.)Secondary memorySecondary is the slowest and cheapest form of memory that money can buy. It stores the data permanently unless it is erased however itt cannot be processed directly by the CPU so it must be manually copied from primary storage. Secondary Memory can include types such as magnetic criminal records, optical disks and sometimes magnetic tapes. WikiAnswers. (2012). magnetised disksMagnetic disks are data that is encoded on disks. This enables the user the ability to store information on a magnetic disk as many times as you want as well as eras e it. Examples are Hard Drives and Floppy DisksFirst is the floppy disk One of the first types of secondary memory, floppy disks consists of a typical 5-inch floppy disk that can hold 360Kb or 1.2MB. However 3-inches normally store 720Kb, 1.2MB or 1.44MB of data. Webopedia. (2012).The Hard disk is the most common secondary data as they are used in almost every computer system as they provide A LOT of data for the operating system, files, music and games that you want to store on the machine. Hard disks can store from 20MB to more than 200GB. Hard disks are also 10 to 100 times faster than floppy disks. Webopedia. (2012).Removable cartridge hard disks en themed in a alloy or plastic cartridge, so you can stumble them just like a floppy disk. Removable cartridges are very fast, though usually not as fast as refractory hard disks.Optical disksOptical disks record data by burn down microscopic holes in the surface of the disk with a laser. To read the disk, other laser beam shines on the disk and mentions the holes by changes in the chiding pattern. Webopedia. (2012).CD-ROM Most optical disks are read-only. When you purchase them, they are already filled with data. You can read the data from a CD-ROM, but you cannot modify, delete, or write new data. Webopedia. (2012). stimulant and Output elementsThe input and getup devices are another important part for a computer system. Devices you use will depend on what kind of data needs to be inputted onto the machine then a production will be produced of the results. This certain output can be dis piddle awayed via a computer screen, printed page, and even the audio.Input and output elements can be either for the user or network.Below are some of the main input elements for the userKeyboardA keyboard is one of the most common parts of a computer system that is used to inscribe text edition into the computer and display it to the screen. The keyboard can also be used to type commands, such as an on-screen menu using a reversal. improver most keyboards these days are not just used for typewriting text, but also most now pay off numeric keypad, edit keys and a row of function keys along the top. UNM-LA. (2004).MouseA mouse is by far the most common pointing input device for computers. With the working mechanics of a ball on its underside that rolls on a flat surface causes the pointer on the screen to move. The mouse allows you to reposition the pointer on the screen that shows where the next interaction with the computer can take place. The cursor can also be moved by pressing different keyboard keys. N/A. (N/A).ScannersScanners are special devices that copy images from a hardcopy source and then copys it to the screen making a digital copy. It workings by the image being converted to numerically and sent to the computer for very likeness weather it is light or dark. Scanners normally survey graphic pages however they can be used to scan text pages using the OCR or Optical Characte r Recognition. UNM-LA. (2004).Types of ScreensCathode ray tube or CRT monitors display text and graphics are some of the most common used today. Another type of screen flat table display usually uses an LCD (Liquid Crystal Display) screen to display output from the computer. A flat display often seen on watches and calculators. LCD screens are used on laptop computers. Some LCDs are monochrome, but colour screens are popular. Some laptop screens are nearing CRTs in resolution quality. N/A. (N/A).TrackballTrackballs are like a mouse variation that is used to play video games. The trackball is basically an upside-down mouse-you roll the ball directly with your hand. N/A. (N/A)Below are some of the main output elements for the userPrinters instantly the most common printer would have to be ink resinous printer as they produce for hardcopy output. These printers print a on the page by spraying ink to the page. However these printers need a hook of ink. Also a common printer is laser printers. These printers produce some of the best kind of image quality. NM-LA. (2004).SpeakersComputers Speakers produce output via sound also, from very basic beeps, to some of the best sounds via game sound effects or music. Basic sounds may be on the motherboard, but high quality audio are from speakers that output from a PC which can be inserted to in a expansion slot,. UNM-LA. (2004).Networking inputs and outputsModemsModems use data communions via a dial-up or broadband connection that allows computers to exchange data. The normal telephone modem offers confabulation rates from 300-56000bps. For a modem, it contains two different types of translators.The first is the Modulator which transmits digital signals out down the phone line in analogue form. While the sensing element receives analogue signals from the phone line and converts them back into digital form. Rob Williams (2006)HubA hub is one of the most basic networking devices, which can connect ma number of compute rs or network devices together. Unlike a network router, network hubs have no routing tables where they can send information and broadcasts. Most hubs can detect basic network problems such as collisions, however if there is threefold ports being used, the risk of security risks can increase. With hubs, they serve as central connection points for local area networks (LANs). Also there are not just box hubs, but USB ones as well. Computer Hope. (2012) jump ElementsSupport elements for a computer are to help the computer system. This can be classed as performance aiding such as increasing the computers performance, elements such as making the computer not suffer from a system visitation due to heat up and even elements that help financial support the whole computer by keeping it protected or helping it work.1. The use of support elements below are elements that transfer information between componentsBusesA system bus is a special set of physical connections such as descents, whic h are shared by multiple hardware components in order to communicate with each otherThe purpose of system buses is to reduce the number of pathways that are needed for communication between computers components, by carrying out all communications over a single data channel.Below is a diagram of a bus and it shows how a simple bus change can be put into place to make the flow of data simple and not complex., compared to the one on the left. . (Kioskea.net. (n/a))schematic diagram of a busA system bus is sorted by the amount of information that is transmitted, which is shown in bits. For example a 32-wire ribbon cable can transmit 32 bits in parallel. While the speed of the bus speed is called frequency and shown as Hertz which is the number of data packets sent or received per second. This is known as a cycle. (Kioskea.net. (n/a))System Buses are split up into three distinct groups. They are Data, Address and Control.Data buses are normally 32 bits wide but can be increased to bits o f 64Address buses are 32 bits but will occupy more space soonControl bus- about 15 lines responsible for(p) for starting and stopping activities (Rob Williams( 2006)(p56-59)Fiber CableFiber optic cable are cables that are made of a very clear glass over tube that transmits light to and from a system. Light will travel down the tube in a straight line. The light jumps off of the mirrors in the wire and is directed back into the fiber optic core to endure its journey along the cable. Michelle Miley. (1999).The next type of support elements are to put power in and take excess power outThe power supply is hands down the most vital part of any computer system. The power supply converts the AC or alternating current from your home to the direct current or DC.In a PC or personal computer, the power supply is a large metal box usually found in a corner of the case with or next to the fans. The power supply is visible from the back as it contains the power-cord receptacle and the cooling fan. Gary Brown. (1998).FansOne of the main components in a compute is a fan. An example of this can be found in the CPU as there is a CPU fan. Fans are one of the most impelling ways to cool down the computers processor and protect the computer from overheating and damaging the system. The CPU fan actively cools the processor by rescue in cooler air. Also cooling fans are available in a many of sizes. The CPUs cooling fans are attached directly to the top of the CPU, and works together with an aluminium heat inhume fan. They cool down the CPU and reduce the amount of hot air from circulating around in the computer case.Heat sinkAn aluminium heat sink fan is a cooling device that draws heat away from the computers components into its large surface area to transfer cooler. This cooling device works at the same time as everything else in the computer. NMB. (2010).The next types are support elements to hold and support the componentsThe CaseThe computer case can be the aluminum, st eel and/or plastic shell that protects all of the computers components. Computer Cases are built to support a certain sets of hardware, in other oral communication not all motherboards, optical drives or other hardware may be compatible with a particular computer case as the size maybe incompatible. Some computer cases come with power supplies or other essential hardware preinstalled.MotherboardA motherboard holds all the main elements of the computer or laptop together. Located on the motherboard, the CPU must be matched a slot in the motherboard so that it may fit into the motherboards sockets. The Motherboard allows the communication of electrical signals to pass through the computer. Without it the computer would be nothing more than an empty shell.ConclusionIn conclusion, this report has cover the main attributes of computer hardware being the processor, memory, Input and output elements and support elements. The processor is the brain of the computer and the CPU or central pr ocessing unit is the main type of processor in front of the microprocessor and the CPU uses the fetch-execute cycle.While memory covered primary and secondary. Primary being main memory accessed by the CPU and examples are RAM, ROM, Registers and cache. Secondary is stored information, and examples are Optical and Magnetic. While Input/output elements include Keyboards, mouses, screens, printers (user) and Modems and HUBs (network). Also support elements are system buses, cables, power supplies, cases and motherboards that help the performance of the machine.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.