You feel excited to learn computer languages

Then you are at the right place. Computer languages are most fun thing you have ever seen. Use this excellent languages and have a nice future...

How computer can help you?

I will ask how it can not? From the latest trend of social networking sites like Facebook, Twitter to the extended use of computer in our house hold devices. You can be benefited from computer in the every aspect of life.

What web technology?

It is the blessings of web technology, that brings you here and you are reading my post now. Strange huh!! Not at all. Use my web technology tutorials and understand, how they can help you for better marketing and advertising systems.

How Mobile technology can help us?

You have answer right? I know. But in my tutorials I will cover some unique features that may add some information in your hard disk too. Sounds good? Check them...

Computer and future

Yes that is the most important question to me. What is next? What is going to be the next big thing for us? Well I will answer them in my blog. Check the corresponding section..

Monday, November 14, 2011

How to Read 12 Digit Barcodes?


Read 12 Digit UPC BarcodesMost bar codes in the US are 12-digit UPC (Universal Product Code) barcodes, with ten digits at the bottom of the code and one small number to each side. Impress your friends by asking them to select a random item from the kitchen with a removable label and cut the numbers off of the UPC barcode; you can then proceed to read the numbers encoded in the lines.





Reading UPC Barcodes

  1. 1
    Note that barcodes are made up of both white and black lines. The white spaces in between the black lines are part of the code.

    Note that barcodes are made up of both white and black lines.
     Note that barcodes are made up of both white and black lines.
  2. 2
    Understand that there are four different thicknesses to the lines. Henceforth, the skinniest line will be referred to as "1," the medium-sized line as "2," the next largest line as "3." and the thickest is "4."

    Understand that there are four different thicknesses to the lines.
     Understand that there are four different thicknesses to the lines.
  3. 3
    Recognize that each UPC barcode begins and ends with 101 (thin black, thin white, thin black). In the very middle of the barcode, you will notice two thin black lines sticking down between the numbers. The thin white between them, as well as the thin whites to either side, make up a 01010. Each UPC barcode has 01010 in the middle.

    Recognize that each UPC barcode begins and ends with 101 (thin black, thin white, thin black).
     Recognize that each UPC barcode begins and ends with 101 (thin black, thin white, thin black).
  4. 4
    Recognize that each digit, including the small numbers that begin and end the barcode, has its own unique four-line set. 0 = 3211, 1 = 2221, 2 = 2122, 3 = 1411, 4 = 1132, 5 = 1231, 6 = 1114, 7 = 1312, 8 = 1213, 9 = 3112. (Note that the sum of bar widths numbers is 7 for all codes because each code is 7 units wide.) Notice that the line colors are reversed after the center-line: The lines of the digits to the left are white/black/white/black whilst to the right they are black/white/black/white. This provides some error checking and allows the reader to know the direction in which it is scanning a code. It is also crucial so that the barcode ends with a bar rather than a space. So, actually, each digit has two codes.

    Recognize that each digit, including the small numbers that begin and end the barcode, has its own unique four-line set.
     Recognize that each digit, including the small numbers that begin and end the barcode, has its own unique four-line set.
  5. 5
    So, the barcode above whose first two digits are 03 would start out "10132111411". Broken down this is "101-3211-1411" where 101 marks the beginning of the bar code and 3211 marks the digit 0 .
=== Understanding Bar Codes ===



    • UPC Barcodes are typically registered and used in the United States and Canada and, therefore, do not indicate a country identifier.
    • A similar bar code system is EAN (European Article Number). It contains 13 digits and also indicates the country in which the bar code was registered. Read the first "3" digits of the code to determine this.
      • Example: If the first 3 digits of the barcode are 690, 691, or 692, the country in which the code was registered was China.
    • It is important to note that the country code in EAN bar codes does not indicate where the product was manufactured [1] For example, if the barcode begins with 64, then it was registered in Finland (probably to a company that was headquartered in Finland). Look more closely at the packaging, however, and you may find that the product was "Made in China".
