© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science.

Slides:



Advertisements
Similar presentations
Computer Basics Whats that thingamagige?. Parts of a computer.
Advertisements

The Central Processing Unit: What Goes on Inside the Computer.
M. Guymon - Pleasant Grove High - Spring 2003 Computer Performance & Storage Devices Computer Technology.
Computer Performance & Storage Devices Computer Technology.
Introduction to Computers
COMP 14 Introduction to Programming
Hardware and Software ► Hardware  the physical, tangible parts of a computer  keyboard, monitor, disks, wires, chips, etc. ► Software  programs and.
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.
How Do Computers Work? A Gentle Introduction
UNIT 9 Computer architecture
M. Guymon Pleasant Grove High School Spring 2003 Computer Performance & Storage Devices Computer Technology Day 2.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
How Do Computers Work? A Gentle Introduction Poly Pride.
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 I’m ONLY a machine! Standard Grade Revision.
Tom Allen Computer Science Department Trinity University.
Computer Hardware and Software Jinchang Wang. Hardware vs. Software Hardware is something tangible. Computer hardware includes electronic circuitry and.
Learning Targets Identify the external parts of the computer Identify examples of input devices Identify examples of output devices Define basic computer.
The Computer Systems By : Prabir Nandi Computer Instructor KV Lumding.
Java Software Solutions Foundations of Program Design
1 Machine Architecture and Number Systems Topics Major Computer Components Bits, Bytes, and Words The Decimal Number System The Binary Number System Converting.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Computer Basics COMPUTER TECHNOLOG Y 1. What Is a Computer? An electronic device Accepts data and instructions Manipulates, processes, and displays the.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Welcome to Computing Presentation slides modified by M. A. Papalaskari from “Java Software Solutions Foundations of Program Design (3 rd ed.)” by John.
Introduction to Computers
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.
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
Machine Architecture CMSC 104, Section 4 Richard Chang 1.
The Four Parts of a Computer. Definition of a Computer A computer is an electronic device used to process data, converting the data into information that.
Chapter 1 Introduction. © 2004 Pearson Addison-Wesley. All rights reserved1-2 Announcements The first Weekly Quiz will be available on Blackboard this.
Chapter 2 part 2. Computer Processing Speeds Milliseconds - thousands of a second Microseconds - millionths of a second Nanoseconds - billionths of a.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
1 Hardware and Software b Hardware the physical, tangible parts of a computerthe physical, tangible parts of a computer keyboard, monitor, wires, chips,
CSCI-100 Introduction to Computing Hardware Part I.
© 2011 Pearson Education, publishing as Addison-Wesley Monday  Class Requirements  Earn hawk points today with the Name Game  Network Login.
General Computer Stuff Hardware: physical parts of a computer: CPU, drives, etc. Software: Programs and Data A computer needs both to be useful.
Instructor: Alexander Stoytchev CprE 185: Intro to Problem Solving (using C)
Chapter 1: Computer Systems Welcome to Intro to Java Programming Mrs. Vida.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
© 2006 Pearson Education Chapter 1: Computer Systems.
1 A Computer Specification  Consider the following specification for a “simplified” personal computer: 950 MHz Pentium 4 Processor 512 MB RAM 30 GB Hard.
Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science by John Lewis, William Loftus, and Cara Cocking Java.
Computer Organization. The Five Hardware Units General purpose computers use the "Von Neumann" architecture Also referred to as "stored program" architecture.
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),
Main Memory Main memory – –a collection of storage locations, –each with a unique identifier called the address. Word- –Data are transferred to and from.
Computer Systems I’m ONLY a machine! Ashkarali P Asst. Professor GCM Wayanad Ashkarali, GCM.
Computer Performance & Storage Devices Computer Technology.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
Introduction to Programming. Key terms  CPU  I/O Devices  Main memory  Secondary memory  Operating system  User interface  Application  GUI 
Computer Graphics HARDWARE. Computers  Computers are automatic, electronic machines that –accept data & instructions from a user (INPUT) –store the data.
An Overview of the Computer System
Computer Basics 1 Computer Basics.
UNIT 9 Computer architecture
Computer Hardware and Software
Chapter 1: Computer Systems
Introduction to Computers
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
Introduction to Computers
Standard Grade Revision
Chap 2. Computer Fundamentals
Presentation transcript:

© 2011 Pearson Education, publishing as Addison-Wesley Chapter 1: Computer Systems Presentation slides for Java Software Solutions for AP* Computer Science 3rd Edition by John Lewis, William Loftus, and Cara Cocking Java Software Solutions is published by Addison-Wesley Presentation slides are copyright 2011 by John Lewis, William Loftus, and Cara Cocking. All rights reserved. Instructors using the textbook may use and modify these slides for pedagogical purposes. *AP is a registered trademark of The College Entrance Examination Board which was not involved in the production of, and does not endorse, this product.

© 2011 Pearson Education, publishing as Addison-Wesley 2 Hardware and Software  Hardware the physical, tangible parts of a computer keyboard, monitor, disks, wires, chips, etc.  Software programs and data a program is a series of instructions  A computer requires both hardware and software  Each is essentially useless without the other

© 2011 Pearson Education, publishing as Addison-Wesley 3 CPU and Main Memory Central Processing Unit Main Memory Chip that executes program commands Intel Pentium 4 or Sun ultraSPARC III Processor Primary storage area for programs and data that are in active use Synonymous with RAM

