Introduction to ComputersS1.1.1 Bina © 1998 Liran & Ofir Programming in C.

Slides:



Advertisements
Similar presentations
The CPU The Central Presentation Unit What is the CPU?
Advertisements

Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Machine cycle.
Using Computers CS French Chapter 1.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Chapter 0 Introduction to Computing
CS 104 Introduction to Computer Science and Graphics Problems Basic Organization & Concepts 09/09/2008 Yang Song (Prepared by Yang Song and Suresh Solaimuthu)
Elements of the Computer (How a processor works)
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Chapter 6 Memory and Programmable Logic Devices
 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
What’s on the Motherboard? The two main parts of the CPU are the control unit and the arithmetic logic unit. The control unit retrieves instructions from.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
KEY COMPONENTS OF A COMPUTER SYSTEM ANDREW LOLAVAR.
Lesson 3 — How a Computer Processes Data
Chapter 3 Computer Hard ware
Computer Processing of Data
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
CPU Computer Hardware Organization (How does the computer look from inside?) Register file ALU PC System bus Memory bus Main memory Bus interface I/O bridge.
The Central Processing Unit: What Goes on Inside the Computer
Components of a Computer Prepared by: Mrs. McCallum-Rodney.
Advanced Computer Architecture 0 Lecture # 1 Introduction by Husnain Sherazi.
Introduction to Computer Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
GCSE Information Technology Computer Systems 2 Hardware is the name that is given to any part of a computer that you can actually touch. An individual.
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.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
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 Architecture. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers.
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.
CS 111 – Sept. 15 Chapter 2 – Manipulating data by performing instructions “What is going on in the CPU?” Commitment: –Please read through section 2.3.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 2.1 Instructor: Lin Chen Sept 2013.
Computer Organization & Assembly Language © by DR. M. Amer.
CSCI-100 Introduction to Computing Hardware Part I.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
CPU The Central Processing Unit (CPU), has 3 main parts: Control Unit Arithmetic and Logic Unit Registers. These components are connected to the rest.
CENTRAL PROCESSING UNIT Written by: Gizem Gulsen.
Computer Architecture2  Computers are comprised of three things  The physical computer  The operating system  The user and programs running on the.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
Computer Fundamentals MSCH 233 Lecture 1. What is a computer? A computer is an electronic machine which can accept data in a certain form, process the.
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
CS 125 Lecture 2 Martin van Bommel. Hardware vs Software Hardware - physical components you can see and touch –e.g. processor, keyboard, disk drive Software.
Hardware Information Created by Nasih 1. Hardware  The physical components of a computer system, including any peripheral equipment such as printers,
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
ASSEMBLY LANGUAGE PROGRAMMING. Course Objectives Identify the major component of a PC-based system, describe the steps involving in assembling, linking,
Chapter 3 Getting Started. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To give an overview of the structure of a contemporary.
Computer Organisation
Processor/Memory Chapter 3
Introduction to Computer Architecture
von Neumann Architecture CPU
Computer Organization
Computer Architecture
COMS 161 Introduction to Computing
Introduction to Computer Architecture
Born to be Programmer TeguhSutanto, M.Kom.
von Neumann Architecture CPU
Central Processing Unit
Computer Concept and Practice
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.
Introduction to Computers
Presentation transcript:

Introduction to ComputersS1.1.1 Bina © 1998 Liran & Ofir Programming in C

Introduction to ComputersS1.1.2 Bina © 1998 Liran & Ofir Introduction to Computers Programming in C

Introduction to ComputersS1.1.3 Bina © 1998 Liran & Ofir Central Processing Unit Basic Model of Computers Control Processing Unit (CPU) n Control Processing Unit (CPU) l Executes Programs l Program = A Sequence of Machine A Sequence of Machine Instructions Instructions

