Posts

JDK vs JRE vs JVM

Image
In your first lesson of Java you may hear this jargon JDK, JRE, JVM. :) You may or may not be confused. when your teacher says about this Jargon, I hope you were busy with compile and execute your "Hello World " program. I wonder some time how this happens? Let's have a coffee break with jargon. Let's surf what is JDK. I have goooooogle on Google Images about JDK. Lots of places it shows the following complicated image with so many stuffs.  OMG! What is this ? Cool Let's take dig!  JDK : Java Development Kit Let's called JDK is a kit, which include what are those things need to developed and run java applications.  JDK is given as development environment for building applications, component s and applets.  You can find the latest jdk here JRE : Java Run-time Environment It contains everything you need to run Java applications in compiled form. You don't need any libraries and other stuffs. All things you n...

My Research Diary #1 : The Consumer Assistance - IDEA on Mind for Final Year Project

Image
Today so much of expert systems doing so much of work in the field of Machine Learning. Every seconds there are plenty of data going to store in databases. Does all make useful to the world ? Why they are going to store? These questions are on my mind asking where I am on shopping.  For my undergraduate project I come up with an idea called "The Consumer Assistance" which make use of the store data on your every transactions whether that is online or real time.  So what I am going to analyse on data? Watching on the Shopping mall entrance and observing the process. At the time I am  ACT as "A Consumer" ACT as "A Security Guard"  ACT as "A Shop Owner"  ACT as "Bag Collecting Officer" ACT as "Billing Girl" finally. The drama going to end I got a position as "I am the BOSS". Yes. I am going to discover what my customer going to buy in their next visit?  The problem is lot of variety of consu...

jQuery- Ajax Fast Track

Today I have decided to refresh my knowledge in Ajax with jQuery. The fantastic and easiest way to communicate with server script is using the Ajax Scripts.  What is Ajax? Ajax is Asynchronous JavaScript and xml. This is used mainly to exchange data to server and refresh the particular part of the webpage.  Today most of the web and mobile applications are using the Ajax to communicate with the server. I also love Ajax to use in my applications. Why jQuery? Without jQuery Ajax is bit tricky - mean need to write more. I am a lazy guys always find the short way to reach the goal. Lets' dig Ajax via jQuery :) jQuery-Ajax load() method Function :- Loading the data from the server and put into a particular element.  Example : Let's get the data from a file called from demo.txt This is the demo.txt file <h2> Let's learn lazy Ajax - jQuery </h2> <p id="p1">This is Some Paragraph. </p> My task is to get the whole text in th...

Merging Two Sorted Arrays in Sorted Order

Today with heavy rainy. I fully wet. and come to the lab and start to code. What I did.  Sorting two arrays in independently and I merge them in sorted order. How am I do. see below...  Your reiew is our success. Think how we modify this in more.   

Insertion Sort

Image
Insertion Sort is a simple sorting algorithm that build final sorted element in the array. The insertion sort give more efficient way and give more advantage than other sort like quick sort, merge sort and heap sort.  It's specialties are : Simple More efficient ( Time Complexity O(n 2 ) ) Only required constant amount of memory requirement. ( O(1) ) Algorithm ------------------------------------------------------------------------------------------------------------ Insertion_Sort(array){      for i=1 to n-1{           element = array[i];           j=i;           while(j>0 and array[j-1] > element ){                  array[j] = array[j-1];               ...

Data Structures : Stack

Image
Stack is the data structure that can be logically through as Linear Data Structure. The basic implementation is called as LIFO ( Last In First Out ) way.  

Session 01 : Data Mining and Machine Learning - Introduction

Image
Introduction The Data is the most important thing in any field, whether is profitable or non- profitable field. The amount of data in the world, in our lives seems to go on and on increasing. The fact of the statistic says the amount of the data stored in the common world database is increasing doubles every 20 months. It is hard to justify the data in the sense of quantities.