banner



Which Of The Computer Components Below Will Most Likely Draw More Power Than The Others

Computer Hardware

Computer Hardware

  • Computers have ii primary parts: hardware and software
  • Like pianoforte (hardware) and music (software)
  • In this section: hardware

The computer is an amazingly useful general-purpose engineering, to the point that now cameras, phones, thermostats, and more than are all now little computers. This section volition introduce major parts and themes of how estimator hardware works. "Hardware" refers the physical parts of the figurer, and "software" refers to the code that runs on the computer.

Chips and Transistors

  • Transistor - vital electronic building cake
    -Transistors are "solid state" - no moving parts
    -One of the most important inventions in history
    -"Switch" that nosotros can turn on/off with an electric signal
  • Silicon chip - fingernail sized slice of silicon
  • Microscopic transistors are etched onto silicon fries
  • Chips can contain billions of transistors
  • Chips are packaged in plastic, with trivial metallic legs
  • e.chiliad. CPU chips, retention fries, wink chips
  • Silicon (metalloid) vs. Silicone (soft substance on cooking utensils)

Here is a silicon chip inside its plastic package. I pulled this out of the e-waste pile at the Stanford CS building, and so information technology'south probably kind of sometime. This is a pocket-sized chip with just a few "pins" of electrical connectedness. Later nosotros'll see a bigger chip with hundreds of pins.
silicon chip in its plastic package

Inside the plastic bundle is a fingernail sized silicon chip with transistors and other components etched on its surface. Tiny wires connect the fleck to the outside. (CC licensed attribution sharealke iii. wikipedia user Zephyris)
silicon chip with tiny wires

Modern computers utilize tiny electronic components which tin can be etched onto the surface of a silicon chip. (See: wikipedia chip) Annotation that silicon (fries, solar panels) and silicone (soft rubbery fabric) are different!

The most common electronic component is the "transistor" which works as a sort of amplifying valve for a flow of electrons. The transistor is a "solid land" device, meaning it has no moving parts. It is a bones edifice block used to construct more complex electronic components. In particular, a "bit" (beneath) tin be built with an arrangement of 5 transistors. The transistor was invented in the early on 1950'due south, replacing the vacuum tube. Since then, transistors have been made smaller and smaller, allowing more and more than of them to exist etched onto a silicon flake.

Moore's Law

  • Transistors become 2x smaller well-nigh every 2 years
    - sometimes listed as virtually 18 months
  • Tin fit twice equally many transistors per chip
  • Due to better chip etching technology
    -Only a cutting edge chip factory costs more than ane billion dollars
  • Observation vs. scientific "constabulary"
  • ii Furnishings:
  • a. chips have twice the capacity every 2 years
    -speed does non double, capacity doubles which is still very useful
  • b. or keeping capacity constant, chips get smaller and cheaper every 2 years
  • (b) is why computers are now in cars, thermostats, greeting cards
  • Instance: $l MP3 thespian capacity every two years: 2GB, 4GB, 8GB, 16GB
  • Rule of thumb: 8x capacity every 6 years
  • 8x in 6 years may match your phone's capacity increase
  • Moore's law will probably not continue forever

Moore'southward constabulary (Gordon Moore, Intel co-founder) states that the density of transistors on a fleck doubles about every 2 years or then (sometimes listed every bit every xviii months). The increment is due to improved fleck making engineering science. It is non a scientific law, just a broad prediction that seems to keep working. More than broadly, information technology captures the idea that per dollar, estimator technology (not just transistors) gets exponentially meliorate as time goes forth. This is quite clear if you look at the cost or capability of computers/cameras etc. you have owned. Moore's Police results in more than capable computers (compare what an iPhone vii can do vs. the original iPhone) as well every bit cheaper computers (less capable computers evidence up everywhere, similar in thermostats and cars).

Computers in life: Control Systems

  • Control system: responds to external state
  • e.chiliad. machine engine: vary fuel mix based on temperature
  • e.g. set off the airbag on high G-forces from collision
  • Chips are a great, inexpensive style to build control systems
  • The pre-computer control systems did not piece of work so well
  • 1 reason cars piece of work and so much better today

