Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Computers are only tools,  designed by people,  programmed by people, and  used by people Computers exist to benefit and assist people, not.

Similar presentations


Presentation on theme: "Computer Computers are only tools,  designed by people,  programmed by people, and  used by people Computers exist to benefit and assist people, not."— Presentation transcript:

1 Computer Computers are only tools,  designed by people,  programmed by people, and  used by people Computers exist to benefit and assist people, not to replace them Computers are depending upon people

2 The von Neumann Machine Dr. John von Neumann, American mathematician, presented the stored program concept (in 1945)  both data and instructions are stored in a single read-write memory  the read-write memory are addressed by location, without regard to the type of data  execution occurs in sequence fashions (unless explicitly modified) from one instruction to the next

3 The System Unit What is the system unit? p. 180 Fig. 4-1  Case that contains electronic components of the computer used to process data  Sometimes called the chassis

4 The System Unit What are common components inside the system unit? p. 181 Fig. 4-2  Memory  Adapter cards  Sound card  Modem card  Video card  Network card  Ports  Drive bays  Power supply power supply ports drive bays processor memory sound card video card modem card network card  Processor

5 The System Unit What is the motherboard? Next  Main circuit board in system unit  Contains adapter cards, processor chips, and memory chips  Also called system board processor chip adapter cards memory chips memory slots motherboard Expansion slots for adapter cards

6 The Components of a computer Arithmetic/Logic Unit (ALU) Control Unit Register(s) CPU Main Memory Input DeviceOutput Device Secondary Memory

7 Processor Control Unit Arithmetic Logic Unit (ALU) Processor What is the central processing unit (CPU)? Input Devices Storage Devices Output Devices  Interprets and carries out basic instructions that operate a computer Memory DataInformation Instructions Data Information Control Unit  Control unit directs and coordinates operations in computer  Arithmetic logic unit (ALU) performs arithmetic, comparison, and logical operations  Also called the processor

8 CPU (Central Processing Unit) The most complex computer’s component The brain and the heart of the computer Determines whether a computer is fast or slow in relation to other computers

9 CPU (Central Processing Unit) Controls the overall operation and performs arithmetic and logic functions of the computer Consists of 3 important parts  Arithmetic and logic unit (ALU)  Control unit  Registers

10 ALU (Arithmetic and Logic Unit) The functional unit of a computer hardware system that carries out all of the arithmetic operations  add  subtract  multiply  divide and all logical operations:  AND  OR  NOT

11 Control Unit Acts like a traffic cop who directs the flow of data throughout the system It is the functional unit that  starts execution of the program  controls sequence of execution  controls read/write on main memory  controls operations of ALU  initiates and controls input/output (I/O) operations on various I/O devices

12 Processor Control Unit Memory ALU Processor What is a machine cycle? Step 1. Fetch Obtain program instruction or data item from memory Step 2. Decode Translate instruction into commands Step 4. Store Write result to memory Step 3. Execute Carry out command  Four operations of the CPU comprise a machine cycle

13 Stores location from where instruction was fetched Processor Stores instruction while it is being decoded What is a register? p. 185 Stores data while ALU computes it Stores results of calculation  Temporary high-speed storage area that holds data and instructions

14 Processor What is the system clock? Each tick is a clock cycle Pace of system clock is clock speed Most clock speeds are in the gigahertz (GHz) range (1 GHz = one billion ticks of system clock per second) Processor speed can also be measured in millions of instructions per second (MIPS)  Controls timing of all computer operations  Generates regular electronic pulses, or ticks, that set operating pace of components of system unit

15 Processor How do personal computer processors compare? Comparison of Widely Used Personal Computer Processors NameDateClock IntroducedSpeed Itanium 22002 1.3–1.5 GH Z Xeon20011.4–3.06 GH Z Itanium2001733–800 MH Z Pentium 42000 1.4–3.2 GH Z Pentium III Xeon1999 500–900 MH Z Pentium III1999 400 MH Z –1.4 GH Z Celeron1998266 MH Z –2.6 GH Z Operon2003 2–2.4 GH Z Athlon MP20021.53–2.25 GH Z Athlon XP20011.33–2.26 GH Z Athlon 1999 500 MH Z –1.4 GH Z ™

