Sunday, October 29, 2017

Prim's Java DAA 6

thumbnail
Code: import java.util.ArrayList; public class Prims { static class Vertex{ int parent ; boolean set ; in...
Friday, October 27, 2017

Knapsack Java

thumbnail
Knapsack Using Greedy Algorithm Code: package com.nearur; import java.util.ArrayList; import java.util.Collections; import java.util....
Tuesday, October 10, 2017

MidPoint Circle Generation Algorithm

thumbnail
Question: Write a program to generate a complete moving wheel using Midpoint circle drawing algorithm and DDA line drawing algorithm. C...
Sunday, October 8, 2017

WT practicals 5,6,7

thumbnail
Login.html <html> <title>Login</title> <head><center><font size="20" color="aqua"...
Wednesday, October 4, 2017

Problem Array Sort Shuffle

thumbnail
Code: public class Akhil { public static void main(String [] nt){ int [] a={ 1 , 3 , 4 , 2 }; if (! sorted (a)){ ...

Primorial Prime Numbers

thumbnail
Code: import java.util.ArrayList; public class PP { public static void main(String[] nt){ // To avoid repetion of Primori...
Tuesday, October 3, 2017

Bresenham VS DDA

thumbnail
Write a program to input the line coordinates from the user to generate a line using Bresenham’s method and DDA algorithm. Compare the line...