CSE1301 Sem 2-2003 July 24, 2003 CSI 121 Structured Programming Language Lecture 1 Computer Systems Overview Lecture 1: Computer Systems Overview.

Slides:



Advertisements
Similar presentations
Calera High School Dawn Bone
Advertisements

Chapter 4 The Components of the System Unit
The Central Processing Unit: What Goes on Inside the Computer.
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Parts & Functions of a Computer. 2 Functions of a Computer.
1 Core Ingredients of Computing A “universal” machine Programmability Binary Code (everything stored as “0” or “1”) Program and Data are interchangeable.
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
Computer Hardware Processing and Internal Memory.
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview.
Chapter 4 The Components of the System Unit
Computers Chapter 4 Inside the Computer © 2005 Prentice-Hall, Inc.Slide 2.
Introduction to Networking CCNA 1, Module 1 By Steven Beckwith.
Computer Hardware In this lecture, we will study:
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview Joselito (Joey) Chua
UNIT 9 Computer architecture
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
V Material obtained from summer workshop in Guildford County.
Chapter 3 – Computer Hardware Computer Components – Hardware (cont.) Lecture 3.
S3 Computer Literacy Computer Hardware. Overview of Computer Hardware Motherboard CPU RAM Harddisk CD-ROM Floppy Disk Display Card Sound Card LAN Card.
A+ Guide to Managing and Maintaining your PC, 6e Chapter 1 Introducing Hardware.
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.
An Introduction to Hardware, Software, and the Internet
Introduction to Computers Personal Computing 10. What is a computer? Electronic device Performs instructions in a program Performs four functions –Accepts.
B.A. (Mahayana Studies) Introduction to Computer Science November March The Motherboard A look at the brains of the computer, the.
Computers: Information Technology in Perspective By Long and Long Copyright 2002 Prentice Hall, Inc. Computers: Information Technology in Perspective.
Computer Processing of Data
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
CPU (CENTRAL PROCESSING UNIT): processor chip (computer’s brain) found on the motherboard.
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.
1 Inside the Computer Chapter 6 Copyright Prentice-Hall, Inc
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
Chapter 1 1.  The computer system consists of: 1. Hardware: Physical Components, like the system unit,monitor,keyboard, mouse, camera, printer … etc.
1 Introduction to Computers Prof. Sokol Computer and Information Science Brooklyn College.
Computer Basics By: Nicole Hayes. Purposes of Computers Business – Track inventory. – Calculate payroll. – Maintain databases. Personal – Surf the web.
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.
Computing and the Web Computer Hardware Components.
An overview of Computer System
IT Groundwork ICS3UC - Unit 1 Hardware. Overview of Computer System.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Computers © 2005 Prentice-Hall, Inc.Slide 1. Computers Chapter 4 Inside the Computer © 2005 Prentice-Hall, Inc.Slide 2.
General Concepts of Computer Organization Overview of Microcomputer.
COMPUTER BASICS Computer Technology. WHAT IS A COMPUTER?  Electronic  Accepts data and instructions  Manipulates, processes, and displays the information.
Computer Systems. This Module Components Home PC Inputs Processor Memory Motherboards Auxiliary Storage Outputs.
CSCI-100 Introduction to Computing Hardware Part I.
1 Course Title: IT IN BUSINESS Course Instructor: ADEEL ANJUM Chapter No: 04 1 BY ADEEL ANJUM (MCS, CCNA,WEB DEVELOPER)
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Introduction to Hardware. What is binary? We use the decimal (base 10) number system Binary is the base 2 number system Ten different numbers are used.
Semester One 2001/2002 Sheffield Hallam University1 What does a PC do? computers collect, process, store, and communicate information Collect via input.
Academic PowerPoint Computer System – Architecture.
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview Linda M c Iver
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,
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),
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
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.
Basic Computer Hardware and Software.
CSE1301 Computer Programming: Lecture 1 Computer Systems Overview
Computers © 2005 Prentice-Hall, Inc. Slide 1.
Introduction to Computers
Chapter Three Computer Hardware Chapter 3- Computer Hardware.
Introduction to Computers
Computers (Hardware and Software)
Lecture 3 The Hardware.
Computer Electronic device Accepts data - input
Chapter Three Computer Hardware Chapter 3- Computer Hardware.
Introduction to Computers
Presentation transcript:

CSE1301 Sem 2-2003 July 24, 2003 CSI 121 Structured Programming Language Lecture 1 Computer Systems Overview Lecture 1: Computer Systems Overview

