Announcement:

This is a Testing Annocement. I don't have Much to Say. This is a Place for a Short Product Annocement

Wednesday, 23 October 2013

Test Post

CONVERSION  OF DECIMAL,HEXADECIMAL AND OCTAL
TO BINARY

PROGRAM:

#include<stdio.h>
char num[100];
void decimalto(int);
void octalto(int);
void hexto(int);
void main()
{
  int len=0,i=0,c;
  printf("MENU\n1. DECIMAL\n2. HEXADECIMAL\n3. OCTAL\n");
  printf("ENTER YOUR CHOICE\n");
  scanf("%d",&c);
  printf("\nEnter number\n");
  scanf("%s",num);
  while(num[i]!='\0')
   {
      len++;
      i++;
   }
  switch(c)
   {
      case 1: decimalto(len);
      break;
      case 2: hexto(len);
      break;
      case 3: octalto(len);
      break;
      default: printf("\n wrong choice\n");
      break;
   }
}

void decimalto(int len)
  {
     int i,a[10],c=0,d=0,flag=0,bin[20];
     for(i=0;i<len;i++)
    
      {
         if((num[i]<48) || (num[i]>57))
         flag=1;
      }
    if(flag==0)
     {
        for(i=0;i<len;i++)
         {
             a[i]=num[i]-48;
             d=d*10+a[i];
         }
    while(d!=0)
     {
         bin[c]=d%2;
        d=d/2;
         c++;
     }
   printf("\nbinary number is\n");
   for(i=c-1;i>=0;i--)
   printf("%d",bin[i]);
 }
   else
   printf("\ninvalid number\n");
 }

void octalto(int len)
  {
     int i,a[20],aa[20],j=0,n,d,k,flag=0;
     for(i=0;i<len;i++)
     a[i]=num[i]-48;
     for(i=0;i<len;i++)
      {
         if(a[i]>7)
         flag=1;
      }
     if(flag==0)
      {
         printf("\n binary number is\n");
         for(i=0;i<len;i++)
          {
          
            n=a[i];
            for(j=0;j<3;j++)
              {
                  d=n%2;
                  n=n/2;
                  aa[j]=d;
              }
           for(k=j-1;k>=0;k--)
            printf("%d",aa[k]);
      }
   }
    else
    printf("invalid number\n");
 }

void hexto(int len)
  {
     int i,a[20],aa[20],j=0,n,d,k,flag=0;
     for(i=0;i<len;i++)
      {
         if(num[i]<=57)
         a[i]=num[i]-48;
         else
         a[i]=num[i]-55;
       }
     for(i=0;i<len;i++)
      {
            if(a[i]>15)
            flag=1;
      }
     if(flag==0)
      {
          printf("\n binary number is\n");
          for(i=0;i<len;i++)
            {
               n=a[i];
               for(j=0;j<4;j++)
                 {
                    d=n%2;
                    n=n/2;
               
                  aa[j]=d;
                 }
              for(k=j-1;k>=0;k--)
              printf("%d",aa[k]);
           }
      }
      else
       printf("\ninvalid number\n");
  }

OUTPUT:

MENU
1. DECIMAL
2. HEXADECIMAL
3. OCTAL
ENTER YOUR CHOICE
1
Enter number
52
Binary number is
110100

MENU
1. DECIMAL
2. HEXADECIMAL
3. OCTAL
ENTER YOUR CHOICE
2
Enter number
A23
Binary number is 101000100011

MENU
1. DECIMAL
2. HEXADECIMAL
3. OCTAL
ENTER YOUR CHOICE
3
Enter number
7
Binary number is
111



Wifi and Hotspot at same time

start.me/w/1nzAdD


Dive

divephotoguide.com/user/gizmoscape


Hotspot feature

crossroadsbaitandtackle.com/board/board_topic/9053260/6855989.htm


Samsung hotspot and wifi

thepartyservicesweb.com/board/board_topic/3929364/6856039.htm


MObile hotspot wifi

tai-ji.net/board/board_topic/4160148/6856098.htm


Aspora

bly.com/blog/general/advice-for-aspiring-novelists-from-a-very-successful-one/#comment-1894136


Bio Site

bio.site/gizmoscape


Game

gamecrate.com/is-16gb-ram-enough-for-today-s-games


Joinenter

joinentre.com/profile/gizmoscape


Ihub

lhub.to/giz


Behance

behance.net/gizmoscapeblog


Steemit

steemit.com/@gizmoscape


Profile

globaldemocracy.com/user/33360


Stem

stemedhub.org/members/55823/profile


Sunday, 6 November 2011

PROTECT YOURSELF AGAINST PHISHING

Online criminals are financially motivated to steal your information, whether or not they know who you are. They dress the part, talk the talk, and by pretending to be something or someone they’re not, they try to get your personal details. A phishing website or message tries to trick you into revealing personal information by appearing to be from a legitimate source, such as a bank, social network, or even Google.Web sites that are frequently spoofed by phishers include PayPal, eBay, MSN, Yahoo, BestBuy, and America Online.

It’s good to pay close attention to all sign-in screens online. You should always be wary of any message that asks for your personal information or messages that refer you to a web page asking for these details.


Messages or websites phishing for information might ask you to enter the following details:
  • Usernames and passwords
  • Social Security numbers
  • Bank account numbers
  • PINs (Personal Identification Numbers)
  • Full credit card numbers
  • Your mother’s maiden name
  • Your birthday 

Tip to avoid this Phishing.
  1. Never reply to suspicious emails, tweets, or posts with your personal or financial information.
  2. Enter your password after following a link in an email or chat that you don’t trust. It’s better to go directly to the site.
  3. Don’t send your password via email. 
  4. Only sign in to your account when you’re 100% sure you’re on the real site. If you’re not quite sure, check the Internet address in your web browser. For example, this is a fake URL: www.goog.le.com
  5. Most email providers, including Gmail, allow you to report suspicious emails and phishing scams. Reporting a message as phishing will prevent that user from sending you more emails, and they will use the report to help stop similar attacks. 
  6. Before submitting financial information through a Web site, look for the "lock" icon on the browser's status bar. It means your information is secure during transmission.
  7. Suspicious e-mail can be forwarded to uce@ftc.gov, and complaints should be filed with the state attorney general's office or through the FTC at www.ftc.gov.
Resource: google.com

Phishing - Wikipedia, the free encyclopedia

Copyright @ 2013 Tech n Trick. Designed by Templateism | Love for The Globe Press