Friday, January 28, 2011

cOmpUtEr dEsiGnS


A computer is a programmable machine that receives input, stores and automatically manipulates data, and provides output in a useful format.
Mechanical examples of computers have existed through much of recorded human history. The first electronic computers were developed in the mid-20th century (1940–1945). Originally, they were the size of a large room, consuming as much power as several hundred modern personal computers (PCs)
Modern computers based on integrated circuits are millions to billions of times more capable than the early machines, and occupy a fraction of the space.Simple computers are small enough to fit into mobile devices, and can be powered by a small battery. Personal computers in their various forms are icons of the Information Age and are what most people think of as "computers". However, the embedded computers found in many devices from MP3 players to fighter aircraft and from toys to industrial robots are the most numerous.
 The Functions of Computer

A general purpose computer has four main components: the arithmetic logic unit (ALU), the control unit, the memory, and the input and output devices (collectively termed I/O). These parts are interconnected by busses, often made of groups of wires.
Inside each of these parts are thousands to trillions of small electrical circuits which can be turned off or on by means of an electronic switch. Each circuit represents a bit (binary digit) of information so that when the circuit is on it represents a "1", and when off it represents a "0" (in positive logic representation). The circuits are arranged in logic gates so that one or more of the circuits may control the state of one or more of the other circuits.
The control unit, ALU, registers, and basic I/O (and often other hardware closely linked with these) are collectively known as a central processing unit (CPU). Early CPUs were composed of many separate components but since the mid-1970s CPUs have typically been constructed on a single integrated circuit called a microprocessor.




Control Unit of Computer

The control unit (often called a control system or central controller) manages the computer's various components; it reads and interprets (decodes) the program instructions, transforming them into a series of control signals which activate other parts of the computer Control systems in advanced computers may change the order of some instructions so as to improve performance.
A key component common to all CPUs is the program counter, a special memory cell (a register) that keeps track of which location in memory the next instruction is to be read from.
The control system's function is as follows—note that this is a simplified description, and some of these steps may be performed concurrently or in a different order depending on the type of CPU:
  1. Read the code for the next instruction from the cell indicated by the program counter.
  2. Decode the numerical code for the instruction into a set of commands or signals for each of the other systems.
  3. Increment the program counter so it points to the next instruction.
  4. Read whatever data the instruction requires from cells in memory (or perhaps from an input device). The location of this required data is typically stored within the instruction code.
  5. Provide the necessary data to an ALU or register.
  6. If the instruction requires an ALU or specialized hardware to complete, instruct the hardware to perform the requested operation.
  7. Write the result from the ALU back to a memory location or to a register or perhaps an output device.
  8. Jump back to step (1).
Since the program counter is (conceptually) just another set of memory cells, it can be changed by calculations done in the ALU. Adding 100 to the program counter would cause the next instruction to be read from a place 100 locations further down the program. Instructions that modify the program counter are often known as "jumps" and allow for loops (instructions that are repeated by the computer) and often conditional instruction execution (both examples of control flow).
It is noticeable that the sequence of operations that the control unit goes through to process an instruction is in itself like a short computer program—and indeed, in some more complex CPU designs, there is another yet smaller computer called a microsequencer that runs a microcode program that causes all of these events to happen.




Memory of the Computer

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.





eLeGanT bAthRoOM dEsigNS :)


A bathroom is a room that may have different functions depending on the culturalist context. In the most literal sense, the word bathroom means "a room with a bath". Because the traditional bathtubs have partly made way for modern showers, including steam showers, the more general definition is "a room where one bathes". There can be just a shower, just a bathtub or both; and often both plumbing fixtures are combined in the bathtub. The room may also contain a sink, often called a "wash basin" or "hand basin" and often a "lavatory".
In the United States, "bathroom" commonly means "a room containing a lavatory". In other countries this is usually called the "toilet" or alternatively "water closet" (WC), lavatory or "loo". The word "bathroom" is also used in the U.S. for a public toilet (the more formal U.S. term being "restroom").
In the United States, bathrooms are generally categorized as master bathroom, containing a shower and a tub that is adjoining to a master bedroom, a "full bathroom" (or "full bath"), containing four plumbing fixtures: bathtub, shower, toilet, and sink; "half (1/2) bath" (or "powder room") containing just a toilet and sink; and "3/4 bath" containing toilet, sink, and shower, although the terms vary from market to market. In some U.S. markets, a toilet, sink, and shower are considered a "full bath". This lack of a single, universal definition commonly results in discrepancies between advertised and actual number of baths in real estate listings. An additional complication is that there are currently two ways of notating the number of bathrooms in a dwelling. One method is to count a half bathroom as ".5" and then add this to the number of full bathrooms (e.g., "2.5" baths would mean 2 full baths and 1 half bath). The other, newer method is to put the number of full bathrooms to the left side of the decimal point and to put the number of half bathrooms to the right of the decimal point (e.g., "2.1" would mean 2 full baths and 1 half bath; "3.2" would mean 3 full baths and 2 half baths).
                Modern Bathroom Designs


While many of us still prefer the traditional bathroom look, those of us who can afford it prefer to have an artistic appeal to our powder rooms.

Key ingredients in modern bathroom designs are clean lines. Most will have minimal colors, and perhaps a blue hue as an accent. Metallics are often used as they seem futuristic, as is glass. You may also choose to mix stones with metals. Tiles can be a good way to do this. You can also soften the look of any bathroom by adding some flowers. Place a glass vase of white long-stemmed flowers on the counter. This will make a nice juxtapositions and bring an element of life into the room, making it seem inhabitable and lived in.

Some showers may seem to be time capsule-esque like the picture above. This uses the blue shades and glass doors in a stand up shower. The curved top gives it a futuristic appeal. While others are minimalist like the shapes below. These designs are connecting the sink and the bathtub together through a single piece of stone material. A sheet of glass allows you to see through to the inside. It almost appears as though you are in a fishbowl on a shelf on the wall. The shelf and mirror above mimic the modern bathroom designs. Everything is attached to the wall instead of being installed to the floor. This gives another feel of modernism. It also gives you more floor space, which is just another added benefit of the design.


This picture  of modern bathroom designs shows how you can use dark colors with porcelain as well. The walls are tiled in a dark blue stone, and the appliances are porcelain. Every line in this bathroom is straight except for the sink, toilet and bathtub. This gives the room some contrast in geometry as well as in color with the white against the dark. The circular shapes are repeated throughout the room, therefore giving the room a feeling of unity and tying it together. You can take a bath in the tub or you can use it as a shower. It is meant to be used by children as well, so you are not limited by its uses.
Instead of using flowers in this room, they have chosen to use cacti. You may think this is an odd choice of plant, but again it is not about the type of plant you choose but about the fact that some sort of living element is brought into the space. This makes it seem not so stuffy and it allows the space to seem more friendly and appealing. It also allows the space to seem more natural. The blue can seem like the sky and the red towel can seem like the sand of the dessert. It could represent your own oasis.


You can also choose a more tradtional usage with a modern appeal. The sinks, toilets, and tubs are no different from normal ones, but the design is different. If you look at the picture below, you will see that the cabinets for the sink and to the right of the sink are completely unique. They have graphics displayed on them and are not squarely shaped at all. They have painted the walls a lime green color and have geometric shapes. They have also left the floor completely white to keep with the clean look of the bathroom. Some have lines like this one, while others have different colored polka dots. This just shows that you do not have to purchase an entirely new bathroom in order to have modern bathroom designs