Laman

Jumat, 30 Desember 2011

Windows 7 Activation Steps

What is Windows activation?

Activating Windows 7 installation is in a way registering Windows 7 operating system of yours and making it legal.
Since Microsoft is keeping their rights on their various products including Windows products using the genius activation method, as a Windows 7 user, you should also activate Windows 7 copy of your own within a given period using one of different methods.

Why activating Windows 7 is important?

Microsoft operating systems had this feature on Windows Vista editions as well as on Windows 7 editions with different Windows 7 Build 's until its RTM release is published.
And windows activation which is not completed in the given period of time disables some Windows features and prevents you to use all properties of your system after the activation period.
Also you may not be able to update your system with the recent product updatsd from Microsoft.
So to make sure that you can benefit from all the feaures and enhancements of your Microsoft Windows 7 operating system, give priority to activate Windows7 as early as possible.
If you have already tried to activate Windows 7 copy, but failed and getting "This copy of Windows 7 is not genuine" warning then you can refer to Windows 7 troubleshoot article Windows 7 Activation - This copy of Windows 7 is not genuine for possible solution suggesstions.

Rabu, 28 Desember 2011

SISTEM INFORMASI TRAVEL BERBASIS WEB (DFD)

Pembuatan system travel ini, bertujuan untuk melengkapi tugas yang diberikan yaitu mengenai data flow diagram dari system informasi travel. Disini, yang saya ilustrasikan adalah  system program yang berbasis web.
            Berikut adalah diagram context (level 0) dari system informasi travel:
Di sini, saya membuat empat entitas dalam system, yaitu:
·         Admin
·         Operator
·         Driver
·         Custumer

Admin disini memiliki hak akses tertinggi, sehingga dia bisa mengontrol semua user yang ada dibawahnya, seperti user operator dan driver. Tapi dalam system ini, admin tidak di buat untuk bias menjalankan semua operasi yang ada, hanya bisa digunakan untuk memanajemen user yang lain. User admin ini biasanya digunakan untuk seorang yang melakukan pemeliharaan (maintenance) system.

Kemudian operator, yang entitas ini akan melakukan operasi-operasi seperti memanajemen driver yaitu menambah user driver, mengedit data user atau menghapus user driver. Memanajemen jadwal yaitu mengatur penjadwalan keberangkatan yang nanti nya informasi ini akan ditampilkan disistem untuk ditujukan kepada costumer dan driver. Memanajemen kendaraan (mobil) yaitu membuat daftar jenis kendaraan yang ada dan memonitor ketersediannya mobil(kursi), dan memverifikasi pemesanan yaitu saat pemesan akan berangkat maka pemesan harus melihatkan atau konfirmasi ke operator dengan memperlihatkan bukti pemesanan.

Jumat, 11 November 2011

code program konversi suhu celsius ke fahrenheit

package javaapplication6;
import javax.swing.JOptionPane;
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        System.out.println("program konfersi fahrenheit to celcius");
        JOptionPane.showMessageDialog(null,"selamat datang ke konfertor");
       double a,b;
       String Sa2,Sb2;

code program tahun kabisat

package javaapplication30;
import javax.swing.JOptionPane;
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int y2;
        String y;
        y=JOptionPane.showInputDialog("masukkan tahun !");
        y2=Integer.parseInt(y);
        if (y2%4!=0)
        {
            System.out.println("bukan tahun kabisat");
            JOptionPane.showMessageDialog(null,y2+" bukan tahun kabisat");
        }

Jumat, 04 November 2011

code program deret bilangan prima

package bil_prima;
import javax.swing.JOptionPane;

public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int i,j,batasan; // Mendeklarasikan variabel bertipe integer
        String range;   // Mendeklarasikan variabel bertipe string
        boolean bil_prima = false;  //Mendeklarasikan variabel boolean
       

array

package arraysda;
public class Main {
    public static void main(String[] args) {
        // create and output two-dimensional arrays
        int array1[][] = { { 1, 2, 3 }, { 4, 5, 6 } };
        int array2[][] = { { 1, 2 }, { 3 }, { 4, 5, 6 } };

        System.out.println( "Values in array1 by row are" );
        outputArray( array1 ); // displays array1 by row

source code bubblesort

package bubble_sort;
import java.util.Random;

public class Main {
    public Main(){
    }
     private int [] data;//membuat data array

     //membuat generator untuk mengisi array secara acak
     private static Random generator = new Random();
     public Main(int size){
            data = new int [size];//ukuran array
            for(int i = 0; i < size; i++)
            data[i]=10 + generator.nextInt(90); }

source code program zodiac

package zodiac;
import javax.swing.JOptionPane;
/**
 *
 * @author *****
 */
public class Main {
    public static void main(String[] args) {
        int tg, bl;         // Mendeklarasikan variabel bertipe integer
        String tgl, bln;    // Mendeklarasikan variabel bertipe string
       
        // Menampilkan kotak dialog input tanggal lahir
        tgl=JOptionPane.showInputDialog("Masukkan Tanggal Lahir Anda:");
        tg=Integer.parseInt(tgl);   // Merubah variabel string menjadi integer
        // Menampilkan kotak dialog input bulan lahir
        bln=JOptionPane.showInputDialog("Masukkan Bulan Lahir Anda (1-12):");
        bl=Integer.parseInt(bln);   // Merubah variabel string menjadi integer
       
        if (bl==1) //Seleksi bulan pertama
        {
        if (tg<=19){    //Seleksi pd tanggal 1-19 pd bulan pertama
       

source code deret bilangan fibonaci

package fibonaci;
import javax.swing.JOptionPane;
public class Main {
    public static void main(String[] args) {
    int n,i,a=0,b=1,x=0;     // mendeklarasikan variabel bertipe integer dan memberi nilai pada variabel
    String Sn;               // mendeklarasikan variabel bertipe string
    
    JOptionPane.showMessageDialog(null,"Deret bil. Fibonaci");
   

source code program perkalian secara rekursif

package sda_rekursif;
import java.util.Scanner;
public class Main {
    public static long rekursif (int a, int b){
        if (b==0){
           return 0;
        } else
         { return    a+rekursif(a,b-1);
        }
        }


source code program mergesort

package merge_sort;
public class Main {
    public static void main(String[] args) {
       
        int i;
    int array[] = {12,9,4,99,120,1,3,10};
    System.out.print("nilai sebelum:\n");
        for(i = 0; i < array.length; i++)
    System.out.print( array[i]+"  ");
    System.out.println();
    mergeSort_srt(array,0, array.length-1);
    System.out.print("setelah sorting:\n");
    for(i = 0; i <array.length; i++)
      System.out.print(array[i]+"  ");
    System.out.println();
   
  }

program menara hanoi

package menara_hanoi;
import javax.swing.JOptionPane;
/**
 *
 * @author COMPAQ
 */
public class Main {
    static int move = 1;

    public static void main(String[] args) {
       
        String input=JOptionPane.showInputDialog("masukkan jumlah piringan:");
        int n=Integer.parseInt(input);
        hanoi (n, 'A', 'B', 'C');}

static void hanoi (int n, char awal, char bantu, char tujuan){

if (n>=1) { hanoi (n-1, awal, tujuan, bantu);
move(n, awal, tujuan);
hanoi (n-1, bantu, awal, tujuan);}}