1 / 23

Today’s Topics

Today’s Topics. Chapter 6: System Unit Chapter 7: Input/Output and Storage. Chapter 6 System Unit. How Computers Represent Data. Bit (Binary Digit): smallest unit of information that a computer can work with (0 or 1) Kilobits Per Second (Kbps) = 125 characters

xanto
Download Presentation

Today’s Topics

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Today’s Topics • Chapter 6: System Unit • Chapter 7: Input/Output and Storage

  2. Chapter 6System Unit

  3. How Computers Represent Data • Bit (Binary Digit): smallest unit of information that a computer can work with (0 or 1) • Kilobits Per Second (Kbps) = 125 characters • Megabits Per Second (Mbps) = 125 pages • Gigabits Per Second (Gbps) = 125,000 pages • Byte: one unit of storage consisting of 8 bits • Kilobyte (K or KB) = 1 page • Megabyte (M or MB) = 1,000 pages • Gigabyte (G or GB) = 1,000 books • Terabyte (T or TB) = 1 million books

  4. Decimal Number System • 6 = (6 x 10^0) • 45 = (4 x 10^1) + (5 x 10^0) = 40 + 5 • 214 = (2 x 10^2) + (1 x 10^1) + (4 x 10^0) = 200 + 10 + 4

  5. Binary to Decimal Conversion • 0 = (0 x 2^0) = 0 • 1 = (1 x 2^0) = 1 • 10 = (1 x 2^1) + (0 x 2^0) = 2 + 0 = 2 • 11 = (1 x 2^1) + (1 x 2^0) = 2 + 1 = 3 • 101011 = (1 x 2^5) + (0 x 2^4) + (1 x 2^3) + (0 x 2^2) + (1 x 2^1) + (1 x 2^0) = 32 + 0 + 8 + 0 + 2 + 1 = 43

  6. Decimal to Binary Conversion • 2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0 = • 128 64 32 16 8 4 2 1 • To convert a decimal number to binary, first subtract the largest possible power of two, and keep subtracting the next largest possible power from the remainder, marking 1s in each position where this is possible and 0s where it is not.

  7. Decimal to Binary Conversion • 2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0 = • 128 64 32 16 8 4 2 1 = • 0 0 1 1 0 1 1 1 • 55 - 32 = 23 • 23 - 16 = 7 • 7 - 4 = 3 • 3 - 2 = 1 • 1 - 1 = 0

  8. Character Code • American Standard Code for Information Interchange (ASCII): used for the Internet • Extended Binary Coded Decimal Interchange Code (EBCDIC): used on IBM mainframe • Unicode: represents many foreign languages

  9. CPU Subcomponents • Control Unit: extracts instructions from memory and decodes and executes them • Machine Cycle or Processing Cycle • Instruction Cycle • Fetch: retrieves the next program instruction from memory • Decode: determines what the program is telling the computer to do • Execution Cycle • Execute: performs the requested instruction • Store: stores the results to an register or memory • Registers: Temporary Storage Locations in CPU • Arithmetic-Logic Unit

  10. CPU Performance • Data Bus: highway of parallel wires connecting CPU internal components • Word Size: maximum number of bits the CPU can process at once • System Clock: electronic circuit that generates pulses at a rapid rate and synchronizes the computer’s internal activities (GHz)

  11. Techniques to Improve CPU Performance • Superscalar Architecture: design of CPU that can execute more than one instruction per clock cycle • Pipelining: processing technique that feeds a new Instruction into CPU at every step of processing cycle • Data Dependency: result of a completed instruction to process the next one

  12. Techniques to Improve CPU Performance • Speculative Execution: processor executes and temporarily stores the next instruction in case it proves useful • Branch Prediction: processor tries to predict what will likely happen Example: IF A = B THEN C = C + 1 ELSE C = C - 1 END IF

  13. Techniques to Improve CPU Performance • Parallel Processing: technique that uses more than one processor running simultaneously

  14. Memory • Memory: chips that enable the computer to retain information • Random Access Memory (RAM): stores information temporarily • Read-Only Memory (ROM): prerecords instructions to start the computer and cannot be erased • Cache Memory: stores frequently or recently accessed program instructions and data

  15. Chapter 7Input/ Output and Storage

  16. Input Devices • Keyboard • Insertion Point: the location of the cursor that shows where text will appear when you type • Toggle Key: the key that has only two positions which are on and off • Example: Caps Lock Key • Function Keys: keys that provide different commands, depending on the program in use • http://www.compukiss.com/sandyclassroom/tutorials/article894.htm

  17. Input Devices • Keyboard • Modifier Keys: the keys that have no effect unless holding them down and pressing a second key • Ctrl + A • Ctrl + X • Ctrl + C • Ctrl + V • Ctrl + Home • Ctrl + End • Window + D

  18. Input Devices • Mouse • Trackball • Pointing Stick • Touch Pad (Track Pad) • Joystrick • Touch Screen • Light Pen • Stylus • Microphone • Scanner • Bar Code Reader

  19. Output Devices • Monitor • Liquid Crystal Display (LCD) / Flat-Panel Display • High Definition Television (HDTV) • Screen Size • Resolution: sharpness of an image • Refresh Rate: frequency at which the screen image is updated in Hz

  20. Output Devices • Printer • Inkjet Printer (Bubble-Jet Printer) • Laser Printer • Plotter • Projector

  21. Storage • RAM VS Storage • Storage devices are non-volatile: retaining data when the current is switched off • Storage devices are cheaper than memory • Storage devices are important in system startup operations • Storage devices are needed for output

  22. Storage • Hard Disk Drive • File Allocation Table (FAT): table that keeps track the location of files in MS Windows • Partition: section of a disk enabling computers to work with more than one OS • Internet Hard Drive: storage space on a server that is accessible from the Internet

  23. Storage • Floppy Disk: 1.44 MB • Zip Disk: 750 MB • CD-ROM/ CD-R/ CD-RW: 650 MB • DVD-ROM/ DVD-R/ DVD-RW: 17 GB • FMD-ROM: 1 TB • Solid-State Storage Devices • PC Card (PCMCIA) • Flash Memory Card • Smart Card

More Related