Thursday, October 29, 2020

e-Lib - Desktop Application


Welcome Folks!!

I have created a Library Management System named as e-Lib. It can be used in any library, all you have to do is update the database to which the program is connected to. For the back end (or database) I've used MySQL with Amazon RDS cloud storage. You can keep the records of admins, books, students who issue books, along with everything.

Technology Used: 

    Front End : Java Swing & AWT.

    Back End : MySQL, Amazon RDS.

Tools Used : Netbeans.

Download Link : Download .jar file.

*Note : Contact me for the source code (Contact now).

 

Working Video :




Screenshots :

                                       

















Saturday, August 29, 2020

Text Encryption & Decryption - Java based Desktop Application

 
Encryption & Decryption

It is a GUI based desktop application. It converts normal message (plaintext) into meaningless message (Ciphertext) by using a secrete key or without using key and vice-versa.

Technology Used: Java, Java Swing.

Tools Used : Sublime Text Editor.

Download Link : Download .jar file.

*Note : Contact me for the source code (Contact now).

Screenshots :

  • Bellow screenshot shows data encryption & decryption using secret key:




  • Bellow screenshot shows data encryption & decryption without using secret key:


 

 

Sheep Herded Game - Java based Desktop Application [SOLVED]

ASSIGNMENT QUESTION – Game Zone

Sheep Herded Game

Create a game called Sheep Herder. The idea of the game is to herd the sheep
(find) before the sheep are eaten. 

Simply put, the user chooses spots in a grid and if it is a sheep, the sheep was herded.
In the game there will also be a dog and a wolf. If found, the dog will help in two
ways:

  1. Give the user an extra turn.
  2. Fight the wolf if the wolf attacks you.

If found, the wolf will attack you and you will lose unless you already found the
dog.


All animals have a random strength value (str). This will come in to play when the
dog defends you from the wolf or the wolf bumps into the dog. Say the Dog str =
10
and the wolf’s str = 8. Well your dog would win and survive with only 2 left
over and the poor wolf dies. But what if it was vise versa? Your dog would have
died and the wolf survives with str = 2. But happily you still survive in either
scenario.


Now the game starts and the computer creates a 5x5 grid and randomly chooses a
coordinate to put the sheep, dog and wolf

Normally the user cannot see where they are but for this assignment I want to be able to see all of them for testing purposes. Make it similar to the example provided below.

In each turn the user gets to choose a coordinate and then the wolf moves. You
get to decide how smart that wolf is. Does it move by smell or random? But if
that wolf hits the sheep, the sheep is no more and the game ends.
The game has to be similar to what I said but you can change it up to make it
better if you wish. If I see a smart wolf (AI) you would get better marks... Lastly
add levels.
Be sure to use JOptionPane, Switches, Loops, StringBuilder, and arrays. There should be at
least three classes created. I created six classes to create this game (SheepHerder.java,
Player.java, Grid.java, Coordinate.java, Call.java and Animal.java). Make it user friendly
with a smart AI and OOP (meaning almost no code in the main method)!
You will use this program again in the Intermediate Java course if you take it, so don’t delete it.

Technology Used: Java, Java Swing.

Tools Used : Sublime Text Editor.

Download Link : Download .jar file.

*Note : Contact me for the source code (Contact now).

Screenshots : Game Play-






 
 

 

Home - Paid Java Assignment & Java Project.

 
Java


Are you looking for an experienced programmer who can solve your problems quickly? Then you have come to the right place :)

I am an experienced programmer proficient in JAVA and SQL. Strong in design and integration with intuitive problem-solving skills and ability to work in a team to make the best of any situation. 

Passionate about implementing new projects. Ability to translate business requirements into technical solutions.

I can do programming projects in:

  • JAVA Language.

I can work on following topics:

  • OOPS(Object Oriented Programming)
  • Data Structures(Arrays, Stack, Queue, Linked List, Trees, Heap, Hash Tables, etc)
  • Design Patterns
  • Recursion
  • Database System(MYSQL, AWS RDS etc)
  • Any other problem related to above mentioned languages.

Benefits of my services:

  • Delivery on time and as soon as i can
  • Implementation of efficient data structures where required
  • Comment the code where necessary
  • You will get easy to understand and well indented code
  • Implementing efficient and good programming practices only.

Packages :

  • Basic : 
    • Small Scale Projects - Starting from : $5
      • Provide solutions to simple projects and assignments in Java, Data Structure, OOPS etc.
      • Includes console based assignments.
        • Include Source Code
        • Detailed Code Comments
        • Database Integration
  • :
    • Medium Scale Projects - Starting from : $15
      • Java assignments & projects with multiple classes and class interaction and simple database.
      • Includes both console and GUI based assignments.
        • Include Source Code
        • Detailed Code Comments
        • Database Integration
  •  Premium :
    • Large Scale Projects - Basic Level  Starting from : $25
      • A complete desktop app.
      • Includes both console and GUI based assignments.
        • Include Source Code
        • Detailed Code Comments
        • Database Integration.

