Author Archives: Anuroop D

About Anuroop D

Very enthusiastic about technology and likes to share my knowledge through blogging. Has Bachelor's in Information Technology and currently pursuing my PhD in Computer Science.

Sample Applet program in Java

Applets are the small applications programmed in Java and embedded in html code. Usually applets are delivered to user as byte-code.Every page in a website contains applet code and is executed within a JavaVirtualMachine(JVM).We can distinguish a general java program … Continue reading

Posted in Java | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Appending data to the existing data in java

In real life we may encounter a situation in which may need to write the new data in a file without loosing old data.This is called as appending of data.We can make this using many classes present in the Java … Continue reading

Posted in Java | Tagged , , , , | Leave a comment

Copying data from one file to other file using java

Before to this post we have learnt about writing data to a File and reading data from the File.In our today’s post we shall learn about copying the data from one File to the other File.This is pretty easy and … Continue reading

Posted in Java | Tagged , , , , , , , , | Leave a comment

Creating and Writing Excel file in Java

In our earlier post we have learned about creating and writing data to a .txt file in Java.In this tutorial we shall learn about creating and writing data to a excel file.There are two ways in creating an Excel file … Continue reading

Posted in Java | Leave a comment

Java program to write data into a file

Files are the most complicated concept in any programming language.In this tutorial we shall make it simpler by learning some basic techniques in File.There are two types of operation done on files.First, we can write the data into the file.The … Continue reading

Posted in Java | Tagged , , , , , , , | 2 Comments

How to set up a colors XML file

Originally posted on ProgramThat;:
It is essential to have a colors XML file in every android project you create. To be used the same color multiple times and hardcode it is not good programming practise. It is easy to forget…

Posted in Android Programming | Leave a comment

Prime Number Program in C

In today’s tutorial we are going to learn about writing prime number program using C.A number is said to be prime number if and only if it is divisible by 2 otherwise it is not a prime number. The meaning … Continue reading

Posted in C | Tagged , , , , | Leave a comment

Palindrome Number Program in C

A number is said to be palindrome if it satisfy’s a condition,the reverse of the number should be same as the original number.For finding the reverse of the given number we need to get the individual digits of given number … Continue reading

Posted in C | Tagged , , , , , , , , | 1 Comment

Sum of digits of a Number in C

In this tutorial we are going to learn about adding digits present in a given number.The main concept of this problem is…..If the input is 225 then the output should be 9 i.e is addition 2+2+5.The logic behind it is … Continue reading

Posted in C | Tagged , , , , , , | 1 Comment

Fibonacci Series program in C

Fibonacci series starts with 0 and 1.The third element of fibonacci series in obtained by adding the first,two elements of the series.If we need to find an element of the series we add the two numbers which are just behind … Continue reading

Posted in C | Tagged , , , , , , , , , , , , , , | Leave a comment

Switch case in C

In one of earlier post we introduced to decision making statements in c.Today we shall learn about one of the decision making statement in C “switch statement“.The switch statement allows you for checking a equality among the options available and … Continue reading

Posted in C | Tagged , , , , , , , , , | Leave a comment

Java program for Inserting rows using preparedstatement

In our earlier post we have learned about making connection from a Java program to the databases.But the drawback of just using createStatement() and excuteuery(),is that we can request for run time values and then insert it into the database. … Continue reading

Posted in Java | Tagged , , , , , | Leave a comment

Connecting Java to Mysql Database

In our earlier post we learned about Connecting Java to Microsoft Access.In today’s post we shall learn about connecting Java to Mysql database.For connecting Java to Mysql we need to install Mysql odbc drivers.You can get the drivers from their … Continue reading

Posted in Java | Tagged , , , , , , | Leave a comment

Connecting Java to Microsoft Access DataBase

Database plays a very important role in maintaining a web site or a organization details.It will be exciting if we are able to use the data present in Database in our program.One of the important features of Java is that … Continue reading

Posted in Java | Tagged , , , , , , , , , , , | 2 Comments

Binary Search Program in C…!!!

As one of the basic searching technique we learned about Linear Search.Today we shall learn about Binary Search technique.In linear searching method we compared each element of the array with given key.The main drawback of the linear search is,”if the … Continue reading

Posted in C | Tagged , , , , , , , , , , | Leave a comment

Control Structures in C…!!!(Iteration or Looping)

In our earlier post we presented you about Decision Making Statements in C……..In this post we are going to learn about Looping statements or Iterative statements in C.The main advantage of loops is we can execute the same steps more … Continue reading

Posted in C | Tagged , , , , , , | Leave a comment

Linear Search Program in C

In this tutorial we shall try to make a program for Linear Search.Linear Search is the basic and easiest searching method and is for junior programmers.The steps involved in searching a number using Linear Search algorithm is: Method 1.Get the … Continue reading

Posted in C | Tagged , , , , , , | Leave a comment

Decision Making Statements in C

Have you ever thought of controlling the execution of the program…..!!!.Those which control the flow of the program are called as control Structure of a program.These control structures are common for all programming languages irrespective of their designing. Control Structures … Continue reading

Posted in C | Tagged , , , , , | 2 Comments

C program to calculate area and perimeter of a Cirlce…!!!

In our earlier post we calculated the area and perimeter of a circle.In this post we are dealing with calculating the area and perimeter of a circle. The main input for calculating area and perimeter of a circle is radius … Continue reading

Posted in C | Tagged , , , , | 4 Comments