Programming Unit

We are back with yet another programming tutorial. This is a beginner’s Javascript code, that you have to try if you’ve started learning JavaScript lately. In this program, we will create two text boxes and a button, in which whatever you enter on to the first textbox will be copied onto the second textbox if […]

This is a very simple JavaScript tutorial. In this tutorial, we will be discussing about how to turn-on and turn-off the light of a bulb. The logic is pretty simple over here. We are not doing some rocket-science. We are just taking couple of images First Image – Bulb 1 (turn-off state) Second Image – […]

How to Enable and Disable Remote Access to users in MySQL

Thumbnail image for How to Enable and Disable Remote Access to users in MySQL June 19, 2014

When you try to connect to a Database using a tool like MySQL Workbench then you may run into an error like below, as the user is not allowed to access the Database from a remote location. Access denied for user ‘username’@’192.168.2.2′ (using password: YES) Note: You’ll require Administrator privileges. How to Enable Remote Access […]

Read the full article →

JavaScript to Validate Age entered by User

Thumbnail image for JavaScript to Validate Age entered by User April 24, 2014

This is our first article in JavaScript category. In this article we are going to explain JavaScript to validate the age entered by the user. For instance you have a web form which need to accept users of age between 18 and 25. This is a simple script which has two events, onfocus – triggers […]

Read the full article →

JavaScript to print Multiplication Table of a Number

April 20, 2014

In this article we are going to print Multiplication Table of a Number using JavaScript. We take an input from the user and print the multiplication table. We use the onchange event to capture the input provided by the user. printTable() function In this function we check whether the input provided by the user is […]

Read the full article →

Java program to find the frequency of a given letter in Text

March 18, 2014

In response to one of our readers, we have written this Java Program to find the Frequency of a given Letter in Text. You can read Java Program to Count Frequency of Words in given Text here. In this program we are taking a String input for Text and another String input for Letter to […]

Read the full article →

Java Program to perform Matrix Multiplication

Thumbnail image for Java Program to perform Matrix Multiplication March 16, 2014

Earlier we have discussed Java Program to perform Matrix Addition, we’ll discuss about Java program to perform Matrix Multiplication. Matrix Multiplication is a mathematical operation in which we take two matrices arrays and perform multiplication between them to produce the resultant matrix array. So how to do the Matrix Multiplication? What are the rules? The […]

Read the full article →

Difference between Delete and Truncate Commands

Thumbnail image for Difference between Delete and Truncate Commands March 15, 2014

Delete Delete is used to remove the records that are contained in a Database Table. For example, if we have a table named Employees and we want to delete all the records from that table, then our SQL query looks like: If we want to delete only a specific record, say employee with employee id […]

Read the full article →

Java Program to Print Name in Right angled Triangle

February 27, 2014

In this article we are using a for loop to print the Name in the form of a right angled Triangle. Download Source Code Java Program to Print Name in Right angled Triangle Output:

Read the full article →

Java Program to count number of Vowels present in a String

February 25, 2014

In this article we are going to explain a Java Program to count number of Vowels present in a String. We have previously written this program in C Language, you can read it here. In this program we have defined a character array and initialized it with the vowels as data items ‘a, e, i, […]

Read the full article →