What Is Computer Programming Anyway?

Written by Shamsul


Continued from page 1

One binary data (that can be a 1 or a 0) is called a “bit”. For example a data “1001” is a 4 bit data. Where first bit is 1, second bit is 0, third bit is another 0 andrepparttar fourth bit is 1.

Bit isrepparttar 107643 computer terminology for “chunk”.

How instructions can be represented by bits?

One bit data can only represent 1 out of 2 possible states – either 1 or 0. Which in real world can be used to represent things such as on or off, high or low, black or white – any 2 states condition?

If we increaserepparttar 107644 instruction size to 2 bits, then we can represent 4 instructions – 00, or 01, or 10 or 11. If we increaserepparttar 107645 size to 3 bits then we can represent 8 possible instructions – 000, 001, 010, 011, 100, 101, 110 and 111

If you noticerepparttar 107646 trend fromrepparttar 107647 above examples is that maximum possible number of instructions isrepparttar 107648 power of 2 of repparttar 107649 bit size. That is 2 bits can represent maximum of 2^2 (which is 4) instructions, and 3 bits can represent maximum of 2^3 (which is 2x2x2 = 8) instructions.

So 8 bits data can represent maximum of 2^8 (2x2x2x2x2x2x2x2 = 256) instructions (or states) and 32 bits data can represent 2^32 (4,294,967,296) instructions.

You can actually read a program stream contents using certain editor – normally called HEX editor. Using these special text editors you can look atrepparttar 107650 instructions in binary, hexadecimal, octal, and decimal format.

I’ll coverrepparttar 107651 details of what each ofrepparttar 107652 above format (hex, oct and dec) means in other article.

Permission is granted for this article to forward, reprint or distribute, use for ezine, website, offer as free bonus or part of a product for sales as long as no changes are made andrepparttar 107653 byline, copyright andrepparttar 107654 resource box is included.

Resource Box: Copyright © Shamsul Anuar of Bouncingcube.com newsletter. To learn more about computer programming and software development visit www.bouncingcube.com and subscribe to the free newsletter


Mac Discounter offering customers "Free Shipping" on all online purchases

Written by David Collins


Continued from page 1

About Mac Discounter For more than 7 years, Mac Discounter has been selling Mac Computers and products to thousands of customers inrepparttar USA, Canada and Europe. Recently expanding operations online on e-Bay and at Mac-Discounter.com . With an easy to browse, large selection of PowerMac, iBook, Powerbook, eMac and iMac computers, always in stock and ready for shipping! all at discount prices. Mac Discounter also operates a Warehouse distribution Center in Ferndale, WA from which all orders are shipped.

David Collins Sales & Marketing Manager (360) 851-8751 david@mac-discounter.com http://www.mac-discounter.com

For more than 7 years, Mac Discounter has been selling Mac Computers and products to thousands of customers in the USA, Canada and Europe. Recently expanding operations online on e-Bay and at Mac-Discounter.com . With an easy to browse, large selection of PowerMac, iBook, Powerbook, eMac and iMac computers, always in stock and ready for shipping! all at discount prices. Mac Discounter also operates a Warehouse distribution Center in Ferndale, WA from which all orders are shipped.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use