Computer Organization

Slides:



Advertisements
Similar presentations
Basic Computer Vocabulary
Advertisements

What is Hardware? Hardware is the physical parts of the computer system – the parts that you can touch and see. A motherboard, a CPU, a keyboard and a.
Laboratorio di Calcolo II Obbiettivo: insegnarvi a scrivere programmi in c++ 2 ore/settimana di lezione in aula 4 ore/settimana di esercitazioni personali.
The Central Processing Unit: What Goes on Inside the Computer.
Computer Hardware.
Computer Programming Belaid Moa Phone: Office : ECS 115 Spring 2008.
Introduction to Computer Systems
Hardware Basics: Inside the Box 2  2001 Prentice Hall2.2 Chapter Outline “There is no invention – only discovery.” Thomas J. Watson, Sr. What Computers.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
BLOCK DIAGRAM OF COMPUTER
Computer Organization Hardware and Software. Computing Systems Computers have two kinds of components: Hardware, consisting of its physical devices (CPU,
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Laboratorio di Calcolo I Docente: prof. Berardi (Dip. Informatica) Lezione introduttiva su Computing ed esercitazioni di Unix/Linux tenute da Fabrizio.
Hardware & Software The CPU & Memory.
Introduction to Computers
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
1 Introduction to Computers Lect 1 Won’t tell you much you don’t know. (Misleading– the course gets more conceptual as we create webpages.) Will go into.
Computer Parts. Two Basic Parts Hardware & Software.
Computer Basics 2.
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
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.
Computer Basics Terminology - Take Notes. What is a computer? well, what is the technical definition A computer is a machine that changes information.
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.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
Computer Architecture
Computer Component. A computer is a machine that is used to store and process data electronically Computer Definition.
CSCI-100 Introduction to Computing Hardware Part I.
Parts of the Computer System
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
The Computer System CS 103: Computers and Application Software.
Computer Systems. Bits Computers represent information as patterns of bits A bit (binary digit) is either 0 or 1 –binary  “two states” true and false,
Unit C-Hardware & Software1 GNVQ Foundation Unit C Bits & Bytes.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Memory The term memory is referred to computer’s main memory, or RAM (Random Access Memory). RAM is the location where data and programs are stored (temporarily),
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Parts of a Computer.
BASIC PROGRAMMING C SCP1103 (02)
APPENDIX A Hardware and Software Basics
King Saud University- College OF Applied Studies
An Overview of the Computer System
Computer Basics 1 Computer Basics.
BASIC PROGRAMMING C SCP1103 (02)
An Introduction to The computer.
Principles of Information Technology
The Central Processing Unit
Introduction to Computer Architecture
TexPREP Summer Camp Computer Science
BUSINESS PLUG-IN B3 HARDWARE AND SOFTWARE BASICS
Introduction to Computers
An Introduction to The computer.
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
Introduction to Computers
Introduction to Computer Architecture
Chapter 3 Hardware and software 1.
Computer Hardware.
Computer components.
Chapter 3 Hardware and software 1.
Overview 1. Inside a PC 2. The Motherboard 3. RAM the 'brains' 4. ROM
Computer components.
Presentation transcript:

Computer Organization Hardware and Software

Computing Systems Computers have two kinds of components: Hardware, consisting of its physical devices (CPU, memory, bus, storage devices, ...) Software, consisting of the programs it has (Operating system, applications, utilities, ...)

Hardware: CPU Central Processing Unit (CPU): the “brain” of the machine location of circuitry that performs arithmetic and logical ML statements measurement: speed (roughly) in megahertz (millions of clock-ticks per second) examples: Intel Pentium, AMD K6, Motorola PowerPC, Sun SPARC,

Hardware: RAM Random Access Memory (RAM) “main” memory, which is fast, but volatile... analogous to a person’s short-term memory. many tiny “on-off” switches: for convenience “on” is represented by 1, “off” by 0. each switch is called a binary digit, or bit. 8 bits is called a byte. 210 bytes =1024 bytes is called a kilobyte (1K) 220 bytes is called a megabyte (1M).

Hardware (Disk) Secondary Memory (Disk): Stable storage using magnetic or optical media. Analogous to a person’s long-term memory. Slower to access than RAM. Examples: floppy disk (measured in kilobytes) hard disk (measured in gigabytes (230 bytes)) CD-ROM (measured in megabytes), ...

Hardware: the Bus The Bus: Connects CPU to other hardware devices. Analogous to a person’s spinal cord. Speed measured in megahertz (like the CPU), but typically much slower than the CPU... The bottleneck in most of today’s PCs.

Hardware: Cache While accessing RAM is faster than accessing secondary memory, it is still quite slow, relative to the rate at which the CPU runs. To circumvent this problem, most systems add a fast cache memory to the CPU, to store recently used instructions and data. (Assumption: Since such instructions/data were needed recently, they will be needed again in the near future.)

Hardware: Summary Putting the pieces together: CPU Bus Main Memory Secondary cache Programs are stored (long-term) in secondary memory, and loaded into main memory to run, from which the CPU retrieves and executes their statements.

Software: OS The operating system (OS) is loaded from secondary memory into main memory when the computer is turned on, and remains in memory until the computer is turned off. RAM Disk CPU Cache Bus OS

Software: OS The OS acts as the “manager” of the system, making sure that each hardware device interacts smoothly with the others. It also provides the interface by which the user interacts with the computer, and awaits user input if no application is running. Examples: MacOS, Windows-95, Windows-NT, UNIX, Linux, Solaris, ...

Software: Applications Applications are non-OS programs that perform some useful task, including word processors, spreadsheets, databases, web browsers, C++ compilers, ... Example C++ compilers/environments: CodeWarrior (MacOS, Win95, WinNT, Solaris) GNU C++ (UNIX, Linux) Turbo/Borland C++ (Win95, WinNT) Visual C++ (Win95, WinNT)

Software: User Programs Programs that are neither OS programs nor applications are called user programs. User programs are what you’ll be writing in this course.

Putting it all together Programs and applications that are not running are stored on disk. RAM Disk CPU Cache Bus OS App

Putting it all together When you launch a program, the OS controls the CPU and loads the program from disk to RAM. RAM Disk CPU Cache Bus OS App

Putting it all together The OS then relinquishes the CPU to the program, which begins to run. RAM Disk CPU Cache Bus OS App

The Fetch-Execute Cycle As the program runs, it repeatedly fetches the next instruction (from memory/cache), executes it, and stores any results back to memory. Disk CPU RAM Cache OS App App App Bus That’s all a computer does: fetch-execute-store, millions of times each second!

Summary A computer has two kinds of components: Hardware: its CPU, RAM, Disk(s), ... Software, its OS, Applications, and User Programs.