Control Organization / Moore's Flashlight Demo

  • Maglite XL200 flashlight has a bit in information technology
  • Instance of a control arrangement
  • Moore's constabulary makes this awarding of a bit feasible
  • Flashlight converts angular position to brightness. (1-click)
  • Likewise has an angle to glimmer-speed mode. (two-clicks)

Computer Hardware - CPU, RAM, and persistent storage

Now let'southward talk virtually the three major parts that brand up a estimator -- CPU, RAM, and Persistent Storage. These three are found in all computers: laptops, smartphones, and tablets.

parts of the computer: cpu, ram, persistent storage

1. CPU

  • CPU - Fundamental Processing Unit of measurement
  • Acts like a brain: follows the instructions in the lawmaking
  • "general" - images, networking, math .. all on the CPU
  • Performs computations, eastward.1000. add together two numbers
  • vs. RAM and persistent storage which just store data
  • "gigahertz" = ane billion operations per second
  • A "two gigahertz" CPU performs 2 billion operations per 2d

CPU - Central Processing Unit of measurement - inevitably referred to as the "brains" of the computers. The CPU does the active "running" of code, manipulating data, while the other components have a more than passive function, such as storing data. When nosotros say that a calculator tin can "add together two numbers, a billion times a second" .. that'southward the CPU. When yous hit the Run push, the CPU ultimately "runs" your code. Afterwards on, we will complete the flick of how your Javascript code is run by the CPU.

Aside: CPU "Cores"

  • Modern CPU chips accept multiple "cores"
  • Each core is a semi-contained CPU
  • Key: having four cores is not 4x faster than having 1 core
  • i.east. iv cars does not get you there faster than 1 car
  • Diminishing returns
  • More than 4 cores is often useless

CPU Examples

  • east.chiliad. Run push button - "print information," practice some math
  • e.g. Send text message - format the bytes, send out the bytes, verify they were sent

CPU Variant: GPU - Graphics Processing Unit of measurement

  • Like the CPU, merely specialized to handle images
  • Computer games use the GPU heavily
  • Modernistic CPUs are by and large fast enough, more energy going into GPUs

2. RAM

  • RAM - Random Access Retention
  • Acts similar a whiteboard
  • Temporary, working storage bytes
  • RAM stores both lawmaking and data (temporarily)
  • due east.g. open an image in Photoshop
    - image data loaded into the bytes of RAM
  • e.yard. calculation ii to a number in a calculator
    - manipulating bytes in RAM
  • "persistent"
    -RAM is not persistent. State is gone when ability turned off
    -e.thousand. You're working on a physician, then power goes out and you lose your work (vs. "Save")

RAM - Random Access Memory, or merely "memory". RAM is the working scratchpad memory the computer uses to store code and data that are existence actively used. RAM is effectively a storage area of bytes under the control of the CPU. RAM is relatively fast and able to retrieve the value of any detail byte in a few nanoseconds (1 nanosecond is 1 billionth of a second). The other main feature of RAM is that it only keeps its state so long equally it is supplied with power -- RAM is not "persistent" storage.

Suppose you lot are working on your computer and it of a sudden loses power and the screen goes bare. Yous sympathise that what you were working on is gone. RAM has been wiped clean, leaving you only with what you last saved to disk (below).

RAM Examples

  • You have many tabs open in your browser
    - the data for each tab is in RAM
  • A programme is running
    - the code of the program is in RAM
  • A programme is manipulating a large image
    - the data of the image is in RAM
  • eastward.k. you lot tin run out of RAM - cannot open a new tab or program because all the RAM is in utilise
  • Aside: now phones have 2-4GB of RAM ... plenty for most purposes

