Monday, October 31, 2016


                                          COMPUTER                       

INTRODUCTION

  • A Computer is an electronic device which can accept data,store data,and information in its memory, process them and produce useful results.
  • Computer performs operations according to a set of instructions called program
  • Computer can do lot of different tasks such as railway reservation,weather forecasting,error detection,controlling the fight of a space aircraft etc
.

 CHARACTERISTICS OF A COMPUTER

  1. SPEED
  2. STORAGE CAPACITY
  3. ACCURACY
  4. RELIABILITY- Computer are immune to tiredness.
  5. VERSATILITY- Computer can perform various types of jobs efficiently.
  6. DILIGENCE- Can perform repetitive calculations.
  7. They have no feelings

WEAKNESS OR LIMITATIONS OF A COMPUTER

  1. Lack of decision making power
  2. No IQ- Computer are dumb machines,they need to be each and every step
  3. Reflects human error

                                 COMPUER UNITS



In computing and telecommunications, a unit of information is the capacity of some standard data storage system or communication channel, used to measure the capacities of other systems and channels. In information theory, units of information are also used to measure the information contents or entropy of random variables.

The most common units are the bit, the capacity of a system which can exist in only two states, and the byte (or octet), which is equivalent to eight bits. Multiples of these units can be formed from these with the SI prefixes (power-of-ten prefixes) or the newer IEC binary prefixes (binary power prefixes). Information capacity is a dimensionless quantity.[citation needed]

Primary units

Comparison of units of information: bit, trit, nat, ban. Quantity of information is the height of bars. Dark green level is the "Nat" unit.
In 1928, Ralph Hartley observed a fundamental storage principle,[1] which was further formalized by Claude Shannon in 1945: the information that can be stored in a system is proportional to the logarithm logb N of the number N of possible states of that system. Changing the basis of the logarithm from b to a different number c has the effect of multiplying the value of the logarithm by a fixed constant, namely logc N = (logc b) logb N. Therefore, the choice of the basis b determines the unit used to measure information. In particular, if b is a positive integer, then the unit is the amount of information that can be stored in a system with N possible states.

When b is 2, the unit is the shannon, equal to the information content of one "bit" (a contraction of binary digit[2]). A system with 8 possible states, for example, can store up to log28 = 3 bits of information. Other units that have been named include:

Base b = 3: the unit is called "trit", and is equal to log2 3 (≈ 1.585) bits.
Base b = 10: the unit is called decimal digit, hartley, ban, decit, or dit, and is equal to log2 10 (≈ 3.322) bits.
Base b = e, the base of natural logarithms: the unit is called a nat, nit, or nepit (from Neperian), and is worth log2 e (≈ 1.443) bits.
The trit, ban, and nat are rarely used to measure storage capacity; but the nat, in particular, is often used in information theory, because natural logarithms are sometimes more convenient than logarithms in other bases.

Units derived from bit
Several conventional names are used for collections or groups of bits.

Shave and a haircut
The name given to 2 bits. The name is a reference to the song, "Shave and a haircut".


Byte

Historically, a byte was the number of bits used to encode a character of text in the computer, which depended on computer hardware architecture; but today it almost always means eight bits — that is, an octet. A byte can represent 256 (28) distinct values, such as the integers 0 to 255, or -128 to 127. The IEEE 1541-2002 standard specifies "B" (upper case) as the symbol for byte. Bytes, or multiples thereof, are almost always used to specify the sizes of computer files and the capacity of storage units. Most modern computers and peripheral devices are designed to manipulate data in whole bytes or groups of bytes, rather than individual bits.


Nibble

A group of four bits, or half a byte, is sometimes called a nibble or nybble. This unit is most often used in the context of hexadecimal number representations, since a nibble has the same amount of information as one hexadecimal digit.[7]

Word, block, and page

Computers usually manipulate bits in groups of a fixed size, conventionally called words. The number of bits in a word is usually defined by the size of the registers in the computer's CPU, or by the number of data bits that are fetched from its main memory in a single operation. In the IA-32 architecture more commonly known as x86-32, a word is 16 bits, but other past and current architectures use words with 8, 24, 32, 36, 56, 64, 80 bits or others.

