 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014.

Slides:



Advertisements
Similar presentations
Components of a computer system
Advertisements

Computer Memory and Data Transfer
Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Machine cycle.
The Central Processing Unit: What Goes on Inside the Computer.
CENTRAL PROCESSING UNIT
SECTION 4a Transforming Data into Information.
Chapter 5 Computing Components Nell Dale John Lewis.
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Introduction to Computer Systems
The processor and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
The central processing unit and main memory chapter 4, Exploring the Digital Domain The Development and Basic Organization of Computers.
COMPUTER MEMORY Modern computers use semiconductor memory It is made up of thousands of circuits (paths) for electrical currents on a single silicon chip.
CIS 260 Computer Programming I in C Prof. Timothy Arndt.
0 What is a computer?  Simply put, a computer is a sophisticated electronic calculating machine that:  Accepts input information,  Processes the information.
CPU Describe the purpose of the CPU
A-Level Computing#BristolMet Session Objectives#4 MUST describe the differences between the main types of primary memory SHOULD describe the function and.
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.
Inside The CPU. Buses There are 3 Types of Buses There are 3 Types of Buses Address bus Address bus –between CPU and Main Memory –Carries address of where.
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
COMPONENTS OF THE SYSTEM UNIT
Chapter 3 Computer Hard ware
Computer Processing of Data
HNC COMPUTING - COMPUTER PLATFORMS 1 Computer Platforms Week 1 The Basics – System Unit Components.
Computing hardware CPU.
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
CS 1308 Computer Literacy and the Internet Computer Systems Organization.
Discovering Computers 2012: Chapter 4
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Computers organization & Assembly Language Chapter 0 INTRODUCTION TO COMPUTING Basic Concepts.
Btec National - COMPUTER Systems 1 Computer Systems Week 1 The Basics – System Unit Components.
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.
CIM101 : Introduction to computer Lecture 3 Memory.
Computer Architecture And Organization UNIT-II Structured Organization.
Chapter 5 Computing Components Nell Dale John Lewis.
5-1 Computer Components Consider the following ad.
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
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.
SKILL AREA: 1.2 MAIN ELEMENTS OF A PERSONAL COMPUTER.
Computer Architecture Memory, Math and Logic. Basic Building Blocks Seen: – Memory – Logic & Math.
Computer Structure & Architecture 7b - CPU & Buses.
CS 1308 Computer Literacy and the Internet. Objectives In this chapter, you will learn about:  The components of a computer system  Putting all the.
Computer Architecture2  Computers are comprised of three things  The physical computer  The operating system  The user and programs running on the.
Input and Processing Chapter 2 - Computers- Understanding Technology.
Computer operation is of how the different parts of a computer system work together to perform a task.
Computer Parts There are many parts that work together to make a computer work.
Activity 1 Review the work from last lesson so that you can explain the following: -What is the purpose of a CPU. -What steps does the CPU take to process.
8085 FAQ R.RAJKUMAR DEPT OF CSE SRM UNIVERSITY. FAQ What is a Microprocessor? - Microprocessor is a program-controlled device, which fetches the instructions.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Lecture # 10 Processors Microcomputer Processors.
Advanced Diploma - Unit One 1 Computer Components Week 1 System Unit Components.
Software Design and Development Computer Architecture Computing Science.
Chapter 2 content Basic organization of computer What is motherboard
Introduction to Computer Architecture
Primary Storage and Secondary Storage Devices Chapter 3
Computer Architecture
Introduction to Computers
Introduction to Computers
Introduction to Computer Architecture
What is Computer A computer is a general purpose device that can be programmed to carry out a finite set of arithmetic or logical operations. Since a sequence.
A451: Computer Systems and Programming
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:

 Prof. Dr. M. H. Assal Introduction to Computer AS 26/10/2014

 Memory refers to the physical devices used to store programs (sequences of instructions) or data (e.g. program state information) on a temporary or permanent basis for use in a computer or other digital electronic device.  Types of Memory o Volatile memory o Non-volatile memory Introduction to Computer 2

 Volatile memory is computer memory that requires power to maintain the stored information.  Most modern semiconductor volatile memory is either: o Static RAM o Dynamic RAM  Random Access Memory (RAM) o Random access memory (RAM) is a form of computer data storage. o A random access device allows stored data to be accessed in very nearly the same amount of time for any storage location, so data can be accessed quickly in any random order. Introduction to Computer 3

 Non-volatile memory is computer memory that can retain the stored information even when not powered.  Examples of non-volatile memory include read-only memory (ROM), flash memory, most types of magnetic computer storage devices (e.g. hard disks, floppy discs and magnetic tape), optical discs.  Read Only Memory (ROM) o Read-only memory (ROM) is a class of storage medium used in computers and other electronic devices. o Data stored in ROM cannot be modified, or can be modified only slowly or with difficulty. Introduction to Computer 4

 The amount of RAM in a PC has a direct effect on the system's speed.  The more RAM a PC has, the more program instructions and data can be held in memory, which is faster than storage on disk.  The goal of the virtual memory technique is to make an application think that it has more memory than actually exists.  Memory Swapping o Swapping is exchanging data between the hard disk and the RAM. o The purpose of swapping, is to access data being stored in hard disk and to bring it into the RAM so that it can be used by the application program. o Remember that swapping is only necessary when that data is not already in the RAM. o Swapping can greatly slow a PC's performance. Introduction to Computer 5

 Memory Swapping Introduction to Computer 6

1. Registers size 2. RAM size 3. System Clock (how many cycle per second) 4. Bus size 5. Cache Memory size Introduction to Computer 7

 Processor Components o Control Unit o Arithmetic Logic Unit (ALU) o Prefetch Unit o Decode Unit o Bus Interface Unit o Registers o Cache Memory Introduction to Computer 8

9

 Every instruction that you issue to a computer by either typing a command or clicking something with the mouse is converted into machine language.  In turn, each machine language instruction in a CPU’s instruction set (the collection of basic machine language commands that the CPU can understand) is broken down into several smaller, machine-level instructions called microcode.  Microcode instructions, such as moving a single piece of data from one part of the computer system to another or adding the numbers located in two specific registers, are built into the CPU and are the basic instructions used by the CPU. Introduction to Computer 10

1. Fetch The program instruction is fetched 2. Decode The instructions are decoded so the control unit, ALU, and FPU can understand them 3. Execute The instructions are carried out 4. Store The original data or the result from the ALU or FPU execution is stored in the CPU’s registers Introduction to Computer 11

Introduction to Computer 12

Example: add 5 and 6 and show the answer on the screen requires the following steps: 1. Fetch instruction: "Get number at address 0x3A15412" 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 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. Introduction to Computer 13