16 Processor Which processor should you select?  The faster the processor, the more expensive the computer Celeron Itanium or Xeon Pentium family 1.3 GHz and up 3.0 GHz and up 2.4 GHz to 3.0 GHz Up to 2.4 GHz 2.2 GHz and up Intel ProcessorDesired Clock Speed

17 Processor What is parallel processing? p. 190 Fig. 4-12 Control Processor Processor 1 Memory Processor 2 Memory Processor 3 Memory Processor 4 Memory Results combined  Using multiple processors simultaneously to execute a program faster  Requires special software to divide problem and bring results together

18 Data Representation How do computers represent data? p. 191 Fig. 4-13  Recognize only two discrete states: on or off  Use a binary system to recognize two states  Use Number system with two unique digits: 0 and 1, called bits (short for binary digits)  Most computers are digital

19 Data Representation What is a byte? p. 191 Fig. 4-14  Eight bits grouped together as a unit  Provides enough different combinations of 0s and 1s to represent 256 individual characters  Numbers  Uppercase and lowercase letters  Punctuation marks

20 Data Representation What are three popular coding systems to represent data? p. 192 Fig. 4-15  ASCII—American Standard Code for Information Interchange  EBCDIC—Extended Binary Coded Decimal Interchange Code  Unicode—coding scheme capable of representing all world’s languages ASCIISymbolEBCDIC 00110000011110000 00110001111110001 00110010211110010 00110011311110011

21 Data Representation How is a letter converted to binary form and back? p. 193 Fig. 4-16 Step 1. The user presses the capital letter D (shift+D key) on the keyboard. Step 2. An electronic signal for the capital letter D is sent to the system unit. Step 3. The signal for the capital letter D is converted to its ASCII binary code (01000100) and is stored in memory for processing. Step 4. After processing, the binary code for the capital letter D is converted to an image, and displayed on the output device.

22 Memory What is memory? p. 193 Fig. 4-17  Electronic components that store instructions, data, and results  Consists of one or more chips on motherboard or other circuit board  Each byte stored in unique location called an address, similar to seats on a passenger train Seat #2B4Seat #2B3

23 Main Memory Temporarily holds data and instructions needed by the CPU Called primary memory (storage), internal memory or random access memory (RAM) Random Access Memory– data can be stored and retrieved at random in approximately equal amounts of time, no matter what the specific data locations are

24 Memory How is memory measured? p. 194 Fig. 4-18 TermAbbreviationApproximate Size KilobyteKB or K1 thousand bytes MegabyteMB1 million bytes GigabyteGB1 billion bytes TerabyteTB1 trillion bytes  By number of bytes available for storage

25 Memory What is random access memory (RAM)? p. 195 The more RAM a computer has, the faster it responds Also called main memory or primary storage Most RAM is volatile, it is lost when computer’s power is turned off Memory chips that can be read from and written to by processor

26 Memory How do program instructions transfer in and out of RAM? Step 1. When you start the computer, certain operating system files are loaded into RAM from the hard disk. The operating system displays the user interface on the screen. Operating system instructions Web browser instructions Word processing program instructions Operating system interface Web browser window Word processing program window RAM Web browser program instructions are removed from RAM Web browser window no longer is displayed on desktop Step 2. When you start a Web browser, the program’s instructions are loaded into RAM from the hard disk. The Web browser window is displayed on the screen. Step 3. When you start a word processing program, the program’s instructions are loaded into RAM from the hard disk. The word processing program, along with the Web Browser and certain operating system instructions are in RAM. The word processing program window is displayed on the screen. Step 4. When you quit a program, such as the Web browser, its program instructions are removed from RAM. The Web browser no longer is displayed on the screen.

27 Faster variations of DRAM are SDRAM and RDRAM Used for special applications such as cache Most common type Faster and more reliable than DRAM chips Memory What are two basic types of RAM chips? p. 196 Static RAM (SRAM) Dynamic RAM (DRAM) Future: Magnetoresistive RAM (MRAM)

28 Memory Where does memory reside? p. 196 Fig. 4-20  Resides on small circuit board called memory module  Memory slots on motherboard hold memory modules memory chipmemory slot dual inline memory module

