© Keith Vander Linden, 2005 Jeremy D. Frens, 2008 1 I wish that we could calculate by steam. - attributed to Charles Babbage.

Slides:



Advertisements
Similar presentations
Computer Hardware.
Advertisements

Calera High School Dawn Bone
© Keith Vander Linden, 2005 Jeremy D. Frens, I wish that we could calculate by steam. - attributed to Charles Babbage.
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved Plug-in B3 HARDWARE & SOFTWARE.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
FIRST COURSE Essential Computer Concepts. New Perspectives on Microsoft Office 2007: Windows XP Edition 2 Objectives Compare the types of computers Describe.
Computer Hardware.
FIRST COURSE Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 Objectives Compare the types of computers.
Essential Computer Concepts
Using Computers CS French Chapter 1.
Introduction Extended and Concise Prelude to Programming Concepts and Design Copyright © 2003 Scott/Jones, Inc.. All rights reserved. 1 Introduction.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Computer Systems CS208. Major Components of a Computer System Processor (CPU) Runs program instructions Main Memory Storage for running programs and current.
UNIT 9 Computer architecture
Introduction to Computers Essential Understanding of Computers and Computer Operations.
Computer System Alanoud Al Saleh. Computer systems Are defined as: A machine for solving problems. Specifically the modern computer is high-speed electronic.
Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is a Computer? A computer is an electronic device.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
® Microsoft Office 2010 Essential Computer Concepts.
EMT1111 Logic and Problem Solving Lecture 2 Dr. Benito Mendoza.
BACS 287 Basics of Programming BACS 287.
1 CSC 1401 S1 Computer Programming I Hamid Harroud School of Science and Engineering, Akhawayn University
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.
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.
Computers Inside and Out
Introduction to Computers
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
Computer Parts. Two Basic Parts Hardware & Software.
Computer Basics 2.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Computer Basics Terminology - Take Notes. What is a computer? well, what is the technical definition A computer is a machine that changes information.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
School of Computer Science & Information Technology G6DICP Introduction to Computer Programming Milena Radenkovic.
COMPUTER ARCHITECTURE. Recommended Text 1Computer Organization and Architecture by William Stallings 2Structured Computer Organisation Andrew S. Tanenbaum.
COMPUTER BASICS Computer Technology. WHAT IS A COMPUTER?  Electronic  Accepts data and instructions  Manipulates, processes, and displays the information.
FIRST COURSE Essential Computer Concepts. XP New Perspectives on Microsoft Office 2007: Windows XP Edition2 What Is a Computer? A computer is an electronic.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and.
Parts of the Computer System
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Beginning Snapshots Chapter 0. C++ An Introduction to Computing, 3rd ed. 2 Objectives Give an overview of computer science Show its breadth Provide context.
1 THE COMPUTER. 2 Input Processing Output Storage 4 basic functions.
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,
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
1 Chapter 1 Background Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Introduction To Computer Programming – 1A Computer Parts, Words, and Definition Herriman High School.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
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,
An Overview of the Computer System
Chapter 1: An Overview of Computers and Programming Languages
UNIT 9 Computer architecture
An Introduction to The computer.
Introduction to Computers
An Introduction to The computer.
Looking Inside the machine (Types of hardware, CPU, Memory)
An Overview of the Computer System
Computer Electronic device Accepts data - input
Introduction to Computers
Chapter 3 Hardware and software 1.
Introduction to Computers
Computer Hardware.
Chapter 2: Computer Hardware
Computer components.
Chapter 3 Hardware and software 1.
From Problems to Algorithms to Programs
Computer components.
Presentation transcript:

© Keith Vander Linden, 2005 Jeremy D. Frens, I wish that we could calculate by steam. - attributed to Charles Babbage

© Keith Vander Linden, 2005 Jeremy D. Frens, Computing Machines ● History History ● A Universal Machine A Universal Machine ● Computer Elements: – Computer Architecture Computer Architecture – Computer Software Computer Software ● Historical Perspective Historical Perspective

