1 LBSC 690: Week 1 Computers and Networks Part I Jen Golbeck College of Information Studies University of Maryland.

Slides:



Advertisements
Similar presentations
Computer Organization. The Nature of Data Spreadsheets give us a way to create processes that manipulate data We can think of a piece of data as a quantity.
Advertisements

Hardware specification. The “brain” The brain processes instructions, performs calculations, and manages the flow of information through the body The.
The Central Processing Unit: What Goes on Inside the Computer.
SECTION 4a Transforming Data into Information.
Computer Hardware.
ENGR2216 FORTRAN PROGRAMMING FOR ENGINEERS. Chapter 1 The computer CPU MEMORY INPUT/OUTPUT DEVICES DATA REPRESENTATION BINARY SYSTEM OCTAL & HEXADECIMAL.
Hardware and Networking
LBSC 690 Session #1 Computers and Networks Jimmy Lin The iSchool University of Maryland Wednesday, September 3, 2008 This work is licensed under a Creative.
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Computing Week 1 LBSC 690 Information Technology.
Computer ArchitectureFall 2007 © November 7th, 2007 Majd F. Sakr CS-447– Computer Architecture.
Chapter 4 The Components of the System Unit
LBSC 690: Session 1 Computers and Networks Jimmy Lin College of Information Studies University of Maryland Monday, September 10, 2007.
1-1 ICS102: Introduction To Computing I King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
MIS 175 Spring Learning Objectives When you finish this chapter, you will: –Recognize major components of an electronic computer. –Understand how.
CPU Describe the purpose of the CPU
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
1 Computers and Networks Part I Jen Golbeck College of Information Studies University of Maryland.
Department of Computer Engineering Computer Programming for International Engineers I NTERNATIONAL S CHOOL OF E NGINEERING C HULALONGKORN U NIVERSITY.
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.
BLOCK DIAGRAM OF COMPUTER
Computer Organization Hardware and Software. Computing Systems Computers have two kinds of components: Hardware, consisting of its physical devices (CPU,
HARDWARE Lesson 2. Components of a computer: 1)A Processor (or CPU) The brain of the computer 2)Memory To remember the programs and data that it uses.
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
Writer:-Rashedul Hasan Editor:- Jasim Uddin
Computer Processing of Data
Principles of Information Systems, Sixth Edition Hardware: Input, Processing, and Output Devices Chapter 3.
What is a Computer ? Computers are Electronic Machines that process (performs calculation and manipulation) Data under the control of Set of Instructions.
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
 Design model for a computer  Named after John von Neuman  Instructions that tell the computer what to do are stored in memory  Stored program Memory.
Lesson 2 — How Does A Computer Process Data?
Introduction CSE 410, Spring 2008 Computer Systems
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computer Parts. Two Basic Parts Hardware & Software.
Course ILT Basics of information technology Unit objectives Define “information technology” (IT), distinguish between hardware and software, and identify.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
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.
Bits & Bytes A bit is the smallest amount of memory used to store information. A bit is represented by either a “0” or a “1”. “Bit” is a contraction of.
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 Computer Technology. WHAT IS A COMPUTER?  Electronic  Accepts data and instructions  Manipulates, processes, and displays the information.
CSCI-100 Introduction to Computing Hardware Part I.
Parts of the Computer System
Information Systems Session 2 LBSC 690 Information Technology.
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 Computers Rabie A. Ramadan, PhD. 2 Class Information Website ses/2011/summer/intro/
Academic PowerPoint Computer System – Architecture.
How are they called?.
HOW IT WORKS …. REVIEW: BINARY NUMBERS DECODE THIS MESSAGE
Succeeding with Technology Chapter 2 Hardware Designed to Meet the Need The Digital Revolution Integrated Circuits and Processing Storage Input, Output,
PARTS OF A COMPUTER 2 Hardware Computer Hardware is any of the physical parts of the computer you can touch. There are 4 categories: 1. Input Devices.
Welcome to Technology Application Jeopardy. Hardware More Hardware Jobs & Software Computer Types Storage
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, September 5, 2013 Session 1: Physical.
 A computer is an electronic device that receives data (input), processes data, stores data, and produces a result (output).  It performs only three.
Computer Systems Objectives: To gain an understanding of the types of computer systems. Be able to identify the main components. Understand the difference.
INFM 603: Information Technology and Organizational Context Jimmy Lin The iSchool University of Maryland Thursday, September 6, 2012 Session 1: Physical.
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Computer Hardware What is a CPU.
Unit 2 Technology Systems
HOW IT WORKS ….
Computer Science II Chapter 1.
King Saud University- College OF Applied Studies
Computer Hardware and Software
Computer Organization
Introduction to Computers
Introduction to Computers
Computer Hardware.
Presentation transcript:

1 LBSC 690: Week 1 Computers and Networks Part I Jen Golbeck College of Information Studies University of Maryland

2 Goals By the end of this class, you will… –Have a basic understanding of computers and networks –Know how to think about “space”, “time”, and “speed” –Understand of how computers store data and move data around –Be able to evaluate tradeoffs between different technologies

3 Binary 0s and 1s –Like turning a switch on or off Called base-2 because you can represent two values with a single digit –Compare to our normal system - decimal - or base 10, where you can represent 10 values with a single digit 1 =1 10 = 2 11 = = = 8

