Wednesday, February 23, 2011

Sunday, February 6, 2011

Output device

Output device



  • Printer - a device that produces a permanent human-readable text of graphic document.
    • Speakers - typically a pair of devices (2 channels) which convert electrical signals into audio. 
        • Headphones - for a single user hearing the audio.
          • Monitor - an electronic visual display with textual and graphical information from the computer.
            • CRT - (Cathode Ray Tube) display
            • LCD - (Liquid Crystal Display) as of 2010, it is the primary visual display for personal computers.
            • LED - (light-emitting diode) display
            • OLED - Organic Light-Emitting Diode
            •  
              Basic computer components


              Input devices
              Keyboard · Pointing device (Joystick · Light pen · Mouse · Touchpad · Touch screen) · Microphone · Scanner · Webcam


              Output devices
              Monitor  · Speakers  · Printer


              Removable data storage
              Floppy disk · Compact Disc Rewritable / DVD Drive  · USB flash drive · Memory card


              Computer case
              Central processing unit · RAM · Video card · Sound card · Motherboard · Power supply · Hard drive · Network interface controller


              Data ports
              Ethernet · Fire wire (IEEE 1394) · Parallel port · Serial port · Universal Serial Bus (USB)

Input and output peripherals


Input and output peripherals

 

Input and output devices are typically housed externally to the main computer chassis. The following are either standard or very common to many computer systems.

                                            
                                       Wheel Mouse


Input device


  • Pointing devices
    • Mouse - a pointing device that detects two dimensional motion relative to its supporting surface.
      • Optical Mouse - uses light to determine mouse motion.


  • Text input devices 
      • Keyboard - a device to input text and characters by depressing buttons (referred to as keys or buttons).
