Thursday, 8 August 2013

Google Maps is now most widely app















Google Maps is now most widely used in worlds according to Global Web Index with the Percentage of 54.Facebook holds second position with 44% followed by You tube and Google+.
Skype is at & position and whats app at 9th.
According to Global Web Index the top ten most accessed apps are follows:
01.   Google Maps - 54%
02.   Facebook - 44%
03.   YouTube -35%
04.   Google+ - 30%
05.   Weixin /We-chat - 27%
06.   Twitter - 22%
07.   Skype - 22%
08.   Facebook Messenger - 22%
09.   Whats-app - 17%
10.   Instagram - 11%

Find My Phone for Andriod



After a long journey for four years finally Google  launched an Android equivalent to Apple's ,find my phone app ,which is used to track down  missing phone or tabs. The Apple's user using this app since 2009 .
This service will allow you to call your phone and make it ring at maximum volume (even if it is silent) in case it has been misplaced at home and view its location on a map if it was left at a restaurant or somewhere else further . And, if it   was stolen, the owner can quickly and securely remote wipe all information on it.

This service is compatible with Android running on Fro yo and above versions.


Thursday, 1 August 2013

MS office for Andriod

Finally Microsoft has  decided to launch its Office 365 for Android. The software was out since 31 July and its costs a $100-a-year for subscription and it not to be sold separately.  As far now it is only compatible with Android Smartphone that runs on ICS or above, but it is  not for Android tablets . Initially, it’s available only in the U.S, though the company decided to expand  it to other  markets with versions in more than 30 languages.








As per the success of Office 365  for the iPhone's last month, Microsoft  make its product compelling on other platforms too. 

Installing JAVA AND Setting CLASS PATH


 Installing JAVA AND Setting CLASS PATH




  •        Install jdk 7.4(latest version) or any  other lower                    version.
  •        Set the class path for running the java program..
  •        Left click the my computer option.
  •       Click on the properties.
  •       Click on system properties.
  •       Click on advanced.
  •       Click on environment variable.
  •       Two different sections will be shown from lower section             select “path” and click on edit
  •        Open the location where jdk was installed and go inside              bin. (“C:\Program Files\Java\jdk1.7.0_04\bin”).
  •      Copy the address and paste it into variable value but be             careful not to delete previous entries and put”;”.
  •         Press OK.

After following these steps only you would be able to run a java program written in a simple text editor ,using dos comrade.
There are various other also various user friendly application which serves as a handy tool (net beans) in creating a java program and compiling it and running it without going through above stated points.

But as a beginner users are advised to create the program in notepad or any other text editors and compile them and run them through DOS. It will help in understanding java concept clearly.

Compiling and running a java program after the class path is set will be discussed in next post.....

How to format corrupted or write protected flash drive

To format corrupted or write protected flash drive please follow the steps:- 

  1. Open command prompt as administrator.
  2. Type diskpart.
  3. Type list disk.It will generate a list of drive attached to the system.
  4. Type select disk n.(n=disk which is corrupted and you want to format.)
  5. Type clean.
  6. Type create partition primary.
  7. Type select partition 1.
  8. Type assign.
  9. Type format.(flash drive begin to format.)

Monday, 29 July 2013

Algorithm and program for Binary Search.

Binary search or half-interval search algorithm compares the
 element to be search(i.e key) with the middle element of the array. 
If the key is matched with the middle element ,it returns its 
position.and if not it divides the array into sub array according to 
the value of key. 
If the key value is greater than the value of middle element then 
the it will search the key from middle to right. 
If the key value is less than the value of middle element then the it 
will search the key from middle to left.
 It will repeat this action until no further division are possible or 
until the key matches with any of the element in array.
    Binary search  Binary search 
/*....binary search program ......*/
#include <stdio.h>
void main()
{ int arr[20]; int i, low, mid, high, key, size; printf("Enter the size of an array\n"); scanf("%d", &size); printf("Enter the elements\n"); for(i = 0; i < size; i++) { scanf("%d", &arr[i]); } printf("Enter the element to be search according to binary search\n"); scanf("%d", &key); /*Binary search */ low = 0; high = (size - 1); while(low <= high) { mid = (low + high)/2; if(key == arr[mid]) { printf("element found at %d position \n",mid+1); return; } if(key < table[mid]) high = mid - 1; else low = mid + 1; } printf("element not found\n");
getch(); } Binary search  Binary search  Binary search  Binary search 
 Output
Enter the size of an array 5 Enter the array elements 12 36 45 78 99 Enter the key 45 element found at 3 position

Sunday, 28 July 2013

Program to implement Stack in C

/* Write a program to implement stack in C. Stack is a LIFO data structure    *
 * LIFO - Last in First Out                                                *
 * Perform PUSH(insert operation), POP(Delete operation) and Display stack */
