Posts

Showing posts from May, 2017

DAA SIMULATOR

Introduction ·        Used programming language : Java ·        Algorithms: o     Insertion sort algorithm o    Selection sort algorithm ·        Insertion sort                   One of the simplest methods to sort an array is an insertion sort. An example of an insertion sort occurs in everyday life while playing cards. To sort the cards in your hand you extract a card, shift the remaining cards, and then insert the extracted card in the correct place. This process is repeated until all the cards are in the correct sequence. Following are some of the important characteristics of Insertion Sort. 1.       It has one of the simplest implementation 2.       It is efficient for smaller data sets, but very inefficient for larger ...

Maven within 5 minutes

HOW TO CREATE A MAVEN PROJECT ======First create a directory  and start a shell in that  created directory.On your command line,and  execute the following command: mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false     groupId : package name of the project     artifactId : Project name     archetypeArtifactId : name of the archetype to be used Under the my-app directory ,you can notice the following standard project structure. my-app |-- pom.xml `-- src     |-- main     |   `-- java     |       `-- com     |           `-- mycompany     |               `-- app     |...