Introduction to ComputersS1.1.4 Bina © 1998 Liran & Ofir Central Processing Unit Basic Model of Computers Control Unit Control Unit (CU) n Control Unit (CU) l Determines which instruction must be executed next. must be executed next. l Retrieves the needed data from the memory the memory l Coordinates the execution of the instruction of the instruction

Introduction to ComputersS1.1.5 Bina © 1998 Liran & Ofir Central Processing Unit Control Unit Basic Model of Computers Arithmetic Logic Unit Arithmetic Logic Unit (ALU) n Arithmetic Logic Unit (ALU) l Performs Simple operations: Add, Subtract, Multiply,...

Introduction to ComputersS1.1.6 Bina © 1998 Liran & Ofir Central Processing Unit Basic Model of Computers Control Unit Arithmetic Logic Unit Registers Registers n Registers l Fast memory used to hold the intermediate result of the intermediate result of operations operations

Introduction to ComputersS1.1.7 Bina © 1998 Liran & Ofir Central Processing Unit Basic Model of Computers Memory Control Unit Arithmetic Logic Unit Registers Memory (RAM) n Memory (RAM) l holds data and instructions instructions l Random Access l volatile

Introduction to ComputersS1.1.8 Bina © 1998 Liran & Ofir Central Processing Unit Memory Basic Model of Computers Disk Control Unit Arithmetic Logic Unit Registers Disk n Disk l holds data and programs programs l nonvolatile

Introduction to ComputersS1.1.9 Bina © 1998 Liran & Ofir Central Processing Unit Memory Basic Model of Computers Disk Control Unit Arithmetic Logic Unit Registers And other peripherals n And other peripherals Display Printer...

Introduction to ComputersS Bina © 1998 Liran & Ofir Central Processing Unit Memory Basic Model of Computers Bus n Bus Data passage way l Data passage way between parts of between parts of the computer the computer Display Disk Control Unit Arithmetic Logic Unit Registers Printer...

Introduction to ComputersS Bina © 1998 Liran & Ofir CPUCPU n Repeatedly does the following: l Gets the next instruction from the memory l Gets the data required to execute the instruction from the memory l Performs the instruction l Stores the result in the memory

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions n Add the content of memory location 6 to the content of memory location 7 and store the result in memory location 8. Load 6 Add 7 Store 8 End

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Load 6 Add 7 Store 8 End

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Load 6 Add 7 Store 8 End

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Load 6 Add 7 Store 8 End 1

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Load 6 Add 7 Store 8 End 1 Add 7

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Load 6 Add 7 Store 8 End 1 5 Add 7

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Load 6 Add 7 Store 8 End 1 5 Add 7

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Add 7 Load 6 Add 7 Store 8 End 1 5 6

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Load 6 Add 7 Store 8 End Store 8

Introduction to ComputersS Bina © 1998 Liran & Ofir Machine Instructions CPU Memory Store 8 Load 6 Add 7 Store 8 End 1 5 6

Introduction to ComputersS Bina © 1998 Liran & Ofir MemoryMemory n A Sequence of Memory Cells (Words) Memory Word

Introduction to ComputersS Bina © 1998 Liran & Ofir WordWord n A Sequence of 4 Bytes Word Byte 0Byte 3Byte 2Byte 1

Introduction to ComputersS Bina © 1998 Liran & Ofir Byte 0Byte 3Byte 2Byte 1 ByteByte n A Sequence of 8 Bits Word

Introduction to ComputersS Bina © 1998 Liran & Ofir BitBit n A switch capable of being in one of two states: Word l On state: Represents 1 l Off state: Represents

Introduction to ComputersS Bina © 1998 Liran & Ofir Decimal Numbers n Each digit is: l 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 l 453 => 3x x x10 2

Introduction to ComputersS Bina © 1998 Liran & Ofir Binary Numbers n Each digit is: l 0, 1 l 101 => 1x x x2 2 => 5

Introduction to ComputersS Bina © 1998 Liran & Ofir Ex - Decimal Numbers n Each digit is: l 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F l 1E3 => 3x x x16 2 => 343