#include <stdio.h> #include <conio.h> #define MAX SIZE 5
struct stack /* Structure definition for stack */ { int stk[MAXSIZE]; int top; };
typedef struct stack STACK; STACK s;
/* Function declaration*/
void push (void); int pop(void); void display (void);
void main () { int choice; int option = 1;
clrscr ();
s.top = -1;
printf ("STACK OPERATION\n"); while (option) { printf ("----------------------------------\n"); printf (" 1 >---> PUSH \n"); printf (" 2 >---> POP \n"); printf (" 3 >---> DISPLAY \n"); printf (" 4 >---> EXIT \n"); printf ("----------------------------------\n");
printf ("Enter your choice\n"); scanf ("%d", &choice); switch (choice) { case 1: push(); break; case 2: pop(); break; case 3: display(); break; case 4: return; }
fflush (stdin); printf ("wish to continue(Type 0 or 1)?\n"); scanf ("%d", &option); } }
/*Function to add an element to the stack*/ void push () { int num; if (s.top == (MAXSIZE - 1)) { printf ("Stack is Full\n"); return; } else { printf ("Enter the element to be pushed\n"); scanf ("%d", &num); s.top = s.top + 1; s.stk[s.top] = num; } return; }
/*Function to delete element from stack*/ int pop () { int num; if (s.top == - 1) { printf ("Stack is Empty\n"); return (s.top); } else { num = s.stk[s.top]; printf ("poped element is = %d\n", s.stk[s.top]); s.top = s.top - 1; } return(num); }
/*Function to display the status of the stack*/ void display () { int i; if (s.top == -1) { printf ("Stack is empty\n"); return; } else { printf ("\nThe status of the stack is\n"); for (i = s.top; i >= 0; i--) { printf ("%d\n", s.stk[i]); } } printf ("\n"); }
/*--------------------------------------------------------------------------- Output STACK OPERATION ------------------------------------------ 1 >---> PUSH 2 >---> POP 3 >---> DISPLAY 4 >---> EXIT ------------------------------------------ Enter your choice 1 Enter the element to be pushed 23 Do you want to continue(Type 0 or 1)? 1 ------------------------------------------ 1 >---> PUSH 2 >---> POP 3 >---> DISPLAY 4 >---> EXIT ------------------------------------------ Enter your choice 1 Enter the element to be pushed 45 Do you want to continue(Type 0 or 1)? 1 ------------------------------------------
1 >---> PUSH 2 >---> POP
3 >---> DISPLAY 4 >---> EXIT ------------------------------------------ Enter your choice 1 Enter the element to be pushed 78 Do you want to continue(Type 0 or 1)? 1 ------------------------------------------ 1 >---> PUSH 2 >---> POP 3 >---> DISPLAY 4 >---> EXIT ------------------------------------------ Enter your choice 3
The status of the stack is 78 45 23
----------------------------------------------------------------*/

Saturday, 27 July 2013

Top wesbites to learn Java

Wish to create your software games and web applications .Here i suggest some resource for you. Now you habe to practice the things which you read theoretically. It will help to sharp your skills .Apart from us LANG-ADDA there some more website to learn java.

Top 5 website
  1. http://docs.oracle.com/javase/tutorial
  2. http://thenewboston.org/tutorials.php
  3. http://javabeginner.com/
  4. http://javalessons.com/
  5. http://w3schools.com/js/


The Sites are;-

  1. http://www.javaalmanac.com - The online counter part of  Java Developer's Almanac
  2. http://www.onjava.com - O'Reilly's Java website. articles on java weekly.
  3. http://java.sun.com - The official Java developer website - new articles. 
  4. http://www.developer.com/java - Java articles
  5. http://www.java.net - The Java  website hosted by Sun Microsystems. 
  6. http://www.builder.com - Cnet's Builder.com website - All technical articles 
  7. http://www.ibm.com/developerworks/java - IBM's Developerworks; the Java section. 
  8. http://www.javaworld.com - One of the originals.  updates of Java articles. 
  9. http://www.devx.com/java - Java articles hosted at DevX. 
  10. http://www.fawcette.com/javapro - The JavaPro online magazine website. \
  11. http://www.sys-con.com/java - The Java Developers Journal online magazine website. 
  12. http://www.javadesktop.org - The desktop Java community hosted at Java dotnet. 
  13. http://www.theserverside.com - Often considered the resource for all discussion server-side Java specific.
  14. http://www.jars.com - The Java  Covers frameworks and applications. 
  15. http://www.jguru.com - A great source for Q&A style interaction in the community. 
  16. http://www.javaranch.com 
  17. http://www.ibiblio.org/javafaq/javafaq.html - The comp.lang.java FAQ - questions asked and  answered,
  18. http://java.sun.com/docs/books/tutorial/ - The Official Java tutorial from Sun - very useful for almost any feature set. 
  19. http://www.javablogs.com - Blog aggregator for the most active Java-based blogs throughout the internet. 
  20. http://java.about.com/ - Java news and articles