Trackball - a pointing device consisting of an exposed protruding ball housed in a socket that detects rotation about two axes.


    • Touch screen - senses the user pressing directly on the display






  • Gaming devices
    • Joystick - a control device that consists of a handheld stick that pivots around one end, to detect angles in two or three dimensions.
      • Game pad - a hand held game controller that relies on the digits (especially thumbs) to provide input.
        • Game controller - a specific type of controller specialized for certain gaming purposes.
          • Image, Video input devices 

              • Image scanner - a device that provides input by analyzing images, printed text, handwriting, or an object.
                  • Web cam - a video camera used to provide visual input that can be easily transferred over the internet.
                    • Audio input devices
                      • Microphone - an acoustic sensor that provides input by converting sound into electrical signals.
                      •  
 

    Sound card

    Sound card

    Enables the computer to output sound to audio devices, as well as accept input from a microphone. Most modern computers have sound cards built-in to the motherboard, though it is common for a user to install a separate sound card as an upgrade. Most sound cards, either built-in or added, have surround sound capabilities.
     

    Removable media devices

    Removable media devices




    • CD (compact disc) - the most common type of removable media, suitable for music and data.
      • CD-ROM Drive - a device used for reading data from a CD.
      • CD Writer - a device used for both reading and writing data to and from a CD.
    • DVD (digital versatile disc) - a popular type of removable media that is the same dimensions as a CD but stores up to 12 times as much information. It is the most common way of transferring digital video, and is popular for data storage.
      • DVD-ROM Drive - a device used for reading data from a DVD.
      • DVD Writer - a device used for both reading and writing data to and from a DVD.
      • DVD-RAM Drive - a device used for rapid writing and reading of data from a special type of DVD.
    • Blu-ray Disc - a high-density optical disc format for data and high-definition video. Can store 70 times as much information as a CD.
      • BD-ROM Drive - a device used for reading data from a Blu-ray disc.
      • BD Writer - a device used for both reading and writing data to and from a Blu-ray disc.
    • HD DVD - a discontinued competitor to the Blu-ray format.
    • Floppy disk - an outdated storage device consisting of a thin disk of a flexible magnetic storage medium. Used today mainly for loading RAID drivers.
    • Iomega Zip drive - an outdated medium-capacity removable disk storage system, first introduced by Iomega in 1994.


    • USB flash drive - a flash memory data storage device integrated with a USB interface, typically small, lightweight, removable, and rewritable. Capacities vary, from hundreds of megabytes (in the same ballpark as CDs) to tens of gigabytes (surpassing, at great expense, Blu-ray discs).
    • Tape drive - a device that reads and writes data on a magnetic tape, used for long term storage and backups.

    Secondary storage

     

    Hardware that keeps data inside the computer for later use and remains persistent even when the computer has no power.
    • Hard disk - for medium-term storage of data.
    • Solid-state drive - a device similar to hard disk, but containing no moving parts and stores data in a digital format.
    •  
    • RAID array controller - a device to manage several internal or external hard disks and optionally some peripherals in order to achieve performance or reliability improvement in what is called a RAID array.

    Power supply


    Power supply unit (computer)





    Inside a custom-built computer: the power supply at the bottom has its own cooling fan.
    A power supply unit (PSU) converts alternating current (AC) electric power to low-voltage DC power for the internal components of the computer. Some power supplies have a switch to change between 230 V and 115 V. Other models have automatic sensors that switch input voltage automatically, or are able to accept any voltage between those limits. Power supply units used in computers are nearly always switch mode power supplies (SMPS). The SMPS provides regulated direct current power at the several voltages required by the motherboard and accessories such as disk drives and cooling fans.


    Personal computer hardware


    Personal computer hardware

     

    A personal computer is made up of multiple physical components of computer hardware, upon which can be installed a system software called operating system and a multitude of software applications to perform the operator's desired functions.
    Though a PC comes in many different forms, a typical personal computer consists of a case or chassis in a tower shape (desktop), containing components such as a motherboard.


    Motherboard

     

    The motherboard is the main component inside the case. It is a large rectangular board with integrated circuitry that connects the rest of the parts of the computer including the CPU, the RAM, the disk drives (CD, DVD, hard disk, or any others) as well as any peripherals connected via the ports or the expansion slots.


    Components directly attached to the motherboard include:

    • The central processing unit (CPU) performs most of the calculations which enable a computer to function, and is sometimes referred to as the "brain" of the computer. It is usually cooled by a heat sink and fan.
    • The chip set mediates communication between the CPU and the other components of the system, including main memory.
    RAM (Random Access Memory) stores resident part of the current running OS (OS core and so on) and all running processes (applications parts, using CPU or input/output (I/O) channels or waiting for CPU or I/O channels).


    • The BIOS includes boot firmware and power management. The Basic Input Output System tasks are handled by operating system drivers.
    • Internal Buses connect the CPU to various internal components and to expansion cards for graphics and sound.
      • Current
        • The north bridge memory controller, for RAM and PCI Express
          • PCI Express, for expansion cards such as graphics and physics processors, and high-end network interfaces
        • PCI, for other expansion cards
        • SATA, for disk drives
      • Obsolete
        • ATA (superseded by SATA)
        • AGP (superseded by PCI Express)
        • VLB VESA Local Bus (superseded by AGP)
        • ISA (expansion card slot format obsolete in PCs, but still used in industrial computers)
    • External Bus Controllers support ports for external peripherals. These ports may be controlled directly by the south bridge I/O controller or based on expansion cards attached to the motherboard through the PCI bus.
      • USB
      • FireWire
      • eSATA
      • SCSI

    Saturday, February 5, 2011

    Networking and the Internet


    Computer networking and Internet





    Visualization of a portion of the routes on the Internet.
      


    Computers have been used to coordinate information between multiple locations since the 1950s. The U.S. military's SAGE system was the first large-scale example of such a system, which led to a number of special-purpose commercial systems like Saber.
    In the 1970s, computer engineers at research institutions throughout the United States began to link their computers together using telecommunications technology. This effort was funded by ARPA (now DARPA), and the computer network that it produced was called the ARPANET. The technologies that made the Arpanet possible spread and evolved.
    In time, the network spread beyond academic and military institutions and became known as the Internet. The emergence of networking involved a redefinition of the nature and boundaries of the computer. Computer operating systems and applications were modified to include the ability to define and access the resources of other computers on the network, such as peripheral devices, stored information, and the like, as extensions of the resources of an individual computer. Initially these facilities were available primarily to people working in high-tech environments, but in the 1990s the spread of applications like e-mail and the World Wide Web, combined with the development of cheap, fast networking technologies like Ethernet and ADSL saw computer networking become almost ubiquitous. In fact, the number of computers that are networked is growing phenomenally. A very large proportion of personal computers regularly connect to the Internet to communicate and receive information. "Wireless" networking, often utilizing mobile phone networks, has meant networking is becoming increasingly ubiquitous even in mobile computing environments.


    Multiprocessing


    Multiprocessing

     

     

     


    Cray designed many supercomputers that used multiprocessing heavily.



    Some computers are designed to distribute their work across several CPUs in a multiprocessing configuration, a technique once employed only in large and powerful machines such as supercomputers, mainframe computers and servers. Multiprocessor and multi-core (multiple CPUs on a single integrated circuit) personal and laptop computers are now widely available, and are being increasingly used in lower-end markets as a result.
    Supercomputers in particular often have highly unique architectures that differ significantly from the basic stored-program architecture and from general purpose computers. They often feature thousands of CPUs, customized high-speed interconnects, and specialized computing hardware. Such designs tend to be useful only for specialized tasks due to the large scale of program organization required to successfully utilize most of the available resources at once. Supercomputers usually see usage in large-scale simulation, graphics rendering, and cryptography applications, as well as with other so-called "embarrassingly parallel" tasks.

    Multitasking

    Computer multitasking


    While a computer may be viewed as running one gigantic program stored in its main memory, in some systems it is necessary to give the appearance of running several programs simultaneously. This is achieved by multitasking i.e. having the computer switch rapidly between running each program in turn.
    One means by which this is done is with a special signal called an interrupt which can periodically cause the computer to stop executing instructions where it was and do something else instead. By remembering where it was executing prior to the interrupt, the computer can return to that task later. If several programs are running "at the same time", then the interrupt generator might be causing several hundred interrupts per second, causing a program switch each time. Since modern computers typically execute instructions several orders of magnitude faster than human perception, it may appear that many programs are running at the same time even though only one is ever executing in any given instant. This method of multitasking is sometimes termed "time-sharing" since each program is allocated a "slice" of time in turn.
    Before the era of cheap computers, the principal use for multitasking was to allow many people to share the same computer.
    Seemingly, multitasking would cause a computer that is switching between several programs to run more slowly — in direct proportion to the number of programs it is running. However, most programs spend much of their time waiting for slow input/output devices to complete their tasks. If a program is waiting for the user to click on the mouse or press a key on the keyboard, then it will not take a "time slice" until the event it is waiting for has occurred. This frees up time for other programs to execute so that many programs may be run at the same time without unacceptable speed loss.

    Input/output

    Input/output (I/O)






    Hard disk drives are common storage devices used with computers.


    I/O is the means by which a computer exchanges information with the outside world. Devices that provide input or output to the computer are called peripherals. On a typical personal computer, peripherals include input devices like the keyboard and mouse, and output devices such as the display and printer. Hard disk drives, floppy disk drives and optical disc drives serve as both input and output devices. Computer networking is another form of I/O.
    Often, I/O devices are complex computers in their own right with their own CPU and memory. A graphics processing unit might contain fifty or more tiny computers that perform the calculations necessary to display 3D graphics Modern desktop computers contain many smaller computers that assist the main CPU in performing I/O.




    Computer data storage

    Memory

    Computer data storage













    Magnetic core memory was the computer memory of choice throughout the 1960s, until it was replaced by semiconductor memory.

    A computer's memory can be viewed as a list of cells into which numbers can be placed or read. Each cell has a numbered "address" and can store a single number. The computer can be instructed to "put the number 123 into the cell numbered 1357" or to "add the number that is in cell 1357 to the number that is in cell 2468 and put the answer into cell 1595". The information stored in memory may represent practically anything. Letters, numbers, even computer instructions can be placed into memory with equal ease. Since the CPU does not differentiate between different types of information, it is the software's responsibility to give significance to what the memory sees as nothing but a series of numbers.
    In almost all modern computers, each memory cell is set up to store binary numbers in groups of eight bits (called a byte). Each byte is able to represent 256 different numbers (2^8 = 256); either from 0 to 255 or −128 to +127. To store larger numbers, several consecutive bytes may be used (typically, two, four or eight). When negative numbers are required, they are usually stored in two's complement notation. Other arrangements are possible, but are usually not seen outside of specialized applications or historical contexts. A computer can store any kind of information in memory if it can be represented numerically. Modern computers have billions or even trillions of bytes of memory.
    The CPU contains a special set of memory cells called registers that can be read and written to much more rapidly than the main memory area. There are typically between two and one hundred registers depending on the type of CPU. Registers are used for the most frequently needed data items to avoid having to access main memory every time data is needed. As data is constantly being worked on, reducing the need to access main memory (which is often slow compared to the ALU and control units) greatly increases the computer's speed.
    Computer main memory comes in two principal varieties: random-access memory or RAM and read-only memory or ROM. RAM can be read and written to anytime the CPU commands it, but ROM is pre-loaded with data and software that never changes, so the CPU can only read from it. ROM is typically used to store the computer's initial start-up instructions. In general, the contents of RAM are erased when the power to the computer is turned off, but ROM retains its data indefinitely. In a PC, the ROM contains a specialized program called the BIOS that orchestrates loading the computer's operating system from the hard disk drive into RAM whenever the computer is turned on or reset. In embedded computers, which frequently do not have disk drives, all of the required software may be stored in ROM. Software stored in ROM is often called firmware, because it is notionally more like hardware than software. Flash memory blurs the distinction between ROM and RAM, as it retains its data when turned off but is also rewritable. It is typically much slower than conventional ROM and RAM however, so its use is restricted to applications where high speed is unnecessary.
    In more sophisticated computers there may be one or more RAM cache memories which are slower than registers but faster than main memory. Generally computers with this sort 
    of cache are designed to move frequently needed data into the cache automatically, often without the need for any intervention on the programmer's part.