Which English Letter has Maximum Words ?

Once I thought, "Maximum number of English words starts with which letter" ? I searched in internet. But I could not get complete information anywhere. Finally I thought to write a program which will calculate the number of words starting with each letter. To do this I first needed a complete list of all English words in a text file. I searched it and downloaded the file which contains all English words.

Then I started writing a JAVA program to calculate the English words starting with each letter. Here is the result I am showing you.

This graph shows number of words starting with each letter
This graph shows number of words starting with each letter

Number of English words starting with each letter in descending order


LettersNo. of wordsPercentage
s2533310.6%
p2447210.3%
c198518.37%
a168697.11%
u165206.97%
t129765.47%
m125035.27%
b111174.69%
d111074.68%
r99184.18%
h91053.84%
i88193.72%
e87483.69%
LettersNo. of wordsPercentage
o78773.32%
f71523.01%
g69692.94%
n67582.85%
l63222.66%
w40741.71%
v34161.44%
k22340.94%
j16370.69%
q11790.49%
z9630.40%
y6800.28%
x3840.16%

How to calculate ?


You need to download the following file for complete list of English words.


JAVA program to calculate
/*--------------Written by www.funbutlearn.com---------------*/
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class Dictionary {

 public static void main(String[] args) throws IOException {
   BufferedReader inputStream = new BufferedReader(new FileReader("D:/Dictionary.txt"));
   String l;
   int[] count = new int[26];
   char[] letter={'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};
   while ((l=inputStream.readLine())!=null){
    switch(l.charAt(0)){
    case 'a':count[0]=count[0]+1;break;
    case 'b':count[1]=count[1]+1;break;
    case 'c':count[2]=count[2]+1;break;
    case 'd':count[3]=count[3]+1;break;
    case 'e':count[4]=count[4]+1;break;
    case 'f':count[5]=count[5]+1;break;
    case 'g':count[6]=count[6]+1;break;
    case 'h':count[7]=count[7]+1;break;
    case 'i':count[8]=count[8]+1;break;
    case 'j':count[9]=count[9]+1;break;
    case 'k':count[10]=count[10]+1;break;
    case 'l':count[11]=count[11]+1;break;
    case 'm':count[12]=count[12]+1;break;
    case 'n':count[13]=count[13]+1;break;
    case 'o':count[14]=count[14]+1;break;
    case 'p':count[15]=count[15]+1;break;
    case 'q':count[16]=count[16]+1;break;
    case 'r':count[17]=count[17]+1;break;
    case 's':count[18]=count[18]+1;break;
    case 't':count[19]=count[19]+1;break;
    case 'u':count[20]=count[20]+1;break;
    case 'v':count[21]=count[21]+1;break;
    case 'w':count[22]=count[22]+1;break;
    case 'x':count[23]=count[23]+1;break;
    case 'y':count[24]=count[24]+1;break;
    case 'z':count[25]=count[25]+1;break;
    }
   }
   for(int j=0;j<26;j++){
   for(int k=j+1;k<26;k++){
    if(count[k]>count[j]){
     int temp=count[k];
     count[k]=count[j];
     count[j]=temp;  
     char char1=letter[k];
     letter[k]=letter[j];
     letter[j]=char1;
    }
   }
   }
   for(int k=0;k<26;k++){
    System.out.println(letter[k]+","+count[k]+","+((Double)((count[k]/236983.0)*100)).toString().substring(0, 4)+"%"); 
   }  
 }
}
/*--------------Written by www.funbutlearn.com---------------*/

There another very similar article you must read
Read more

Microsoft Math: The Best Free Tool for Student

Microsoft Math is a best free tool for students. It allows users to solve math and science related problems. It is a completely free which requires Windows XP with Service Pack 3 and later OS. This has been primarily designed for students and mainly meant for educational purposes. It has received 2008 Award of Excellence from Tech & Learning Magazine.

Features of Microsoft Math


Microsoft Math features

Above diagram depicts some of the features of Microsoft Math.

You can plot any type of graph in both 2D and 3D. Graph features include Functions, Equations, Datasets, Parametric, Inequalities etc.

Plotting graph in Microsoft Math

 You can also calculate complex integration, differentiation, equations, matrix calculations.

Where to Download ? 

You can download Microsoft Math completely free in the following link
Microsoft is also offering Free e-books. Just have a look on the foloowing article.
Read more

How to Edit any Website/Blog in Your Browser

This trick is really interesting. You can edit all the websites present in world-wide-web. You can also add some more texts to a webpage, you can change the position of an image. Again it does not need any extra software. Only by using your existing web browser you can do it.

How to do it ?

  • Just open the webpage you want to edit.
  • Copy and paste the following code in the address bar and press enter.
javascript:alert ('This webpage is ready for editing');document.body.contentEditable%20=%20'true';%20document.designMode='on';%20void%200
  • This trick is working fine in Internet Explorer, Google Chrome and Opera. After editing you can go to File-->save as... to save the edited version.  
  • Let me tell you one thing here; all changes are only in the client side and you can only save it in your own computer.
  • Editing the server page is not possible.
  • This trick is only meant for your time pass and fun.
  • You can edit any webpage and can show it to your friend to make him/her fool.
You can create a cute HTML editor with just 10 lines of JavaScript.
Read more

Yes/No Fortune Teller with LED Flash [Only For Fun]

Now you can ask your fortune to your PC. Just enter your name and a YES/NO question and wait for 1 sec. Computer will answer your question in YES/NO.
  • If the caps lock LED light blinks that means the answer is YES.
  • If it does not, then the answer is NO.
  • Computer will also give you this report in a notepad file.
  • Although you can ask any type of YES/NO question to your computer but I will suggest you to ask "am I fool?", then see what your computer is replying you.
Enter your name here

  • Just enter your name in the above input box and press OK.
Enter your question here
  • Enter your question and press OK to see the answer.

How to do it ? 

(1) 1st create a stop.bat file.

To do this open notepad and write
Taskkill /F /IM wscript.exe
and save it in .bat extension. I will suggest you to save it as stop.bat.

(2) Just copy and paste the following code in a notepad file and save it as .vbs extension.

'=================www.funbutlearn.com===================
MsgBox "If light blinks-YES. If light does not blink-NO.", vbOKOnly, "Welcome to Yes/No Fortune teller"
Name = InputBox("Enter your name here", "Name")
que = InputBox("Type your question here", "Question")
If (que = "" or name="") Then
MsgBox "Sorry. Your name/question was blank", vbOKOnly, "I am confused"
Else

 Set shellobj = wscript.CreateObject("WScript.Shell")
  shellobj.Run "notepad", 9
  wscript.sleep 1500
  shellobj.SendKeys "Name: " + Name
  wscript.sleep 300
  shellobj.SendKeys "{ENTER}"
  shellobj.SendKeys "{ENTER}"
  shellobj.SendKeys "Question:  " + que
  wscript.sleep 300
  shellobj.SendKeys "{ENTER}"
  shellobj.SendKeys "{ENTER}"
  wscript.sleep 300

If (Second(Now) Mod 2 = 0) Then
    shellobj.SendKeys "Answer: YES"
    shellobj.SendKeys "{ENTER}"
    shellobj.SendKeys "{ENTER}"
    wscript.sleep 300
    shellobj.SendKeys "Caps lock LED light: Blinking"
    wscript.sleep 100  
  Do
    wscript.sleep 200
    shellobj.SendKeys "{CAPSLOCK}"
  Loop
Else

If (que = "am i fool?") Then
    shellobj.SendKeys "Answer: YES"
    shellobj.SendKeys "{ENTER}"
    shellobj.SendKeys "{ENTER}"
    wscript.sleep 300
    shellobj.SendKeys "Caps lock LED light: Blinking"
  Do
    wscript.sleep 200
    shellobj.SendKeys "{CAPSLOCK}"
  Loop

Else
  shellobj.SendKeys "Answer: NO"
  shellobj.SendKeys "{ENTER}"
  shellobj.SendKeys "{ENTER}"
  wscript.sleep 300
  shellobj.SendKeys "Caps lock LED light: Not Blinking"
End If
End If
End If
'=================www.funbutlearn.com===================
  • Double click the file to open it.
  • If the LED light blinks then to stop blinking double click the stop.bat
You may also like to read two more funny articles
Read more

5 Useful Computer Tricks You Must Know

1. Use of windows key


WindowsOpen start menu
WindowsOpen start menu
Windows+DShow desktop
Windows+EOpen My Computer
Windows+LLock your computer
Windows+MMinimize all open windows
Shift+Windows+MUndo minimize all
Windows+PStarts print manager
Windows+ROpen run dialog box
Windows+TFocus the taskbar
Windows+UOpen ease of access center
Windows+VTo paste the pure text without formatting
Windows+1/2/3To open different tabs in taskbar
Windows+Shift+1/2/3To create a new instance of the tabs in the taskbar
Windows+plus signOpen magnifier
Windows+f1Open Help
Windows+pauseOpen windows system properties
Windows+Tab3D view of all open windows

2. How to instantly write something in windows 7


Go to start menu and type "Sticky Notes". Open Stick Notes and write something. You don't even need to save the data. It will be automatically saved.

3. How to insert special characters in notepad/email/webpage


In Microsoft Word you can obviously insert many special characters but how can you insert them in notepad/webpage/email etc. Yes there is a way to do this. Go to start menu and type "Character Map". Open Character Map and choose any special character, copy-paste it in the required place.

4. How to get a colorful command prompt


Open command prompt and type color <attr>

Color attributes are specified by TWO hex digits and the first digit represents the background and the second represents the foreground (font color).  Each digit
can be any of the following values:

    0 = Black       8 = Gray
    1 = Blue          9 = Light Blue
    2 = Green      A = Light Green
    3 = Aqua        B = Light Aqua
    4 = Red          C = Light Red
    5 = Purple      D = Light Purple
    6 = Yellow      E = Light Yellow
    7 = White       F = Bright White

Example: color ec
This will convert the background color to yellow and the text color to red.

5. How to make your friend fool

  • Go to the desktop in your friend's PC. (When she/he is absent)
  • Click prt scr button in keyboard.
  • Then paste the snapshot in paint and save it on the desktop.
  • Then go to desktop and right click on the image-->Set as desktop background.
  • Now right click in open area on desktop --> View --> Un-check the Show desktop icons
  • Right click on the taskbar--> Properties-->Auto-hide the taskbar
  • Now it's the time to call your friend to make him/her fool.
You may also like to read
Read more

Lock your laptop with the movement of your phone

(Submitted by Saurav Misra)
 
Do you know who is using your computer in your absence ? Are you afraid of data theft and misuse of your computer ? Don't worry you are at the right place. Today I will tell you how to lock your computer by the movement of phone, that means when you go away from your computer with your phone the laptop will be automatically locked

(1) Requirements:
  • Bluetooth enabled Cell Phone 
  • Bluetooth enabled Laptop/Desktop
(2) Download an application using bellow link:
 (3) What to do after downloading ?

  • Install the software.
  • After install, open the software from your desktop.
BtProx - Bluetooth Proximity Lock
  • Click on Used device
  • You should turn on your Bluetooth (both laptop & phone)

Search for your device
  • Then select your phone
Start Btprox
  • Set "Timeout=0". Then click on "Start".
  • The following message will appear after few seconds.
Device found

  • Now to test whether it is working or not you take away your phone from the laptop or just disconnect your phone’s Bluetooth. Wait for few seconds.....
  • A countdown timer will appear as shown in the above picture. After this your computer will be automatically locked.
Computer is going to be locked
  • If you have given any password to your computer then you can use it to unlock & if you don’t have any computer password then in normal way you can open it.

Thanks !
From,
Saurav Misra
Some articles related to this we have posted some months before
Read more

Get All Useful Information in One Excel File

(Submitted by Chinmaya Rath)
 
In our everyday life we require various calculations and many references. For example I can say we may need to calculate our age, may need the train timing, the unit conversion tool, some important websites reference, height-weight calculation for our health, world time, calendar, mobile number tracker etc. We generally maintain all these things in our personal diary. But now you can get all these things in a all-in-one excel file.

Really a grand salute to the creator of this sheet. This is just awesome. You will get the following sheets in the excel file. There are all total 27 useful sheets out of which only some are visible in the following diagram.

Sheets present in the excel file

The following image is the snapshot of the first sheet of the excel file and it is about unit conversions.

Unit conversion

Give me the download link

Read more

Why the partition of hard drive starts with C: drive ?

Why the partition starts with local disc C: 
You might have observed that the disk partition starts with C: drive. But why so ? Have you ever asked this question to anybody ? Where is the A: drive ? Why the partition does not starts with "A", even though "A" being the starting letter of the alphabet. Today I will tell you the reason.


The main reason behind this is the drive A: is reserved for first floppy disc and the drive B: is reserved for the second floppy disc. Lets elaborate the concept.

In old days there were only floppy discs which were storing both the operating system and other data. In earlier versions of IBM PCs there was only one floppy drive. Until and unless you purchase another floppy drive, you have to manage your work only with the existing one. But after some years as the cost of the hard drives reduced, computers came to market with two floppy drives. 

3 Floppy discs of different sizes

At that time IBM started producing IBM PCs which used two floppy drives A and B. The first floppy drive(A) was used to store the operating system and the second floppy drive(B) was used for storing other data. This design was continued for some years. By the time the concept of hard drive came it was widely accepted that the floppy disc A: is used for booting and running common programs and floppy disc B: is used for storing other data. And finally it became a globally accepted standard.

Since that day, when a new hard disc is added to a PC it starts with the letter C as the letter A and B has been reserved for the floppy drives, it does not matter whether a computer physically contains the floppy drives or not. Gradually many software were also built based on the same architecture. They consider drive C: as the main hard drive which contains the operating system.

Only Microsoft Windows operating system categorizes the drives as C, D, E etc. Other operating systems does not use the same naming convention.

(Hey, we have another article related to CD drive. How to eject CD drive from a .vbs file)

Read more

How to Copy Text From an Image

Sometimes we need to copy a text from an image file. We do not know how to do it. So ultimately we need to manually type the text, which is very boring. But now you don't need to worry. There is a useful and interesting trick for this. Simply by using Microsoft Office OneNote you can easily copy the texts from an image file.

  • Lets take an example. We have an image of an excel sheet and we want to copy its data.
We need to copy the texts from an excel file
  • To do so, open Microsoft Office OneNote
  • Copy and Paste that particular column of the image in OneNote. (You can take help of windows paint)
  • Now right click on the image and click on Copy Text from Picture.
Copy Text from Picture
  • After you press the button, OneNote will copy all the texts in the image to clipboard.
  • To get the text, open a notepad and press ctrl+v to paste from clipboard.
Some articles related to image you may also like to read
Read more

How to Insert an Inline Image in Gmail


We generally attach an image file with an email to send to somebody. But we can also keep an inline image within our message. It will be displayed along with the message rather than allowing to download. Inserting a inline image makes your email more beautiful and you can convey more information to your receiver. To do this you have to check whether two things are enabled in your Gmail or not.

(1) Check whether rich formatting is enabled or not.

To know rich formatting is enabled or not just press on compose button. If rich formatting is enabled then you will see the following tools just above your editing text box as shown in the following figure. If the rich formatting is not enabled then click on the link rich formatting just above the editor text box.

Rich formatting toolbar

(2) Check whether inserting Images is enabled or not

To know Insert Images is enabled or not, go to compose email message and verify whether there is a icon to insert images in the tool bar or not. The same has been shown in the following figure.

Enable Insert Images

If the inserting images is not enabled then go through the following steps to make it enable.

How to enable Inserting Images
  • To enable the Inserting Images option click on the gear icon present at the top right portion of your Gmail.  
  • Then go to Settings --> Labs tab
  • And then make sure that Inserting Images radio button is enabled. If it is not enabled, make it enabled and click Save changes.
  • Now again go to compose message and you will find the Insert Images icon in the tool bar.
(You may also take interest to know How to forward emails from one address to other automatically)
Read more

Use MS Word as a Programming Language Editor

In a programming language editor, the keywords become different color automatically when you type the program in the editor. But in MS word they are simple text so it is very boring to edit some programming code in MS Word. But Now the same problem does not persist. A ready made plugin is available which will convert the keywords to different color and change the text of the entire coding part.

Before formatting and After formattingYou can see before formatting the entire text was in black and the font was Calibri.

After auto formatting the keywords has been changed to blue color and the font has been changed to Courier.

You can do this just using a simple plugin. You will get a ready made .exe file which you need to install.

After installation open MS Word and you will find the plugin in the Add-Ins tab of MS Word.


How to do it ? 

  • Go to this website, and download the compiled Word add-in (ready to install and use).
  • Download the .exe and install it.
  • After installation open MS Word and write any programming code such as VB, C, C++, C#, JAVA, PERL, PHP, Pascal and DFM Files.
  • Presently it supports above programming languages.
  • Select the text which you want to format, set the type of programming language you are using from the drop down menu and then press the formatting button to format. The same has been shown in the following diagram.
Plugin for Programming Language editing in MS Word 

A similar article you may also read "How to create an HTML editor with just 10 lines".
Read more

Forward emails from one address to another automatically

Sometimes you need to forward some emails from one address to another automatically. Another situation may also occur, suppose you have 10 email accounts and you don't want to open each accounts individually to read the emails. Now it is the time to forward all emails from other accounts to a single account so that you can read all of them at one place. I will give this tutorial in Gmail. May be other email providers also have the same facility so that you can use it.

How to do it ?


  • Click on the gear icon present at the top right position of your Gmail then click on Settings.
  • Go to Forwarding and POP/IMAP tab.
Forwarding emails from one address to another automatically
  • Click on the button Add a forwarding Address.
  • Enter an email address to which you want to forward the emails and press OK.
  • You will get an confirmation code in the email you just provided.
  • Just confirm the destination email and you are almost done.
Forward email and keep Gmail's copy in the inbox
  • After confirmation you will get the options as just shown in the above diagram.
  • Click on the Forward a copy of incoming mail to radio button and keep Gmail's copy in the inbox and save the changes.
A similar post you may also read

Read more

Useful and Interesting Computer Tricks

1. Rename Multiple files simultaneously


You can rename multiple files simultaneously. This technique is required when you want to assign serial numbers to files. No need to go to individual file to rename. Just edit the first file and automatically all files will be renamed.
  • Select all the files you want to rename.
  • Then press f2
  • It will now show you an option to rename the first file.
  • Rename it and press enter
  • Now if you want to undo the rename then again select all the files and press Ctrl+z
Rename Multiple Files simultaneously

 

2. How not to display windows splash screen during start up


If you will not display the windows splash screen during start up then your system will become bit faster and you will not feel bore while you restart your PC.
  • Go to start menu and type msconfig
  • Click on the search result, the system configuration window will open
  • Go to Boot tab, and select the No GUI Boot check box
  • Now you are done, click OK.
Don't display Windows splash screen during start up

 

3. Display multiple clocks in Windows


You can simultaneously display multiple analog clocks in windows. If you want to compare your timing with other country's time then this technique will be helpful to you.
  • Click on the date present at the bottom right position of your desktop
  • Then click on the Change date and time settings...
  • A window will open, click on the Additional clocks tab
  • Then click on Show this clock check boxes to show additional clocks
Display Multiple Clocks in Windows
Read more

Microsoft offers free ebooks

These books are completely free and is offered by Microsoft. If Microsoft is offering something  then it your fortune. You must grab this oppertunity. These are the list of books which are freely available.

Read more

How to Switch Between Windows Easily & Quickly

It is very essential to switch between windows easily & quickly when you are working on a lot of windows simultaneously. There are 4 main methods by which you can switch between windows very quickly.

Method-1


Windows+tab

This is the easiest method to switch between windows. Press Windows button first and then keep on pressing Tab. You will see a 3d effect of windows. This is just amazing. When you want to view a particular window just release your Windows button.

Windows+Tab

Method-2


Ctrl+Windows+Tab

Press Ctrl+Windows+Tab to view the 3d effect just like method 1 but here the effect will persists even if you release your Windows button. Now you can press your up-down key to navigate through different windows. You can also scroll your mouse to quickly switch between windows.

Method-3 (More easier than method-2)


Creating a shortcut for Method-2
  • Right click on desktop --> Go to New --> Shortcut
  • It will ask you top enter the location. Enter the following as the location. %windir%\system32\rundll32.exe DwmApi #105
  • Click Next and Finish
  • Now can double click the shortcut to open 3d view

Method-4


alt+Tab

Press alt+tab to  switch between different windows in a 2d view. First press the alt button then keep on pressing tab button. If you want to open a particular window then release your alt button there.

alt+tab


 You may also like to see
Read more

An interesting game for IQ Test

We all know IQ stands for Intelligence Quotient. I have made an interesting game for IQ test. This has been written in simple C++. You can smoothly play the game and can check the IQ of others. Just play the game to increase your word power as well as you will be entertained a lot. You can have fun, but you will learn a lot of things. That is what our blog's tagline.

How to play the game ?

  • This game is played between two persons. 
  • Here one person can check the IQ of the other.
  • At first one person has to set 5 words for IQ test.
  • After setting she/he has to close the window.
  • The other person should reopen it to play the game.
  • In the game the other person can not see the words.
  • So she/he has to guess the letters of the words
  • The person should try to find the words in minimum guess.
  • If one guess is correct the corresponding character will appear in the respective blank space.
  • In this way the person can guess all five words.
  • If the person is not able to guess the word she/he can skip it.
  • After completing all five words the result will be declared.
  • The result is declared on the basis of no of guesses done by him/her.
  • For example if she/he has done 16 guesses to find a 5 letter word then she will get less mark for that word.  
IQ test final result


Can I get its source code ?

  • Yes you can definitely get the source code.
  • This game has been developed for entertainment purpose as well as for educational purpose.
  • To get the source code please send me mail at hdas2012@outlook.com
  • I will send it to you as soon as it possible.
You may also like to read
Read more