Some machine instructions and computer number formats use two words (a "double word" or "dword"), or four words (a "quad word" or "quad").

Computer memory caches usually operate on blocks of memory that consist of several consecutive words. These units are customarily called cache blocks, or, in CPU caches, cache lines.

Virtual memory systems partition the computer's main storage into even larger units, traditionally called pages.

Systematic multiples

Terms for large quantities of bits can be formed using the standard range of SI prefixes for powers of 10, e.g., kilo = 103 = 1000 (as in kilobit or kbit), mega- = 106 = 1000000 (as in megabit or Mbit) and giga = 109 = 1000000000 (as in gigabit or Gbit). These prefixes are more often used for multiples of bytes, as in kilobyte (1 kB = 8000 bit), megabyte (1 MB = 8000000bit), and gigabyte (1 GB = 8000000000bit).

However, for technical reasons, the capacities of computer memories and some storage units are often multiples of some large power of two, such as 228 = 268435456 bytes. To avoid such unwieldy numbers, people have often misused the SI prefixes to mean the nearest power of two, e.g., using the prefix kilo for 210 = 1024, mega for 220 = 1048576, and giga for 230 = 1073741824, and so on. For example, a random access memory chip with a capacity of 228 bytes would be referred to as a 256-megabyte chip. The table below illustrates these differences.


Multiples of bits v t e

Decimal

Value SI
1000 103 kbit kilobit
10002 106 Mbit megabit
10003 109 Gbit gigabit
10004 1012 Tbit terabit
10005 1015 Pbit petabit
10006 1018 Ebit exabit
10007 1021 Zbit zettabit
10008 1024 Ybit yottabit
Binary
Value IEC JEDEC
1024 210 Kibit kibibit Kbit kilobit
10242 220 Mibit mebibit Mbit megabit
10243 230 Gibit gibibit Gbit gigabit
10244 240 Tibit tebibit -
10245 250 Pibit pebibit -
10246 260 Eibit exbibit -
10247 270 Zibit zebibit -
10248 280 Yibit yobibit -
See also Nibble Byte Orders of magnitude of data
Symbol Prefix SI Meaning Binary meaning Size difference
k kilo 103   = 10001 210 = 10241 2.40%
M mega 106   = 10002 220 = 10242 4.86%
G giga 109   = 10003 230 = 10243 7.37%
T tera 1012 = 10004 240 = 10244 9.95%
P peta 1015 = 10005 250 = 10245 12.59%
E exa 1018 = 10006 260 = 10246 15.29%
Z zetta 1021 = 10007 270 = 10247 18.06%
Y yotta 1024 = 10008 280 = 10248 20.89%
In the past, uppercase K has been used instead of lowercase k to indicate 1024 instead of 1000. However, this usage was never consistently applied.

On the other hand, for external storage systems (such as optical disks), the SI prefixes were commonly used with their decimal values (powers of 10). There have been many attempts to resolve the confusion by providing alternative notations for power-of-two multiples. In 1998 the International Electrotechnical Commission (IEC) issued a standard for this purpose, namely a series of binary prefixes that use 1024 instead of 1000 as the main radix:[8]


v t e Multiples of bytes

Decimal

Value Metric
1000 kB kilobyte
10002 MB megabyte
10003 GB gigabyte
10004 TB terabyte
10005 PB petabyte
10006 EB exabyte
10007 ZB zettabyte
10008 YB yottabyte
Binary
Value IEC JEDEC
1024 KiB kibibyte KB kilobyte
10242 MiB mebibyte MB megabyte
10243 GiB gibibyte GB gigabyte
10244 TiB tebibyte
10245 PiB pebibyte
10246 EiB exbibyte
10247 ZiB zebibyte
10248 YiB yobibyte


Orders of magnitude of data

Symbol Prefix