Algorithm: Program: C eureka! CSE1301 Sem 2-2003 July 24, 2003 eureka! Algorithm: A set of instructions describing how to do a task (or process) Program: C Lecture 1: Computer Systems Overview

Topics Hardware components Computer networks CSE1301 Sem 2-2003 July 24, 2003 Topics Hardware components Computer networks Lecture 1: Computer Systems Overview

Transistor Binary digit or “bit”: 0  off 1  on Collector Base CSE1301 Sem 2-2003 July 24, 2003 Transistor Base Collector Emitter “Water Transistor” “semi-conductor” Binary digit or “bit”: 0  off 1  on Lecture 1: Computer Systems Overview

Transistor (cont) off : 0 Collector Base Emitter CSE1301 Sem 2-2003 July 24, 2003 Transistor (cont) Collector Base Emitter off : 0 Lecture 1: Computer Systems Overview

Transistor on : 1 Collector Base Emitter CSE1301 Sem 2-2003 July 24, 2003 Transistor Collector Base Emitter on : 1 Lecture 1: Computer Systems Overview

Transistor Base Collector Emitter Modern-day “chips” (about 3 x 3 mm in size) can contain millions of transistors

Gates Gate: a group of transistors CSE1301 Sem 2-2003 July 24, 2003 Gates Gate: a group of transistors Gates are switches that distinguish between two electrical voltages: Current is low => 0 Current is high => 1 Types: AND Gate OR Gate NOT Gate Lecture 1: Computer Systems Overview

Example: AND Gate A B A AND B A AND B A B A B 1 A AND B

Gates and Boolean Algebra A OR B OR Gate AND Gate A B A AND B 1 1 1 1

Gates and Boolean Algebra (cont) NOT Gate A NOT A 1

Gates and Boolean Algebra (cont) A sequence of bits at a time: A = 1 1 0 0 1 1 0 1 B = 0 1 1 0 0 1 1 0 A AND B = Most PCs do 32 bits at a time (“32-bit machines”), others as many as 128 bits at a time

Gates are the basic building blocks of computers CSE1301 Sem 2-2003 July 24, 2003 0 or 1 Gates are the basic building blocks of computers Lecture 1: Computer Systems Overview

Hardware Components of a Typical Computer Peripheral Devices Central Processing Unit (CPU) Memory "Buses" allow components to pass data to each other

Hardware Components of a Typical Computer -- CPU CSE1301 Sem 2-2003 July 24, 2003 Hardware Components of a Typical Computer -- CPU Memory Peripheral Devices Central Processing Unit (CPU) Central Processing Unit (CPU) performs the basic operations consists of two parts: Arithmetic / Logic Unit (ALU) - data manipulation Control Unit - coordinate machine’s activities Lecture 1: Computer Systems Overview

Hardware Components of a Typical Computer -- Memory Peripheral Devices Central Processing Unit (CPU) Memory Main Memory holds programs and data stores bits in fixed-sized chunks: “word” (8, 16, 32, or 64 bits) each word is stored in a cell, which has a unique address the cells can be accessed in any order => random-access memory or “RAM”

Bits, Bytes, Kilo-, Mega-, Giga-, … CSE1301 Sem 2-2003 July 24, 2003 Bits, Bytes, Kilo-, Mega-, Giga-, … A bit: 0 or 1 A word: chunk of bits (8, 16, 32 or 64 bits) a byte = 8 bits a kilobyte = 210 bytes = 1024 bytes a megabyte = 1024 KB = 220 bytes = 1,048,576 bytes a gigabyte = 1024 MB = 230 bytes a terabyte = 1024 GB = 240 bytes Lecture 1: Computer Systems Overview

Hardware Components of a Typical Computer -- Peripherals CSE1301 Sem 2-2003 July 24, 2003 Hardware Components of a Typical Computer -- Peripherals Peripheral Devices Central Processing Unit (CPU) Memory Peripheral devices – communicate with the outside world store data long term Lecture 1: Computer Systems Overview

CSE1301 Sem 2-2003 July 24, 2003 Hardware Components of a Typical Computer – Peripheral Devices that Communicate with the Outside World Peripheral Devices Central Processing Unit (CPU) Memory Input/Output (I/O) Input: keyboard, mouse, microphone, scanner, sensors (camera, infra-red), punch-cards Output: video, printer, audio speakers, etc Communication modem, ethernet card Lecture 1: Computer Systems Overview

