Machine Architecture CMSC 104, Section 4 Richard Chang 1.

Slides:



Advertisements
Similar presentations
What is memory? Memory is used to store information within a computer, either programs or data. Programs and data cannot be used directly from a disk or.
Advertisements

Computer Architecture. Central Processing Unit (CPU)- micro processor The Personal Computer.
Using Computers CS French Chapter 1.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
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.
CMSC 104, Version 9/01 1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The.
Computer Performance & Storage Devices
Computer Hardware Computer Technology Jeopardy Review By C. Lyman © July 2007.
How Computers Work. A computer is a machine f or the storage and processing of information. Computers consist of hardware (what you can touch) and software.
Aug CMSC 104, LECT-021 Machine Architecture and Number Systems Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY.
Computer Systems. Basic Components Auxiliary Storage OutputProcessor Main Memory Input.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
The Study of Computer Science Chapter 0 Intro to Computer Science CS1510.
Introduction to Computers
Introduction to Computers
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Chapter 5: Computer Systems Organization Invitation to Computer Science, Java Version, Third Edition.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
CMSC104 Lecture 2 Remember to report to the lab on Wednesday.
I/O (Input and Output) An I/O device acts as an interface between a computer and a user Without I/O devices, a computer is nothing but a box full of.
TheTeacher Computing Data Storage Computing. TheTeacher Computing Primary Storage One of the fundamental properties of a computer is that it can store.
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.
© Jalal Kawash 2010 Introduction Peeking into Computer Science 1.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Aug CMSC 104, LECT-021 Machine Architecture Some material in this presentation is borrowed form Adrian Ilie From The UNIVERSITY of NORTH CAROLINA.
Computer System Internal components - The processor - Main memory - I / O controllers - Buses External components (peripherals). These include: - keyboard.
Computer Hardware.
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Machine Architecture and Number Systems
CMSC Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
Hardware The physical parts of the computer. /index.php/t html  Use link to make analogy to hardware and kitchen.
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,
Parts and Operation of a Computer
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),
CMSC 1041 Machine Architecture An Introduction to Computer Components.
CMSC 104, LECT02 1 Machine Architecture An Introduction to Computer Components.
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
Basic Computer Terms & Concepts. Computer System A collection of devices, each with a special function. Four components of a computer system: »Input »Output.
Peripherals on or near an edge or constituting an outer boundary; the outer area; "Russia's peripheral provinces"; "peripheral suburbs" (computer science)
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
UMBC CMSC 104 – Section 01, Fall UMBC CMSC 104, Section 01 - Fall 2016  Don’t see a Linux VM in VMWare on your lab machine? Try a different computer!
Basic Computer Components Unit 2. What is a computer?  A computer is an electronic device that accepts raw data and processes it into information that.
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
Computer Architecture and Number Systems
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Chapter 7.2 Computer Architecture
The physical parts of the computer
Introduction to Computer Architecture
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
General Architecture of Digital Computer
Introduction to Computers
Machine Architecture and Number Systems
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Hardware.
Introduction to Computers
Machine Architecture and Number Systems
Machine Architecture and Number Systems
Machine Architecture and Number Systems
Machine Architecture and Number Systems
Machine Architecture and Number Systems
COMPUTER FUNDAMENTALS i
Notes from Last Class Office Hours: GL Accounts?
Machine Architecture and Number Systems
Presentation transcript:

Machine Architecture CMSC 104, Section 4 Richard Chang 1

2 Major Computer Components Central Processing Unit (CPU) Bus Main Memory (RAM) Secondary Storage Media I / O Devices

3 Schematic Diagram of a Computer Diagram taken from Java Concepts, Fourth Edition

4 The CPU Central Processing Unit The “brain” of the computer Controls all other computer functions In PCs (personal computers) also called the microprocessor or simply processor.

5 The Bus Computer components are connected by a bus. A bus is a group of parallel wires that carry control signals and data between components.

6 Main Memory Main memory holds information such as computer programs, numeric data, or documents created by a word processor. Main memory is made up of capacitors. If a capacitor is charged, then its state is said to be 1, or ON. We could also say the bit is set. If a capacitor does not have a charge, then its state is said to be 0, or OFF. We could also say that the bit is reset or cleared.

7 Main Memory (con’t) Memory is divided into cells, where each cell contains 8 bits (a 1 or a 0). Eight bits is called a byte. Each of these cells is uniquely numbered. The number associated with a cell is known as its address. Main memory is volatile storage. That is, if power is lost, the information in main memory is lost.

8 Main Memory (con’t) Other computer components can get the information held at a particular address in memory, known as a READ, or store information at a particular address in memory, known as a WRITE. Writing to a memory location alters its contents. Reading from a memory location does not alter its contents.

9 Main Memory (con’t) All addresses in memory can be accessed in the same amount of time. We do not have to start at address 0 and read everything until we get to the address we really want (sequential access). We can go directly to the address we want and access the data (direct or random access). That is why we call main memory RAM (Random Access Memory).

10 Secondary Storage Media Examples: Hard Disks (random access) Flash Drive (random access) Optical Drives: CD’s, DVD’s, etc Tapes (sequential) Persistent: maintains storage without power Slower Less Expensive

11 Storage Hierarchy Most expensive & fastest to cheapest & slowest CPU Registers (dozens) CPU L1, L2 & L3 Cache (hundreds of megabytes) Main memory: RAM (several gigabytes) Hard Disk (hundreds of gigabytes) A lot of computer science is devoted to managing the storage hierarchy.

12 Storage Sizes 1 bit stores 0 or 1 1 byte = 8 bits 1 kilobyte = 2 10 bytes = 1,024 bytes 1 megabyte = 2 20 bytes = 1,048,576 bytes 1 gigabyte = 2 30 bytes ≈ 1 billion bytes 1 terabyte = 2 40 bytes ≈ 1 trillion bytes 1 petabyte = 2 50 bytes ≈ 1 quadrillion bytes

13 I/O Devices I/O = “input/output” Often on an external bus (e.g. USB) “Peripheral devices” Examples: monitor keyboard mouse printer scanner