Your satisfaction is my priority and I will keep you updated throughout the process. I am always online to answer questions.

Thank you :)

 

java programming

Friday, August 28, 2020

Java Number System Converter - A Desktop Application

Introduction :

Number System Converter is GUI based desktop application which is developed using the Java Technology named as ConversionHub.

ConversionHub is a calculator which allows you to convert and calculate between different number systems like the binary system, hexadecimal system, octal number system, and many more.

There are many methods or techniques which can be used to convert numbers from one base to another. This will demonstrate here the following −

        • Binary to Decimal 
        • Binary to Hexadecimal
        • Binary to Octal
        • Octal to Binary
        • Octal to Decimal
        • Octal to Hexadecimal  
        • Decimal to Binary
        • Decimal to Octal
        • Decimal to Hexadecimal
        • Hexadecimal to Binary
        • Hexadecimal to Octal
        • Hexadecimal to Decimal. 

How to Use :  

    It is very easy to use. 

        • First you just have to input number (binary, decimal, hexadecimal etc).
        • And then select conversion type from the drop down list.
        • And then just click on Convert button.
                                After this, you will see the output of the selected conversion.

                             Technology Used : Java, Java Swing .

                             Tools Used : Netbeans, Sublime.

                             Download Link : ConversionHub - download link.☺

                            *Note : Contact me for the source code (Contact now).

                             Screenshots :






Monday, August 17, 2020

 

TCS CodeVita 9

 

Largest Gold Ingot TCS CodeVita 9 [SOLVED].

Ramesh is a goldsmith, who brought a large number of gold ingot each of different length(L) but equal breadth(B) and height(H). He wanted to wield the ingots of same length with each other.

 

Problem Description

Ramesh is a goldsmith, who brought a large number of gold ingot each of different length(L) but equal breadth(B) and height(H). He wants to weld the ingots of same length with each other. He tasks his new employee, Akash, to weld the ingots of same length with each other. But Akash forgot that he had to weld the ingots of same length, instead he welded the ingots in a random manner.

Later Ramesh found out what he had done. He then ordered Akash to cut the welded ingot such that a cuboid with the largest volume from the welded gold ingot is obtained.

Find the volume of summation of gold ingots minus volume of the largest cuboid.

 

Constraints

0 < G < 10^5

Input

First Line contains one integer G, denoting number of gold ingots

Second line contains two space separated integers B and H, where B denotes the breadth and H denotes the height of individual ingot

Third line contains G space separated integers, denoting the length of the individual gold ingots that are welded together in adjacent manner

Output

An integer corresponding to the volume of summation of gold ingots minus volume of the largest cuboid, mod 10^9+7.

Time Limit

1

Examples

Example 1

Input

7

1 1

6 7 3 4 5 1 3

Output

14

Explanation

Total volume of shaded region is 15 and the total volume is 29. So the volume of summation of gold ingots minus largest cuboid obtained is 14, since the height is 1 and breadth is 1.
 
 
 

Example 2

Input

7

1 2

1 2 6 4 5 3 4

Output

20

Explanation



 
The volume of summation of gold ingots minus largest cuboid obtained is 20, since the height is 2 and breadth is 1.

 

Solution in Java:-

import java.util.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class LargestGoldIngot
{
   public static void main(String[] args) throws IOException {
   int n,i,sum=0, B,H,m,res=0,ans=0,peek;
   int arr[];

   Scanner sc=new Scanner(System.in);
   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
     n=sc.nextInt();
     m=(int)Math.pow(10,9)+7;

         B=sc.nextInt();
         H=sc.nextInt();
   
   arr=new int[n];
   for( i=0;i<n;i++)
   {

      arr[i]=sc.nextInt();

       sum=sum+arr[i];

   }

   Stack<Integer> stack = new Stack<Integer>();
   for(i=0;i<n;i++){

       while(stack.empty()==false && arr[i]<=arr[stack.peek()]){

            peek=stack.peek();

           stack.pop();

           res= arr[peek]* (stack.empty()?i:(i-stack.peek()-1));

           ans=Math.max(ans%m,res);

       }

       stack.push(i);

   }


   while(stack.empty()==false){

        peek=stack.peek();

       stack.pop();

       res=arr[peek]*(stack.empty()? n:(n-stack.peek()-1));

       ans=Math.max(ans%m,res);
       

   }
   System.out.println(((sum%m-ans%m)%m*B%m*H%m)%m);
   }//end of main
}

 

 

e-Lib - Desktop Application