4 A Very Brief History of Computing Computer = “a person who computes” (< 1940’s) Hardware: all developed for the government –Mechanical: essentially a big adding machine – 213&t=OEgsToPDskI0eL9jVLGj8Pjyo01JHzC9&sk=1YfoP0M3x1lt4 xzsHNUfKAC&fs=1&title=Marble%20adding%20machinehttp://youtube.com/watch_fullscreen?video_id=GcDshWmhF4A&l= 213&t=OEgsToPDskI0eL9jVLGj8Pjyo01JHzC9&sk=1YfoP0M3x1lt4 xzsHNUfKAC&fs=1&title=Marble%20adding%20machine Analog: designed for calculus, limited accuracy –Digital: early machines filled a room –Microchips: designed for missile guidance Software: initial applications were military –Numeric: computing gun angles –Symbolic: code-breaking

5 Commercial Developments Mainframes (1960’s) Minicomputers (1970’s) Personal computers (1980’s) Networked computers (1990’s) Ubiquitous and embedded computers (2000’s)

6 The Processing Cycle Input comes from somewhere –Keyboard, mouse, microphone, camera, … –Fetch data from memory The system does something with it –Add, subtract, multiply, etc. Output goes somewhere –Monitor, speaker, printer, robot controls, … –Store data back into memory

7 Today’s Focus Storing and moving around data –Within a computer –Between computers Inside a single computer: connecting the processor with the memory Between multiple computers: computer networks

8 Thinking about Size What’s a bit? How much information can n bits represent? What’s the difference between decimal and binary? And octal? And hexadecimal?

9 Units of Size UnitAbbreviationSize (bytes) bitb1/8 byteB1 kilobyteKB2 10 = 1024 megabyteMB2 20 = 1,048,576 gigabyteGB2 30 = 1,073,741,824 terabyteTB2 40 = 1,099,511,627,776 petabytePB2 50 = 1,125,899,906,842,624 How do hard drive manufactures “cheat” you?

10 Units of Time UnitAbbreviationDuration (seconds) secondsec/s1 millisecondms10 -3 = 1/1,000 microsecond ss = 1/1,000,000 nanosecondns10 -9 = 1/1,000,000,000 picosecondps = 1/1,000,000,000,000 femtosecondfs = 1/1,000,000,000,000,000

11 Units of Frequency UnitAbbreviationCycles per second hertzHz1 kilohertzKHz10 3 = 1,000 megahertzMHz10 6 = 1,000,000 gigahertzGHz10 9 = 1,000,000,000

12 Thinking About Time Total “transfer time” is what counts –Time for first bit + time between first and last bits For long distances, the first factor is important –California: 1/80 of a second (by optical fiber) –London: 1/4 of a second (by satellite) For large files, the second factor dominates –Number of bits per second is limited by physics Latency: the amount of time it takes data to travel from source to destination Bandwidth: the amount of data that can be transmitted in a fixed amount of time

13 Thinking About Speed Speed can be expressed two ways: –How long to do something once? Memory speed measured as “access time” –How many things can you do in one second? Processor speed measured in “clock cycles per second” Bandwidth measured in “bits per second” Convenient units are typically used –“10 microseconds” rather than “ seconds” When comparing speeds, convert units first!

14 Moore’s Law What is it? –Gordon E. Moore, co-founder of Intel: number of components on an integrated circuit will double every 18 months (1965) Why is it important?

15 Illustration of Moore’s Law

16 Aside: The Gigahertz Race Intel Pentium 4: 3.80 GHz Apple G5: 2.7 GHz Intel Core Duo: 2.0 GHz What does it mean? Which is actually faster? Why is this important for consumers?

17 The CPU and the Memory CPU (Central Processor Unit) – where actual computation is performed Memory – location of data on which computation is performed Bus – moves data from memory to and from CPU Desiderata for memory: –Large –Fast –Cheap

18 Large, Fast, and Cheap Memory Impossible! (Why?) Engineering is all about compromise! Small, but fast… Large, but slow…

19 Locality Spatial locality: If the system fetched x, it is likely to fetch data located near x (Why?) Temporal locality: If the system fetched x, it is likely to fetch x again (Why?) Insight behind the storage hierarchy: move important data from slow, large memory to fast, small memory Cache: a place for concealment and safekeeping, as of valuables. (American Heritage Dict.) Caching strategies: what’s the most effective strategy for moving data around?

20 The Storage Hierarchy TypeSpeedSizeCost Registers< 1 ns512 bytesVery expensive Cache10 ns2 MBVery expensive RAM50 ns1 GBCheap Hard drive10 ms100 GBVery Cheap

21 Trading Speed for Space Hard disk is larger than RAM but much slower –10 ms access time and 500 GB is typical 200,000x slower/100x bigger than RAM! > 10 million times slower than the CPU! The initial access is the slow part –Subsequent bytes sent at 30 MB/sec (33 ns/byte) What happens if the data doesn’t all fit into RAM?

22 How Hard Drives Work from Shelly, Cashman, Vermaatt’s Discovering Computers 2004

23 Related Issues Forensic Document Recovery Defragmentation

24 Summary So Far… For computation to occur, data must be moved to and from memory Different type of memories represent different tradeoffs Caching strategies and the storage hierarchy give us the best of both worlds