© Keith Vander Linden, 2005 Jeremy D. Frens, Computer History ● Computers were developed to mechanize mathematical computations. ● Two definitions: – A computer is “one [a human] who computes; a reckoner; a calculator.” - Webster’s Dictionary, 1828 – A computer is “a programmable electronic device that can store, retrieve, and process data.” - Merriam-Webster Dictionary, 2000

© Keith Vander Linden, 2005 Jeremy D. Frens, ● 1833 ● Primary innovation: – The difference engine was single-purpose – The analytical engine was general-purpose ● Only the difference engine was built, recently.recently Charles Babbage ( ) “Analytical Engine” images from Oct., 2004http:// a recreation of the difference engine

© Keith Vander Linden, 2005 Jeremy D. Frens, ● Developed a set of “notes” on how to instruct the analytical engine ● Suggested the use of punched cards ● Known as the “first programmer” Ada Lovelace ( ) “the first programmer” images from Oct., 2004http://

© Keith Vander Linden, 2005 Jeremy D. Frens, The Universal Machine ● A computer is known as a universal machine. – It can compute anything that can be computed. ● Key ingredients in our universal machines: – Hardware: framework for “any computation”. – Software: describe a specific computation.

© Keith Vander Linden, 2005 Jeremy D. Frens, ● 1947 ● Won the Nobel Prize for Physics in 1956 ● One of the most important inventions of the 20 th century Shockley, Bardeen, Brattain The Transistor Power Supply Control Output images from Oct., 2004http://

© Keith Vander Linden, 2005 Jeremy D. Frens, Why Use Binary? ● Early machines, designed using base-10 representations, were either not used or not commercially successful: – Pascal’s Pascaline (1642) – Liebniz’s calculator (1694) – Babbage’s analytical engine ● So why? – Binary systems are easier to build. – Binary and decimal are equivalent. images from Oct., 2004http://

© Keith Vander Linden, 2005 Jeremy D. Frens, ● The Mathematical Analysis of Logic (1847) & An Investigation of the Laws of Thought (1854) ● Presented a 2-value logic that formed the basis of modern computer systems. ● His work was applied to computer systems by Claude Shannon. George Boole ( ) Boolean Logic images from Oct., 2004http://

© Keith Vander Linden, 2005 Jeremy D. Frens, Boolean Logic ● Based on two logical values: true (1) & false (0) ● Boolean expressions are constructed using these boolean operators: AND (  ) OR (  ) NOT (  )

© Keith Vander Linden, 2005 Jeremy D. Frens, Axioms of Boolean Logic Boolean logic is based on a set of axioms including:  (  a)  a (Involution Law) a  b  b  a (Commutative Law)  (a  b)  (  a)  (  b)(DeMorgan’s Laws)  (a  b)  (  a)  (  b) a  (b  c) = (a  b)  (a  c) (Distributive Law)

© Keith Vander Linden, 2005 Jeremy D. Frens, Mother board Computer Architecture RAM Hard disk CDFloppyDVD Network CPU

© Keith Vander Linden, 2005 Jeremy D. Frens, Computer Architecture

© Keith Vander Linden, 2005 Jeremy D. Frens, Processors ● Manipulate data/instructions from memory ● Three primary characteristics: – word size: the number of bits handled as a unit (32 or 64 bits) – speed: the number of machine cycles per second (2—4 GHZ) – cores: numbers of processors in computer (2, 4, or more)

© Keith Vander Linden, 2005 Jeremy D. Frens, Main Memory ● The processor manipulates data/instructions in Random Access Memory (RAM). ● Properties of main memory: – Random access – Relatively fast – Volatile ● Technology: – current computers have 1—4GB of RAM

© Keith Vander Linden, 2005 Jeremy D. Frens, 2008 Save early, save often! 16

© Keith Vander Linden, 2005 Jeremy D. Frens, Secondary Storage ● Mass, long-term storage. ● Properties of secondary storage: – Slow – Non-volatile – Less expensive ● Technologies: – Magnetic: hard disk, tape – Optical: CD, DVD – Solid state: USB stick