For further reading you can go to :



    Google crashed against gravity !!

    Google crashed against gravity !!

     Ohhhhhh!!!! Whats this? Gravity works against google also? I was checking a new site and find out this new trick on google. What a cool idea by the author. Just clik this link, And see that your entire google page will be broken down. then type anyhting you want. Everyhting in google search will break down. Cool trick by the user. I love this idea. Goto this website and see the fun


    http://mrdoob.com/projects/chromeexperiments/google_gravity/


    You can find my other google posts alos interesting.

    Google has Calculated life of Universe. Is it End of the World?

    Google has Calculated life of Universe. Is it End of the World?

    Hello readers, I was surfing freely in google. Then I came across with a google calculator that calculated "answer to life the universe and everything" = 42. Funny huh. But My question is that why 42? Google mean to say value of life 42 or our life should end at 42? Or is it related to 2012? May be google wants to calculate it this way after 42 years we will understand all about life and that will be the end of the world. How you can do this?
    Go to google type "answer to life the universe and everything" in the search box, then see the result below.


    Sunday, November 13, 2011

    Google easter eggs : Google Barrel Run

    Google google easter eggs : Google Barrel Roll

    What to make fun with Google? this cool easter eggs will turn google page 360 degree. Cool Huh!!.
    What you need to do? Follow this simple step for google trick...
    Open http://www.google.co.in/
    Now in the search box, type " do a barrel roll " with out ' "  '. No need to do anything else. Now see the results. Your entire google page will turn 360 degree. Try this cool tricks from http://alaboutc.blogspot.com/ and impress your friends. Here is the snap short.

    For more tricks please visit http://alaboutc.blogspot.com/

    How to Post cool reverse status in Facebook?

    Hello my readers. I am sharing with all of you an very unique trcik today. For this you need to use  one website given bellow. Then type the status you want to use. Now see the reverse text in your screen. Now copy it and paste it in your facebook status. Cool huh. Impress your friends.

    How to convert a Decimal number to Roman number in C language


    How to convert a Decimal number to Roman number in C language

    #include<stdio.h>

    void fun2(char c1,char c2);
    void fun1(char c,int n);

    char roman[1000];
    int i=0;

    void main(){

        int j;
        long int number;
       
        printf("Enter the number: ");
        scanf("%d",&number);
       
         while(number != 0){

             if(number >= 1000){
                 fun1('M',number/1000);
                 number = number - (number/1000) * 1000;
             }
             else if(number >=500){
                 if(number < (500 + 4 * 100)){
                     fun1('D',number/500);
                     number = number - (number/500) * 500;
                 }
                 else{
                     fun2('C','M');
                     number = number - (1000-100);
                 }
             }
             else if(number >=100){
                 if(number < (100 + 3 * 100)){
                     fun1('C',number/100);
                     number = number - (number/100) * 100;
                 }
                 else{
                     fun2('L','D');
                     number = number - (500-100);
                 }
             }
             else if(number >=50){
                 if(number < (50 + 4 * 10)){
                     fun1('L',number/50);
                     number = number - (number/50) * 50;
                 }
                 else{
                     fun2('X','C');
                     number = number - (100-10);
                 }
             }
             else if(number >=10){
                 if(number < (10 + 3 * 10)){
                     fun1('X',number/10);
                     number = number - (number/10) * 10;
                 }
                 else{
                     fun1('X','L');
                     number = number - (50-10);
                 }
             }
             else if(number >=5){
                 if(number < (5 + 4 * 1)){
                    fun1('V',number/5);
                     number = number - (number/5) * 5;
                 }
                 else{
                    fun1('I','X');
                     number = number - (10-1);
                 }
             }
             else if(number >=1){
                 if(number < 4){
                     fun1('I',number/1);
                     number = number - (number/1) * 1;
                 }
                 else{
                     fun2('I','V');
                     number = number - (5-1);
                 }
             }
        }

        printf("Roman number will be: ");
        for(j=0;j<i;j++)
             printf("%c",roman[j]);

        return 0;

    }

    void fun2(char c1,char c2){
        roman[i++] = c1;
        roman[i++] = c2;
    }

    void fun1(char c,int n){
        int j;
        for(j=0;j<n;j++)
             roman[i++] = c;
       
    }

    Friday, November 11, 2011

    How to check a number palindrome or not in C


    How to check a number palindrome or not in C
    #include<stdio.h>
    void main(){
        int n,r,sum=0,temp;

        printf("Please enter a number: ");
        scanf("%d",&n);

        temp=n;
        while(n){
             r=n%10;
             n=n/10;
             sum=sum*10+r;
        }
        if(temp==sum)
             printf("%d is a palindrome number",temp);
        else
             printf("%d is not a palindrome number",temp);
    }

    How to generate armstrong number with in a range


    How to generate armstrong number with in a range
    #include<stdio.h>
    void main(){
        int num,r,sum,temp;
        int min,max;

        printf("Enter the left range: ");
        scanf("%d",&min);

        printf("Enter the right range: ");
        scanf("%d",&max);

        printf("Armstrong numbers in given range are: ");
        for(num=min;num<=max;num++)
       {
             temp=num;
             sum = 0;

             while(temp!=0){
                 r=temp%10;
                 temp=temp/10;
                 sum=sum+(r*r*r);
             }
             if(sum==num)
                 printf("%d ",num);
        }
    }