29 Memory p. 197 Fig. 4-21 How much RAM does an application require?  Software package typically indicates RAM requirements  For optimal performance, you need more than minimum specifications System Requirements Windows ® XP Home Edition/Professional Intel Pentium processor at 233MHZ or higher AMD K6 (Athlon Duron Family processor at 233MHZ or higher 64 MB of RAM

30 Memory How much RAM do you need? p. 197 Fig. 4-22  Depends on type of applications you intend to run on your computer RAM Use 128 to 256 MB256 to 1 GB1 GB and up Home and business users managing personal finance Using standard application software such as word processing Using educational or entertainment CD-ROMs Communicating with others on the Web Users requiring more advanced multimedia capabilities Running number-intensive accounting, financial, or spreadsheet programs Using voice recognition Working with videos, music, and digital imaging Creating Web sites Participating in video conferences Playing Internet games Power users creating professional Web sites Running sophisticated CAD, 3D design, or other graphics-intensive software

31 Memory What is cache?  L1 cache built into processor  L2 cache slower but has larger capacity  L2 advanced transfer cache is faster, built directly on processor chip  L3 cache is separate from processor chip on motherboard (L3 is only on computers that use L2 advanced transfer cache)  Helps speed computer processes by storing frequently used instructions and data  Also called memory cache

32 Memory What is read-only memory (ROM)? p. 198 Memory chips that store permanent data and instructions Nonvolatile memory, it is not lost when computer’s power is turned off Three types: Firmware — Manufactured with permanently written data, instructions, or information EEPROM ( e lectrically e rasable p rogrammable r ead- o nly m emory)— Type of PROM containing microcode programmer can erase PROM (programmable read-only memory)— Blank ROM chip onto which a programmer can write permanently

33 Memory What is access time? p. 200 Figs. 4-25-4-26  Amount of time it takes processor to read data from memory  Measured in nanoseconds (ns), one billionth of a second  It takes 1/10 of a second to blink your eye; a computer can perform up to 10 million operations in same amount of time TermSpeed MillisecondOne-thousandth of a second MicrosecondOne-millionth of a second NanosecondOne-billionth of a second PicosecondOne-trillionth of a second

34 Expansion Slots and Adapter Cards What is an adapter card? Types of Adapter Cards  Enhances system unit or provides connections to external devices called peripherals  Also called an expansion card

35 Expansion Slots and Adapter Cards What is an expansion slot? p. 201 Fig. 4-28  An opening, or socket, on the motherboard that can hold an adapter card  With Plug and Play, the computer automatically configures cards and other devices as you install them

36 Expansion Slots and Adapter Cards What are PC cards and flash memory cards?  A PC card adds memory, storage, sound, fax/modem, communications, and other capabilities to notebook computers  A flash memory card allows users to transfer data from mobile devices to desktop computers  Hot plugging allows you to insert and remove cards while computer is running

37 Ports and Connectors What are ports and connectors?  Port connects external devices to system unit  Connector joins cable to peripheral  Available in one of two genders: male and female

38 Ports and Connectors What are different types of connectors?

39 Ports and Connectors What is a serial port? p. 205 Fig. 4-34  Transmits one bit of data at a time  Connects slow-speed devices, such as mouse, keyboard, modem

40 Ports and Connectors What is a parallel port? p. 205 Fig. 4-35  Connects devices that can transfer more than one bit at a time, such as a printer

41 Third USB device connects to second USB device, and so on Second USB device connects to first USB device First USB device connects to USB port on computer Single USB port can be used to attach multiple peripherals in a daisy chain PCs typically have four to eight USB ports on front or back of the system unit Ports and Connectors What are USB ports? p. 206 USB (universal serial bus) port can connect up to 127 different peripherals together with a single connector type

42 Ports and Connectors What are special-purpose ports?  Allow users to attach specialized peripherals (digital video cameras, color printers, scanners, and disk drives) or transmit data to wireless devices

43 Buses What is a bus?  Channel that allows devices inside computer to communicate with each other  System bus connects processor and RAM  Bus width determines number of bits transmitted at one time  Word size is the number of bits processor can interpret and execute at a given time

44 Buses What is an expansion bus? p. 209 Fig. 4-39  Allows processor to communicate with peripherals


Download ppt "Computer Computers are only tools,  designed by people,  programmed by people, and  used by people Computers exist to benefit and assist people, not."

Similar presentations


Ads by Google