Ki kibi, binary kilo 1 kibibyte (KiB) 210 bytes 1024 B
Mi mebi, binary mega 1 mebibyte (MiB) 220 bytes 1024 KiB
Gi gibi, binary giga 1 gibibyte (GiB) 230 bytes 1024 MiB
Ti tebi, binary tera 1 tebibyte (TiB) 240 bytes 1024 GiB
Pi pebi, binary peta 1 pebibyte (PiB) 250 bytes 1024 TiB
Ei exbi, binary exa 1 exbibyte (EiB) 260 bytes 1024 PiB
The JEDEC memory standards however define uppercase K, M, and G for the binary powers 210, 220 and 230 to reflect common usage.[9]


Size examples

1 bit – answer to a yes/no question
1 byte – a number from 0 to 255.
90 bytes: enough to store a typical line of text from a book.
512 bytes = ½ KiB: the typical sector of a hard disk.
1024 bytes = 1 KiB: the classical block size in UNIX filesystems.
2048 bytes = 2 KiB: a CD-ROM sector.
4096 bytes = 4 KiB: a memory page in x86 (since Intel 80386).
4 kB: about one page of text from a novel.
120 kB: the text of a typical pocket book.
1 MB – a 1024×1024 pixel bitmap image with 256 colors (8 bpp color depth).
3 MB – a three-minute song (133 kbit/s)
650-900 MB – a CD-ROM
1 GB – 114 minutes of uncompressed CD-quality audio at 1.4 Mbit/s
8/16 GB – size of a normal flash drive
4 TB – the size of a $150 hard disk (as of late 2014)
1.3 ZB – prediction of the volume of the whole internet in 2016.
Obsolete and unusual units[edit]

This section needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (September 2014) (Learn how and when to remove this template message)
Several other units of information storage have been named.[7]

1 bit: sniff.[citation needed]
2 bits: crumb,[10] quad, quarter, tayste, tydbit, semi-nibble.
3 bits: triad, triade[11][12]
5 bits: nickel, nyckle.[citation needed]
6 bits: byte (in early IBM machines using BCD alphamerics).
10 bits: declet,[13][14][15][16] decle,[17] deckle, dyme.[citation needed]
12 bits: slab[18][19][20]
16 bits: wyde,[21] doublet,[22] plate, playte, chomp, chawmp (on a 32-bit machine).[citation needed]
18 bits: chomp, chawmp (on a 36-bit machine).[citation needed]
32 bits: quadlet,[22] dinner, dynner, gawble (on a 32-bit machine).[citation needed]
48 bits: gobble, gawble (under circumstances that remain obscure).[citation needed]
64 bits: octlet.[22]
128 bits: hexlet.[22]
16 bytes: paragraph.[citation needed]
6 trits: tryte[23]
combit, comword[24][25][26]
Most of these names are jargon, obsolete, or used only in very restricted contexts.

                     ORGANIZATIONS OF COMPUTER

  • INPUT UNIT

  • It accepts the list of instructions and data from the outside world
  • It converts these instructions and data to the computer system.
                          Eg: Keyboard,Mouse,Light pen etc....

  • CENTRAL PROCESSING UNIT

  • The CPU is the control center or brain of any computer system
  • In a computer system,all major calculations and comparisons are made inside the CPU
  •  CPU is responsible for activating and controlling the operations of other units of a computer system.
                The CPU has two components which are responsible for the different functions.

  1. ARITHMETIC AND LOGIC UNIT
  2. CONTROL UNIT 


  1.  ARITHMETIC AND LOGIC UNIT 

          The Arithmetic and Logic unit is responsible for all arithmetic and logic operations.

  1. CONTROL UNIT       

           The main functions of control unit is to manage and coordinate the entire computer system

  •  OUTPUT UNIT

  •   It accepts the results produced by the computer which are in coded form and hence cannot be easily understood by us 
  • It converts there coded results to human acceptable form
  • It supplies the conve rted results to the outside world
             Eg: Visual Display Unit,Printer,Plotter.

  • MEMORY UNIT

  • To store all the data to be processed and the instructions required for processing. 
  • To store inter mediate results for processing
  • To store final results of processing before these results are released to an output device. 
             


















                                          COMPUTER                        INTRODUCTION A Computer is an electronic device which ca...