© Keith Vander Linden, 2005 Jeremy D. Frens, Size and Speed Terminology ● Bit ● Byte ● Kilobyte (KB) & kilohertz (KHz) ● Megabyte (MB) & megahertz (MHz) ● Gigabyte (GB) & gigahertz (GHz) ● Terabyte (TB) & terahertz? (THz?) ● Petabyte (PB) & petahertz?? (PHz??) For more information, see (a local copy) local copy)

© Keith Vander Linden, 2005 Jeremy D. Frens, Secondary Storage Comparison

© Keith Vander Linden, 2005 Jeremy D. Frens, Back ups! ● Both primary and secondary memory technologies are susceptible to faults. ● Create regular backup copies of your important files. – Use external drives. – Use on-line backup.

© Keith Vander Linden, 2005 Jeremy D. Frens, Input/Output Devices ● To be useful, the computer must usually be expanded by additional devices: – e.g., monitor, keyboard, mouse ● The processor communicates with these devices via buses. ● If the devices are external to the computer, they must be connected to the computer via an adapter card and a port.

© Keith Vander Linden, 2005 Jeremy D. Frens, Networking ● The computer can also be connected to a network. ● This requires an adaptor card. ● More on this in a future lecture…

© Keith Vander Linden, 2005 Jeremy D. Frens, Computer Software ● Software is composed of sets of computer instructions that: – prescribe algorithms to be performed by the hardwarealgorithms – are encoded and stored in computer memory using programming languages programming languages ● Basic types of software: – Operating Systems – Applications

© Keith Vander Linden, 2005 Jeremy D. Frens, Algorithms ● An algorithm is a set of abstract instructions for performing a task. ● Use three basic types of instructions: – Sequence: execute instructions in a particular order – Selection: execute some instructions and not others, depending on conditions – Iteration: execute instructions over and over and over

© Keith Vander Linden, 2005 Jeremy D. Frens, Programming Languages ● Programming languages are used to encode algorithms in a computer’s language. ● Types of programming languages: – machine language (directly executed by the CPU) – high-level languages (translated to ML with compilers) Code for moving dataCode for data sourceand so forth… Speech = txtSpeak.Text If Speech = “count to 10" Then For i = 1 to 10 Peedy.Speak Speech Next I End If

© Keith Vander Linden, 2005 Jeremy D. Frens, Operating Systems ● Set of programs that manages the hardware and basic operations of the computer ● Common operating systems: – Microsoft Windows (e.g., XP, pocketPC) – Macintosh OS – Unix variants (e.g., Linux, Solaris) – PalmOS images from Oct., 2004

© Keith Vander Linden, 2005 Jeremy D. Frens, OS Functions ● Loaded into memory when the computer is booted. It manages: – Programs – Memory – Files on secondary store – Peripherals I/O devices – Network connections images from Oct., 2004

© Keith Vander Linden, 2005 Jeremy D. Frens, Software Applications ● Programs built on top of the OS that support basic user tasks ● Common Applications: – Word Processing – Spreadsheets – Databases – Electronic Mail – Presentation Software – Web Development

© Keith Vander Linden, 2005 Jeremy D. Frens, Historical Perspective ● ENIAC – 200 bytes memory – 5,000 additions per second – Allegedly dimmed the Philadelphia lights when started – 30 tons images from & Oct., 2004www.computer.org/history/ ● Sony Clie PEG-T665C – 144M memory (144 million bytes) – ~132,000,000 additions per second – runs on a 5.2v, rechargable, lithium polymer battery – 4.9 ounces

© Keith Vander Linden, 2005 Jeremy D. Frens, Moore’s “Law” ● Processing capacity for the price doubles every 18 months image from wikipedia, January 2009wikipedia

© Keith Vander Linden, 2005 Jeremy D. Frens, The Digital Divide ● Not everyone has equal access to information technology. ● “I now realize how true it is that God does not show favoritism, but accepts men from every nation who hear him and do what is right.” - Acts 10:34-35 What’s the Big Idea