3. Persistent Storage: Difficult Drive, Flash Drive

  • Persistent storage of bytes
  • "Persistent" means preserved fifty-fifty when not powered
  • e.chiliad. Hard drive - stores bytes as a magnetic pattern on a spinning deejay
    - aka "hard disk"
    - High pitch spinning audio y'all may have heard
  • Hard drives accept been the primary, persistent storage tech for a long time
  • But now wink is getting more pop.

How a Hard Drive Works Video (Webm is an open standard video format, works in Firefox and Chrome). 4:30 in the video to see some reading/writing of $.25.

Persistent Storage, Newer Engineering science: Flash

  • "Wink" is a transistor-like persistent storage technology
    "solid state" - no moving parts
    -aka "Flash drive"
    -aka "Wink retentiveness"
    -aka "SSD": Solid State Disk
  • Wink is meliorate than a hard bulldoze in every style merely cost - faster, more reliable, less power
  • Flash is more expensive per byte
  • Formats: usb key, SD card in camera, flash storage built into a telephone or tablet or computer
  • Flash used to be very expensive, so most computers used hard disks
  • Flash is getting cheaper (Moore'south law)
  • Withal per-byte, hard drives are still substantially cheaper
  • Not to be confused with "Adobe Wink", a proprietary media format
  • Alert: wink does not persist forever. It may non concord the bits by ten or twenty years. Nobody knows for sure

Persistent storage - long term storage for bytes as files and folders. Persistent means that the bytes are stored, even when ability is removed. A laptop might employ a spinning hard drive (too known as "hd") for persistent storage of files. Or information technology could use a "flash drive", likewise known as a Solid State Deejay (SSD), to store bytes on flash chips. The hard drive reads and writes magnetic patterns on a spinning metal deejay to store the bytes, while flash is "solid country": no moving parts, just silicon chips with tiny groups of electrons to store the bytes. In either example, the storage is persistent, in that information technology maintains its state even when the ability is off.

A flash drive is faster and uses less power than a hard disk. However, per byte, flash is significantly more expensive than hard bulldoze storage. Flash has been getting cheaper, so it may have over niches at the expense of hard drives. Wink is much slower than RAM, and so it is non a good replacement for RAM. Notation that Adobe Flash is an unrelated concept; it is a proprietary media format.

Wink storage is what underlies USB thumb drives, SD cards for use in cameras, or the built-in storage in a tablet or phone.

File System

  • How are the bytes in persistent storage organized?
  • e.g. Bytes on a flash drive?
  • "File system" - organize the bytes of persistent storage, files and folders
  • "File" - a proper noun, a handle to a block of bytes
  • due east.g. "flowers.jpg" refers to 48KB of image data bytes

file system organizes the bytes of persistent storage

The hard drive or flash drive provides persistent storage as a apartment area of bytes without much structure. Typically the hard disk or wink disk is formatted with a "file system" which organizes the bytes into the familiar pattern of files and directories, where each file and directory has a somewhat useful name like "resume.txt". When you connect the drive to a figurer, the reckoner presents the drive's file organization to the user, allowing them open files, motility file effectually, etc.

Substantially, each file in the file organisation refers to a block of bytes, and then the "flowers.jpg" name refers to a cake of 48KB of bytes which are the data of that epitome. The file system in effect gives the user a name (and probably an icon) for a block of information bytes, and allows the user to perform operations on that data, like movement it or copy information technology or open it with a program. The file system also tracks data nearly the bytes: how many there are, the time they were last modified.

Microsoft uses the proprietary NTFS file system, and Mac OS X has its Apple proprietary HFS+ equivalent. Many devices (cameras, MP3 players) use the very old Microsoft FAT32 file system on their flash cards. FAT32 is an old and archaic file organization, but it is good where wide support is of import.

Persistent Storage Examples

  • This ane is easy to understand, since you have used files and files sytems
  • e.one thousand. 100 separate 1 GB video files .. demand 100 GB of storage capacity

Pictures of Hardware

Beneath are images of a depression-terminate Shuttle estimator with a 1.8ghz CPU, 512MB of RAM, and a 160GB hard drive. It cost about $200 in around 2008. It bankrupt, and so became a classroom case.

Hither is the flat "motherboard", a little smaller than a 8.five x 11 piece of paper, that the diverse components plug in to. At the center is the CPU. At the far correct is the RAM memory. Just to the right of the CPU are a couple support chips. Prominently, one of the chips is covered with a copper "heatsink" .. this presses tightly against the chip, dissipating the heat from the chip into the surrounding air. The CPU also had a very big heatsink, simply it was removed to make the CPU visible.

  • Motherboard
  • CPU metal packet, held past lever
  • Copper heatsink

picture of motherboard

The CPU is held tightly against the motherboard past a lilliputian lever machinery. Here the machinery is released and then the CPU can be picked up. The fingernail sized CPU is packaged underneath this metal embrace which helps conduct the heat from the CPU upwardly to its heatsink. The grayness stuff on the metal chip embrace is "thermal paste", a textile which helps behave estrus from the fleck housing to its (not shown) heatsink.

  • CPU chip in metal package
  • Heatsink has been removed
  • Bottom of package .. many connections (footling wires)

cpu chip package

Flipping the CPU over shows the piddling gold pads on the lesser of the CPU. Each pad is continued past a very fine wire to a spot on the silicon scrap.

Hither is a picture show of another chip, but with the top packaging removed. You see the pinky-fingernail silicon chip at the center with the tiny transistor details etched onto information technology. At the chip border, see the very fine wires connecting parts of the chip to outside pads (CC licensed attribution sharealke 3. wikipedia user Zephyris)
silicon chip with tiny wires

Now looking from the side, the heatsink and the RAM memory card can be seen more clearly, sticking upwards from the motherboard.

  • RAM retention card
  • Plugs in to motherboard
  • 512 MB bill of fare (4 chips)

RAM is built with a few fries packaged together onto a petty card known equally a DIMM that plugs into the motherboard (dual inline memory module). Here we see the RAM DIMM removed from its motherboard socket. This is a 512MB DIMM built with 4 fries. A few years before, this DIMM might have required 8 chips in gild to store 512MB .. Moore's constabulary in action.

This is a hard bulldoze that connects to the motherboard with the visible standard SATA connector. This is a 160GB, "3.5 inch" bulldoze referring to the diameter of the spinning deejay inside; the whole drive is about the size of small paperback book. This is a standard disk size to utilize inside a desktop reckoner. Laptop computers utilise 2.5 inch drives, which are a bit smaller.

  • 160 GB difficult drive (persistent storage)
  • i.eastward. persistent
  • Connects to motherboard with standard SATA cable

This is a USB flash bulldoze that, like a hard bulldoze, provides persistent byte storage. This is as well known equally a "thumb drive" or "USB fundamental". It is essentially a USB jack continued to a flash storage chip with some back up electronics:

  • Flash drive (the other type of persistent storage)
  • i.eastward. persistent
  • Contains a flash flake, solid state
  • SD Card, similar idea

Here it is taken autonomously, showing the wink chip that actually stores the bytes. This chip can store nigh 1 billion $.25 .. how many bytes is that? (A: 8 bits per byte, and then that's most 125 MB)

Hither is a "SD Card" which provides storage in a photographic camera. It's very like to the USB flash drive, just a different shape.

Microcontroller - Cheap Computer Chip

  • Microcontroller
  • Complete calculator on i chip
  • Small CPU, RAM, storage (Moore's law)
  • Fleck can cost under $1
  • Car, microwave, thermostat

Arduino Computer

  • This is an "arduino" lath, microcontroller chip (CPU, RAM, storage all in i)
    --world wide web.arduino.cc
  • Equally depression as $10
  • Open source, free, not Windows only, tinkering
  • Fine art projection -- switches, sensors, lights

arduino microcontroller board

Source: https://web.stanford.edu/class/cs101/hardware-1.html

Posted by: hughesthind1949.blogspot.com

0 Response to "Which Of The Computer Components Below Will Most Likely Draw More Power Than The Others"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel