Java Engineering Programs Blog

Checksum Program in Java

Checksum Program in Java

import java.io.*; import java.util.*; class checksum { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println(“Enter the no of bit in array :”); int n=sc.nextInt(); int arr[]=new int[n]; System.out.println(“Enter bits in array: “);...

Best Fit Program in Java

Best Fit Program in Java

import java.io.*; class best { public static void main(String args[])throws IOException { int flag[]=new int[10]; int sm[]=new int[10]; int i,sr,nm; int sp,loc=0; int cntrl=1000; DataInputStream in=new DataInputStream(System.in); System.out.println(“Enter the no of memory segments\n”); nm=Integer.parseInt(in.readLine());...

Covert Channel program in java

Covert Channel program in java

Covert Channel is type of computer security attack that transfers information in a way that violates a security policy.Covert channel have been defined by Lampson in 1973 as a communication channel not designed for...