Hardware Components of a Typical Computer – Peripheral Devices that Store Data Long Term Secondary (mass) storage Stores information for long periods of time as files Examples: hard drive, floppy disk, tape, CD-ROM (Compact Disk Read-Only Memory)

Features of Computers – Speed CPU Speed CSE1301 Sem 2-2003 July 24, 2003 Features of Computers – Speed CPU Speed One cycle Example Clock CPU clock speed: in cycles per second ("hertz") Example: 700MHz Pentium III, 3.2GHz P4 but different CPU designs do different amounts of work in one clock cycle (e.g. P4 vs G5) “flops” (floating-point operations per second) “mips” (million instructions per second) Lecture 1: Computer Systems Overview

Features of Computers – Speed System-Clock/Bus Speed CSE1301 Sem 2-2003 July 24, 2003 Features of Computers – Speed System-Clock/Bus Speed communication between CPU, memory and peripheral devices depends on main board (a.k.a. "motherboard") design Examples: Intel 3.60GHz Pentium-4 works on a 200MHz bus speed 50MHz, 60MHz, 66MHz, 100Mhz, 133MHz, 200MHz, 266MHz, and rising Quad-pumped multiplies by 4 Lecture 1: Computer Systems Overview

Features of Computers – Speed Memory-Access Speed CSE1301 Sem 2-2003 July 24, 2003 Features of Computers – Speed Memory-Access Speed RAM about 50ns (1 nanosecond = a billionth of a second), and getting faster may be rated with respect to “bus speed’’ (e.g., PC-100, PC-133, etc) Cache memory faster than main memory (less than 20ns access speed), but more expensive contains data which the CPU is likely to use next Lecture 1: Computer Systems Overview

Features of Computers – Speed Peripheral-Device Speed CSE1301 Sem 2-2003 July 24, 2003 Features of Computers – Speed Peripheral-Device Speed Mass storage Examples: 3.5in 1.4MB floppy disk: about 500kb/sec at 300 rpm (revolutions per minute) 3.5in hard disk: average seek time about 8.5 microseconds, and 7,200 rpm Communications Examples: modems at 56 kilobits per second, and network cards at 10 or 100 megabits per second I/O Examples: ISA, PCI, IDE, SCSI, ATA, USB, etc.... Lecture 1: Computer Systems Overview

Features of Computers -- Reliability CSE1301 Sem 2-2003 July 24, 2003 Features of Computers -- Reliability Factors that affect reliability: heat, ventilation, “over-clocking”, power surges Most system failures are due to software flaws rather than hardware Lecture 1: Computer Systems Overview

Modes of communication CSE1301 Sem 2-2003 July 24, 2003 Modes of communication Parallel communication: all the bits are transferred at the same time each bit on a separate line 1 1 Serial communication: one bit at a time Lecture 1: Computer Systems Overview

Modems (MOdulator-DEModulator) CSE1301 Sem 2-2003 July 24, 2003 Modems (MOdulator-DEModulator) Modem Remote Computer Digital Data Audio signal phone lines Home Computer Digital Data Modem Lecture 1: Computer Systems Overview

Computer Networks Types Local Area Networks (LAN) Long Haul Networks Computers in an organization Example: the PCs in the lab Long Haul Networks Separated by hundreds or thousands of miles Physical wires, telephone lines, satellites, etc Example: Internet “backbone”

Computer Networks – Method of Communication Each computer has an address Example: IP address of www.monash.edu.au is 130.194.11.149 A sender computer transmits data through the network in packets; each packet is tagged with the destination and return address When data is too big to fit in one packet, the sender computer can split the data into several packets, labeled in sequence

Computer Networks – Method of Communication (cont) CSE1301 Sem 2-2003 July 24, 2003 Computer Networks – Method of Communication (cont) The packets are sent via links from computer to computer (“routing”) Each intermediate computer receives and retransmits the message (“hops”) The packets do not necessarily arrive in the order in which they were sent The recipient computer puts the packets in correct sequence and retrieves the data Lecture 1: Computer Systems Overview

Summary Transistors, gates, chips, hardware Computer = CPU + Memory + I/O Devices Networks, modems Jargon and acronyms

Further Reading Brookshear: Deitel&Deitel (2/e) CSE1301 Sem 2-2003 July 24, 2003 Further Reading Brookshear: 4/e (1994): 1.1, 1.2, 2.6, 3.8 5/e (1997): 1.1 - 1.3, 2.6, 3.5 6/e (2000): 1.1 - 1.3, 2.5, 3.5 Deitel&Deitel (2/e) 1.2 to 1.5 Lecture 1: Computer Systems Overview