CPU Control Unit Main memory ALU INPUTINPUT OUTPUTOUTPUT ฯ OS Compiler OS   Compiler.

Slides:



Advertisements
Similar presentations
Computer Systems Nat 4/5 Computing Science Computer Structure:
Advertisements

The CPU The Central Presentation Unit What is the CPU?
CENTRAL PROCESSING UNIT
1 Hardware - devices for Input. 2 Hardware - devices for Input Processing.
Room: E-3-31 Phone: Dr Masri Ayob TK 2123 COMPUTER ORGANISATION & ARCHITECTURE Lecture 5: CPU and Memory.
Computer Systems. Computer System Components Computer Networks.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
1 System Software “Background software”, manages the computer’s internal resources.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
Introduction to computer: executes instructions. Overview Topics discussed in this webnote: –Structure and operation of the CPU –Program flow –Types of.
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
Processing Devices.
Computer Structure.
BLOCK DIAGRAM OF COMPUTER
Chapter 3 Computer Hard ware
Unit - 1 Basic Computer Architecture P. Sugin Benzigar.
Introduction to the Computer System. What is a computer ? A computer is an electronic device that can accept data and instruction, process them or store.
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
How computers work The CPU & Memory. The parts of a computer.
Stages of Processing.  When a computer is given instructions, a series of tasks must take place in order for a result to be accomplished  To accomplish.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
The Central Processing Unit (CPU) and the Machine Cycle.
Computer Organization - 1. INPUT PROCESS OUTPUT List different input devices Compare the use of voice recognition as opposed to the entry of data via.
Introduction to Computer and Programing Thanachat Thanomkulabut.
Computer Architecture
Chapter 5 Computing Components. 5-2 Chapter Goals List the components and their function in a von Neumann machine Describe the fetch-decode-execute cycle.
General Concepts of Computer Organization Overview of Microcomputer.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Structure & Architecture 7b - CPU & Buses.
The life time of local variables (in a method). Local variables Local variable: A local variable is used to store information that is relevant for the.
Computer Studies/ICT SS2
4ºESO/4 T H ESO Juan Antonio Pérez 1. A central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions.
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
1 Central Processing Unit (CPU) Consists of complex set of electronic circuitry Executes stored program instructions Three components –Registers –Control.
Introduction to ComputersS1.1.1 Bina © 1998 Liran & Ofir Programming in C.
System Unit Working of CPU. The CPU CPU The CPU CPU stands for central processing unit. it is brain of computer It is most important component of the.
Central Processing Unit Part I Bayram Güzer. Central Processing Unit Central processing unit is a control center that converts data input to information.
TOPIC: CENTRAL PROCESSING UNIT PRESENTED BY: MS. AMBER AMAR.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
Overview von Neumann Architecture Computer component Computer function
HOW COMPUTERS WORK THE CPU & MEMORY. THE PARTS OF A COMPUTER.
Chapter 2.
M211 – Central Processing Unit
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Chapter 02 (Part II) Introduction to C++ Programming.
Computer Operation. Binary Codes CPU operates in binary codes Representation of values in binary codes Instructions to CPU in binary codes Addresses in.
Unit 3 - Computer Systems. Logical vs Physical A computer system can be represented in either a logical or physical form Both are useful in understanding.
1 Chapter 1 Basic Structures Of Computers. Computer : Introduction A computer is an electronic machine,devised for performing calculations and controlling.
The Processor The Main Components Arithmetic/Logic Unit (ALU) Control Unit System Clock Registers.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Block Diagram of Computer and Explain its Various Components A computer can process data, pictures, sound and graphics. They can solve highly complicated.
Computing Science Computer Structure: Lesson 1: Processor Structure
Edexcel GCSE Computer Science Topic 15 - The Processor (CPU)
The Central Processing Unit
Chapter 2 – Computer hardware
CPU & its Components CPU stands for central Processing Unit
Computer Organization
CENTRAL PROCESSING UNIT CPU (microprocessor)
The Processor and Machine Language
Functional Units.
Central Processing Unit
Logical Computer System
GCSE OCR 1 The CPU Computer Science J276 Unit 1
Basic Computer Organization
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Information Representation: Machine Instructions
Objectives Describe common CPU components and their function: ALU Arithmetic Logic Unit), CU (Control Unit), Cache Explain the function of the CPU as.
Presentation transcript:

CPU Control Unit Main memory ALU INPUTINPUT OUTPUTOUTPUT ฯ OS Compiler OS   Compiler

CPU Control Unit Main memory ALU INPUTINPUT OUTPUTOUTPUT OS Compiler Program  Binary Program  Data     OUTPUT  

Central Processing Unit (CPU) CPU performs the actual processing of information stored in memory. This information can be data or instructions for executing data. The CPU also store the results of those manipulations back in memory for later use. CPU consists of the following components 1. Control Unit (CU): CU coordinates all activities of the computer by determining which operations should be carried out. The CU then transmits coordination control signals to the ALU. 2. Arithmetic-Logic Unit(ALU): ALU consists of electronic circuitry to perform arithmetic operations (addition, subtraction, multiplication, and division) and to make comparisons (, =, !=, ==). The CU copies the program instructions from memory into ALU that performs the operation specified by these instructions on data that are also copied from memory into ALU, and the computational results are copied to memory. cont 

Central Processing Unit (CPU)…cont 3. Main Memory (RAM) : Random Access Memory stores information of all types: instructions, data, … etc. Computer’s memory are an ordered sequence of storage locations called memory cells. To be able to store or retrieve information kept in Main Memory, we must have some way to identify the individual memory cells. Each memory cell has a unique address associated with it. Whenever new information is placed in a memory cell, any existing contents is destroyed (the existing content always be overwritten by the new one.)

public static void Main(string[] args) { const double payrate = ; int hrs; double wage; Console.Write("Please input hour work: "); hrs = int.Parse(Console.ReadLine()); wage = hrs * payrate; Console.WriteLine("If you work {0} hours, wage = {1:F2}",hrs, wage); } payrate hrswage Please input hour work: If you work 35 hours, wage = Declaration Part Program Body Main Memory

Variable Declaration no initial value public static void Main(string[] args) { const int N = 5; double sum = 0; int k = 1; double num; Console.WriteLine("Please enter numbers :"); while (k <= N) { num = double.Parse(Console.ReadLine()); sum = sum + num; k = k+1; } Console.WriteLine("Summation = {0} ",sum); Console.ReadLine(); } Constant Declaration Variable Declaration with initial value Program Body