© 2011 Pearson Education, publishing as Addison-Wesley 4 Secondary Memory Devices Floppy Disk Hard Disk Main Memory Central Processing Unit Secondary memory devices provide long-term storage Information is moved between main memory and secondary memory as needed Hard disks Floppy disks ZIP disks Writable CDs Tapes

© 2011 Pearson Education, publishing as Addison-Wesley 5 Input / Output Devices Monitor Keyboard Main Memory Central Processing Unit Floppy Disk Hard Disk I/O devices facilitate user interaction Monitor screen Keyboard Mouse Joystick Bar code scanner Touch screen

© 2011 Pearson Education, publishing as Addison-Wesley 6 Software Categories  Operating System controls all machine activities provides the user interface to the computer manages resources such as the CPU and memory Windows XP, Windows 2000, Unix, Linux, Mac OS  Application program generic term for any other kind of software word processors, missile control systems, games  Most operating systems and application programs have a graphical user interface (GUI)

© 2011 Pearson Education, publishing as Addison-Wesley 7 Representing Text Digitally  For example, every character is stored as a number, including spaces, digits, and punctuation  Corresponding upper and lower case letters are separate characters H i, H e a t h e r

© 2011 Pearson Education, publishing as Addison-Wesley 8 Binary Numbers  Once information is digitized, it is represented and stored in memory using the binary number system  A single binary digit (0 or 1) is called a bit  Devices that store and move information are cheaper and more reliable if they have to represent only two states  A single bit can represent two possible states, like a light bulb that is either on (1) or off (0)  Permutations of bits are used to store values

© 2011 Pearson Education, publishing as Addison-Wesley 9 Bit Permutations 1 bit bits bits bits Each additional bit doubles the number of possible permutations

© 2011 Pearson Education, publishing as Addison-Wesley 10 Bit Permutations  Each permutation can represent a particular item  There are 2 N permutations of N bits  Therefore, N bits are needed to represent 2 N unique items 2 1 = 2 items 2 2 = 4 items 2 3 = 8 items 2 4 = 16 items 2 5 = 32 items 1 bit ? 2 bits ? 3 bits ? 4 bits ? 5 bits ? How many items can be represented by

© 2011 Pearson Education, publishing as Addison-Wesley 11 Memory Main memory is divided into many memory locations (or cells) Each memory cell has a numeric address, which uniquely identifies it

© 2011 Pearson Education, publishing as Addison-Wesley 12 Storing Information Large values are stored in consecutive memory locations Each memory cell stores a set number of bits (usually 8 bits, or one byte)

© 2011 Pearson Education, publishing as Addison-Wesley 13 Storage Capacity  Every memory device has a storage capacity, indicating the number of bytes it can hold  Capacities are expressed in various units: KB2 10 = 1024 MB2 20 (over 1 million) GB2 30 (over 1 billion) TB2 40 (over 1 trillion) UnitSymbolNumber of Bytes kilobyte megabyte gigabyte terabyte

© 2011 Pearson Education, publishing as Addison-Wesley 14 Memory  Main memory is volatile - stored information is lost if the electric power is removed  Secondary memory devices are nonvolatile  Main memory and disks are direct access devices - information can be reached directly  The terms direct access and random access often are used interchangeably  A magnetic tape is a sequential access device since its data is arranged in a linear order - you must get by the intervening data in order to access other information

© 2011 Pearson Education, publishing as Addison-Wesley 15 RAM vs. ROM  RAM - Random Access Memory (direct access)  ROM - Read-Only Memory  The terms RAM and main memory are basically interchangeable  ROM could be a set of memory chips, or a separate device, such as a CD ROM  Both RAM and ROM are random (direct) access devices!  RAM probably should be called Read-Write Memory

© 2011 Pearson Education, publishing as Addison-Wesley 16 Compact Discs  A CD-ROM is portable read-only memory  A microscopic pit on a CD represents a binary 1 and a smooth area represents a binary 0  A low-intensity laser reflects strongly from a smooth area and weakly from a pit  A CD-Recordable (CD-R) drive can be used to write information to a CD once  A CD-Rewritable (CD-RW) can be erased and reused  The speed of a CD drive (48x) describes the maximum data transfer speed. Writing is typically much slower than reading.

© 2011 Pearson Education, publishing as Addison-Wesley 17 DVDs  A DVD is the same size as a CD, but can store much more information  The format of a DVD stores more bits per square inch  A CD can store 650 MB, while a standard DVD can store 4.7 GB A double sided DVD can store 9.4 GB Other advanced techniques can bring the capacity up to 17.0 GB  There are various recordable DVD technologies – the market will determine which will dominate

© 2011 Pearson Education, publishing as Addison-Wesley 18 The Central Processing Unit  A CPU is on a chip called a microprocessor  It continuously follows the fetch-decode-execute cycle: fetch Retrieve an instruction from main memory decode Determine what the instruction is execute Carry out the instruction

© 2011 Pearson Education, publishing as Addison-Wesley 19 The Central Processing Unit  The CPU contains: Arithmetic / Logic Unit Registers Control Unit Small storage areas Performs calculations and makes decisions Coordinates processing steps

© 2011 Pearson Education, publishing as Addison-Wesley 20 The Central Processing Unit  The speed of a CPU is controlled by the system clock  The system clock generates an electronic pulse at regular intervals  The pulses coordinate the activities of the CPU  The speed is measured in megahertz (MHz)