Programming Unit

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 […]

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 […]

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 →

Difference between DDL, DML and DCL Commands

Thumbnail image for Difference between DDL, DML and DCL Commands February 24, 2014

In this article we are going to explain Difference between DDL, DML and DCL Commands and their usage with examples. So let us get started. 1. DDL – Data Definition Language 2. DML – Data Manipulation Language 3. DCL – Data Control Language Data Definition Language – DDL 1. CREATE CREATE is used to create […]

Read the full article →

Java Program to check if String is Palindrome or not using Command Line Input

February 23, 2014

We have already written Java Program to check String is Palindrome or Not, now in this article we are going to describe Java Program to check if a String is Palindrome or not using Command Line Input. This program also checks whether a sentence is a Palindrome or not. When a string or sentence is […]

Read the full article →