Archive for 2013

ENetwork Chapter 5 CCNA




1. In an IPv4 environment, what information is used by the router to forward data packets from one interface of a router to another?
destination network address
source network address
source MAC address
well known port destination address
2. What information is added during encapsulation at OSI Layer 3?
source and destination MAC
source and destination application protocol
source and destination port number
source and destination IP address
3. In a connectionless system, which of the following is correct?
The destination is contacted before a packet is sent.
The destination is not contacted before a packet is sent.
The destination sends an acknowledgement to the source that indicates the packet was received.
The destination sends an acknowledgement to the source that requests the next packet to be sent.
4. Which IP packet field will prevent endless loops?
type-of-service
identification
flags
time-to-live
header checksum
5. Which portion of the network layer address does a router use to forward packets?
host portion
broadcast address
network portion
gateway address
6.
6625076619 aeb0744dec z ENetwork Chapter 5 CCNA 1 4.0 2012 2013 100%
Refer to the exhibit. Using the network in the exhibit, what would be the default gateway address for host A in the 192.133.219.0 network?

192.135.250.1
192.31.7.1
192.133.219.0
192.133.219.1
7. If the default gateway is configured incorrectly on the host, what is the impact on communications?
The host is unable to communicate on the local network.
The host can communicate with other hosts on the local network, but is unable to communicate with hosts on remote networks.
The host can communicate with other hosts on remote networks, but is unable to communicate with hosts on the local network.
There is no impact on communications.
8. What is the purpose of a default gateway?
physically connects a computer to a network
provides a permanent address to a computer
identifies the network to which a computer is connected
identifies the logical address of a networked computer and uniquely identifies it to the rest of the network
identifies the device that allows local network computers to communicate with devices on other networks
9. What type of routing uses information that is manually entered into the routing table?
dynamic
interior
static
standard
10. When the destination network is not listed in the routing table of a Cisco router, what are two possible actions that the router might take? (Choose two.)
The router sends an ARP request to determine the required next hop address.
The router discards the packet.
The router forwards the packet toward the next hop indicated in the ARP table.
The router forwards the packet to the interface indicated by the source address.
The router forwards the packet out the interface indicated by the default route entry.
11. What are the key factors to consider when grouping hosts into a common network? (Choose three.)
gateways
purpose
physical addressing
software version
geographic location
ownership
12. What is a component of a routing table entry?
the MAC address of the interface of the router
the destination Layer 4 port number
the destination host address
the next-hop address
13. Which intermediary devices could be used to implement security between networks? (Choose two.)
router
hub
switch
firewall
access point
bridge
14. What are three common problems with a large network? (Choose three.)
too few broadcasts
performance degradation
security issues
limited management responsibility
host identification
protocol compatibility
15.
6625091129 0529a45d07 z ENetwork Chapter 5 CCNA 1 4.0 2012 2013 100%
Refer to the exhibit. All devices shown in the exhibit have factory default settings. How many broadcast domains are represented in the topology that is shown?

3
4
5
7
8
11
16. Which three statements are true about routes and their use? (Choose three.)
If no route to the destination network is found, the packet is returned to the previous router.
If the destination network is directly connected, the router forwards the packet to the destination host.
If multiple network entries exist for the destination network, the most general route is used to forward the packet.
If no route exists for the destination network and a default route is present, the packet is forwarded to the next-hop router.
If the originating host has a default gateway configured, the packet for a remote network can be forwarded using that route.
If a host does not have a route manually configured for the destination network, the host will drop the packet.
17.
6625093863 f0498939b6 z ENetwork Chapter 5 CCNA 1 4.0 2012 2013 100%
Refer to the exhibit. A network administrator is troubleshooting a connectivity problem and needs to determine the address that is used to forward network packets out the network. Using the netstat -r command, the administrator would identify which address as the address to which all hosts send packets that are destined for an outside network?

10.10.10.26
127.0.0.1
10.10.10.6
10.10.10.1
224.0.0.0
18.
6625107531 1be7a4c7bf z ENetwork Chapter 5 CCNA 1 4.0 2012 2013 100%
Refer to the exhibit. A network administrator notices that there are too many broadcasts on the network. What two steps can the network administrator take to resolve this problem? (Choose two.)

Replace S2 with a router.
Place all servers on S1.
Disable TCP/IP broadcasts.
Subnet the 192.168.0.0 /24 network.
Disable all unused interfaces on the switches.
19.
6625109887 d24910e408 z ENetwork Chapter 5 CCNA 1 4.0 2012 2013 100%
Refer to the exhibit. The network in the exhibit is fully operational. What two statements correctly describe the routing for the topology that is shown? (Choose two.)

192.168.0.2 is the next-hop address that is used by R3 to route a packet from the 10.0.0.0 network to the 172.16.0.0 network.
10.0.0.1 is the next-hop address that is used by R1 to route a packet from the 192.168.12.0 network to the 10.0.0.0 network.
192.168.0.1 is the next-hop address that is used by R1 to route a packet from the 192.168.12.0 network to the 172.16.0.0 network.
172.16.0.1 is the next-hop address that is used by R3 to route a packet from the 10.0.0.0 to the 172.16.0.0 network.
192.168.0.1 is the next-hop address that is used by R2 to route a packet from the 172.16.0.0 network to the 192.168.12.0 network.
192.168.0.2 is the next-hop address that is used by R2 to route a packet from the 172.16.0.0 network to the 192.168.12.0 network.
20. What two characteristics are commonly associated with dynamic routing protocols? (Choose two.)
require no device configuration
provide routers with up-to-date routing tables
require less processing power than static routes require
consume bandwidth to exchange route information
prevent manual configuration and maintenance of the routing table
21. What statement describes the purpose of a default route?
A host uses a default route to transfer data to another host on the same network segment.
A host uses a default route to forward data to the local switch as the next hop to all destinations.
A host uses a default route to identify the Layer 2 address of an end device on the local network.
A host uses a default route to transfer data to a host outside the local network when no other route to the destination exists.
Monday 18 November 2013
Posted by Unknown
Tag :

Watermark ( evolution copy ) windows 8.1

    jika Anda ingin menghapus watermark ( evolution copy ) silakan mencobanya, Berikut tutorialnya:
  1. Pastikan Anda sudah menginstall Windows 8.1 Pro Preview Build 9431
  2. Sebelumnya silakan download file modifikasi “shell32.dll.mui” dan “basebrd.dll.mui” DISINI
  3. Buka Folder C:\Windows\System32\en-US
  4. Copy dan replace file “shell32.dll.mui”
  5. Buka Folder C:\Windows\Branding\Basebrd\en-US
  6. Copy dan replace file “basebrd.dll.mui”
  7. Setelah selesai, buka CMD run as aministrator
  8. Lalu ketik perintah berikut ini mcbuilder,  enter dan tunggu beberapa saat.
  9. Restart PC /Laptop
  10. Enjoy
Wednesday 17 July 2013
Posted by Unknown

MessageBOX C#

C# MessageBox.Show

Dialog boxes interrupt users. They force users to respond before further action is taken. This is necessary in some situations. MessageBox.Show is useful if a warning is important or a serious error occurred.
Examples of MessageBox.Show in Windows Forms

Example

To start, the MessageBox.Show method is a static method, which means you do not need to create a new MessageBox() anywhere in your code. Instead, you can simply type "MessageBox" and press the period, and then select Show.
Static MethodIn this example, the MessageBox.Show method is used in the Form1_Load event handler. To make the Form1_Load event handler, create a new Windows Forms application and double-click on the window in the designer.
Windows Forms program that uses MessageBox: C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
 public Form1()
 {
     InitializeComponent();
 }

 private void Form1_Load(object sender, EventArgs e)
 {
     //
     // The simplest overload of MessageBox.Show. [1]
     //
     MessageBox.Show("Dot Net Perls is awesome.");
     //
     // Dialog box with text and a title. [2]
     //
     MessageBox.Show("Dot Net Perls is awesome.",
  "Important Message");
     //
     // Dialog box with two buttons: yes and no. [3]
     //
     DialogResult result1 = MessageBox.Show("Is Dot Net Perls awesome?",
  "Important Question",
  MessageBoxButtons.YesNo);
     //
     // Dialog box with question icon. [4]
     //
     DialogResult result2 = MessageBox.Show("Is Dot Net Perls awesome?",
  "Important Query",
  MessageBoxButtons.YesNoCancel,
  MessageBoxIcon.Question);
     //
     // Dialog box with question icon and default button. [5]
     //
     DialogResult result3 = MessageBox.Show("Is Visual Basic awesome?",
  "The Question",
  MessageBoxButtons.YesNoCancel,
  MessageBoxIcon.Question,
  MessageBoxDefaultButton.Button2);
     //
     // Test the results of the previous three dialogs. [6]
     //
     if (result1 == DialogResult.Yes &&
  result2 == DialogResult.Yes &&
  result3 == DialogResult.No)
     {
  MessageBox.Show("You answered yes, yes and no.");
     }
     //
     // Dialog box that is right-aligned (not useful). [7]
     //
     MessageBox.Show("Dot Net Perls is the best.",
  "Critical Warning",
  MessageBoxButtons.OKCancel,
  MessageBoxIcon.Warning,
  MessageBoxDefaultButton.Button1,
  MessageBoxOptions.RightAlign,
  true);
     //
     // Dialog box with exclamation icon. [8]
     //
     MessageBox.Show("Dot Net Perls is super.",
  "Important Note",
  MessageBoxButtons.OK,
  MessageBoxIcon.Exclamation,
  MessageBoxDefaultButton.Button1);
 }
    }
}
NoteIn Form1_Load, there are eight calls to the MessageBox.Show method using different overloads. The Form1_Load method is executed immediately after the program starts. When run, the program shows all the dialogs in sequential order.
And: The MessageBox.Show calls above call into different, overloaded implementations of the function based on the parameter lists.
OverloadVisual Studio logoTyping in the options. The easiest way to use MessageBox.Show is to type in "MessageBox", and then press period, and then select Show. Next, Visual Studio shows a popup with the overload list. You can scroll through the overload lists.
Tip: For a parameter such as "MessageBoxButtons", type in "MessageBoxButtons" and press period to see all the options.
Also: You do not need to create a new MessageBoxButtons() object. This is an enum type, not a class.
EnumMethod callThe order of the parameters in the MessageBox.Show method calls is important. The parameter order gives the compiler the ability to apply overload resolution to call the best method in the method group.
Images: The image at the top of this document shows eight dialog boxes. These correspond to MessageBox.Show calls.
Note: Dialog box [6] only is shown when you specify certain options on the previous three dialogs. It tests the DialogResult enumeration.

DialogResult

DialogResult exampleIn Windows Forms, DialogResult is not an actual class but is a named constant from an enumeration. This means you cannot create a new DialogResult with the new operator. First assign your variable to the result of MessageBox.Show.
Next, type in "==" and Visual Studio will suggest options from the DialogResult enumeration. You can compare DialogResult like you would compare an integral type such as int. You can even use it in a switch.
DialogResult

More overloads

StepsThere are several more overloads of MessageBox.Show that are not shown in this document. They allow you to specify owner windows, which you do not need to do in simple cases. The IWin32Window owner parameter is an interface type.
Interface: An interface in the C# language is a contract that can be used to treat object instances in a more general way.
InterfaceHelpNavigator parameter. The MessageBox.Show method also has overloads that allow you to specify Help options. In my experience, these options are not used most of the time, so I leave the specifics here up to MSDN.

Obtrusive

Warning: exclamation markWhen designing programs for the end user, it is usually best to make non-critical errors as unobtrusive as possible. The Microsoft User Experience Guidelines provide many tips on dialog boxes.
Well-written, helpful error messages are crucial to a quality user experience. Poorly written error messages result in low product satisfaction, and are a leading cause of avoidable technical support costs. Unnecessary error messages break users' flow.
Error Messages: MSDN

Summary

Framework: NETWe saw examples of calling MessageBox.Show in C# programs using Windows Forms. We looked at the actual screenshots of the results of MessageBox.Show method calls, and also tested the DialogResult enumeration.
And: We reviewed many other options of MessageBox.Show, including many parameters to the static method.
So: The MessageBox.Show method is ideal for many simpler Windows Forms programs with less specific requirements.


sumber : http://www.dotnetperls.com/messagebox-show
Monday 10 June 2013
Posted by Unknown

Elektronika Dasar ( Eldas )

Giat belajar, jangan nunggu ujian
Buku tentang Elektronika Dasar
Isi File :
Bab01 – Arus dan tegangan listrik.pdf
Bab02 – Rangkaian arus searah.pdf
Bab03 – Alat alat ukur listrik.pdf
Bab04 – Kapasitor induktor dan rangkaian ac.pdf
Bab05 – Komponen dan rangkaian ac.pdf
Bab06 – Bahan semikonduktor.pdf
Bab07 – Dioda sambungan pn.pdf
Bab08 – Rangkaian penyearah.pdf
Bab09 – Transistor.pdf
Bab10 – Karakteristik transistor.pdf
Bab11 – Tegangan panjar transistor.pdf

Dapat di download:
Link: Ebook Elektronika Dasar
Pass: ( bisa minta di sini / comment)
Tuesday 16 April 2013
Posted by Unknown
Tag :

ARRAY (LARIK) DAN RECORD (REKAMAN) DALAM PASCAL

  • Record

Sebuah record merupakan koleksi satuan data yang heterogen, yakni terdiri dari berbagai type. Satuan data tersebut sering disebut sebagai field dari record. Field dipanggil dengan  menggunakan namanya masing-masing. Suatu field dapat terdiri atas beberapa subfield. Sebuah record rekaman disusun oleh beberapa field. Tiap field berisi data dari tipe dasar / bentukan tertentu. Record mempunyai kelebihan untuk menyimpan suatu sekumpulan elemen data yang berbeda-beda tipenya (di banding array). Contoh , sebuah record dengan empat buah field.
Deklarasi record
Type
Variable = record
…field = type data
…field = type data
…field = type data
End.
STATEMENT  “WITH”
Selain cara yang telah disebutkan diatas, untuk memproses suatu record dapat
digunakan statement WITH. Dengan statement ini penulisannya akan lebih sederhana. Bentuk Umum penulisan  statement WITH ini adalah : 
WITH  nama_record  DO  statement
Perhatikan deklarasi dibawah ini :  
TYPE  x = RECORD
   No : integer;
   Kode : char;
   Juml : integer;
   Harga : real;
   END;
 VAR  p,q : x;
Untuk membaca variabel p dan q di atas dengan memanfaatkan statement WITH bentuknya menjadi :  
WITH  p,q  DO read (no, kode, juml, harga);
Bandingkan jika digunakan cara sebelumnya :
Read(p.no, p.kode, p.juml,p.harga,q.no,q.kode,q.juml,q.harga);
Pernyataan seperti : 
Data.npm :=‘22297566’
Data.Nama:=‘Abdul Kadir’
Data.Fakultas:=‘Teknik’ 
Dapat diganti dengan :
WITH Data Do
Begin
npm :=‘22297566’
Nama:=‘Abdul Kadir’
Fakultas:=‘Teknik’
end;

Contoh program record sederhana:
Type
Hasil = record
Jari-jari = real;
Keliling = real;
Luas = real;
End.
Var
Lingkarang = hasil;
Begin
Write (jari-jari lingkaran?); real readln (lingkaran.jari-jari);
Lingkaran.keliling :=2 * Pi * lingkaran.jari-jari;
Lingkaran.luas := Pi * sqr (lingkaran jari-jari);
Writeln;
Writeln (‘keliling lingkaran =’, lingkaran.keliling:7:2);
Writeln (‘luas lingkaran =’, lingkaran luas :7:2);
End.

program record;
uses crt;
type
TSiswa = record
nim : string[8];
nama : string[25];
agama : string[10];
ktp : string[25];
end;
var
s : TSiswa;
umur,ts,tl : integer;
begin
clrscr;
write (’Masukkan tahun sekarang: ‘); readln (ts);
writeln (’Isikan data anda dalam Form ini’);
write (’NIM : ‘); readln (s.nim);
write (’NAMA : ‘); readln (s.nama);
write (’TAHUN LAHIR : ‘); readln (tl);
umur := (ts-tl);
write (’AGAMA : ‘);readln (s.agama);
write (’NO.KTP : ‘); readln (s.ktp);
writeln;
writeln (’Berikut ini informasi yang anda berikan: ‘);
writeln (’NIM : ‘, s.nim);
writeln (’NAMA : ‘, s.nama);
writeln (’Umur : ‘,umur);
writeln (’AGAMA : ‘, s.agama);
writeln (’NO.KTP : ‘, s.ktp);
READLN;
end.

  • Array (Larik)
Array adalah tipe data terstruktur yang terdiri dari sejumlah komponen-komponen yang mempunyai tipe sama. Komponen-komponen tersebut disebut sebagai komponen type, larik mempunyai jumlah komponen yang jumlahnya tetap. Banyaknya komponen dalam larik ditunjukkan oleh suatu index, dimana tiap komponen di array dapat diakses dengan menunjukkan nilai indexnya atau subskript. Array dapat bertipe data sederhana seperti byte, word, integer, real, bolean, char, string dan tipe data scalar atau subrange. Tipe larik mengartikan isi dari larik atau komponen- komponenya mempunyai nilai dengan tipe data tersebut.
Array didefinisikan sebagai suatu kumpulan dimana elemen-elemennya berjenis data sama. (homogeny) Suatu array dapat dibedakan atas 2 (dua) bagian, yaitu :
a.      Array Berdimensi Satu
Array berdimensi satu dapat dikatakan sebagai suatu daftar yang linier atau sebuah kolom. Bentuk deklarasi dari array jenis ini dalam bahasa Pascal adalah:
VAR nama_array : ARRAY [index] OF jenis_elemen;
Contoh Program :

Program Contoh_Array_Input; 
Uses Crt; 
Var 
Bilangan : array[1..50] of Integer; 
Begin 
ClrScr; 
Bilangan[1]:=3; 
Bilangan[2]:=29; 
Bilangan[3]:=30; 
Bilangan[4]:=31; 
Bilangan[5]:=23; 
Writeln('nilai varibel bilangan ke 3 =',Bilangan[3]); 
Readln; 
End.

Array tidak hanya dapat berupa suatu varibel yang dideklarasikan di bagian deklarasi variabel, tetapi dapat juga berupa konstanta (const). 
Contoh Program :

Program;
Uses Crt; 
Const 
Tetap : Array[1..4] of Integer=(7,10,21,20); 
Var 
i : Integer; 
Begin 
For i:= 1 to 4 Do 
Writeln('Nilai Konstan array ke ',i:2,' =',Tetap[i]); 
Readln; 
End.

b.      Array Multi Dimensi
Array dimensi dua ini dapat dianggap sebagai sebuah matriks yang jumlah kolomnya  lebih dari satu. Bentuk deklarasi :
VAR nama_array : ARRAY  [indeks_baris,indeks_kolom] OF jenis;
Di dalam pascal Array dapat berdimensi lebih dari satu yang disebut dengan array dimensi banyak (Multidimensional array), disini akan dibahas array 2 dimensi saja. Array 2 dimensi dapat mewakili suatu bentuk tabel atau matrik, yaitu indeks pertama menunjukkan baris dan indeks ke dua menunjukkan kolom dari tabel atau matrik.
Untuk mengetahui cara mendeklarasikan dari penggunaan aray dua dimensi dapat dilihat pada listing program dibawah ini.

Program_Deklarasi_Array_Dua_Dimensi; 
Uses Crt;
Var Tabel : Array[1..3,1..2] of Integer;
i,j : Integer;
Begin 
ClrScr; 
Tabel[1,1]:=1; 
Tabel[1,2]:=2; 
Tabel[2,1]:=3; 
Tabel[2,2]:=4; 
Tabel[3,1]:=5; 
Tabel[3,2]:=6; 
For I := 1 to 3 Do Begin For J:= 1 to 2 Do Begin Writeln('Elemen ',i,',',j,'= ',tabel[i,j]); 
End; 
End; 
Readln; 
End.

Contoh program Array dalam record:
Type barang= RECORD
nmbrg:string[20];
jmlbrg:array[1..3]of byte;
hrgbrg:real;
total:real;
end;
var  jual:barang;
tbarang, i:integer;
Begin
clrscr;
write(‘Nama Barang :’);readln(jual.nmbrg);
for i:=1to 3 do
begin
write(‘Jumlah barang ’,I,’ : ’);readln(jual.jmlbrg[i]);
tbarang:=tbarang+jual.jmlbrg[i];
end;
write(‘Harga barang  :’);readln(jual.hrgbrg);
jual.total:=tbarang*jual.hrgbrg;
writeln(‘Total Harga Barang = ‘, jual.total:10:2);
end.
Coba lihat sendiri perbedaan antara array tipe record dan array dalam record dari dua contoh program di atas !
Program Penjumlahan_matrik;
uses crt;
var
matrik1, matrik2 , hasil : array[1..3,1..2] of integer; 
i , j : integer;
begin
clrscr;
{ input matrik ke satu }
writeln(' Elemen matrik satu');
for i := 1 to 3 do
     begin
     for j := 1 to 2 do
          begin
          write('Elemen baris -',i,' kolom -',j,'= ');
          readln(matrik1[i,j]);
     end;
end;
{input matrik ke dua}
writeln('input elemen matrik dua');
for i:= 1 to 3 do
     begin
     for j:= 1 to 2 do
          begin
          write('Elemen baris -',i,' kolom -',j,'= ');
          readln(matrik2[i,j]);
    end;
end;
{proses penjumlahan tiap elemen}
for i := 1 to 3 do
     begin
     for j:= 1 to 2 do
          begin
          hasil[i,j]:=matrik1[i,j]+matrik2[i,j];
     end;
end;
{proses cetak hasil}
writeln(' ');
for i:= 1 to 3 do
    begin
    for j:= 1 to 2 do
         begin
write(matrik1[i,j]:4);
         end;
         writeln;
    end;
writeln('+');
for i:= 1 to 3 do
    begin
    for j:= 1 to 2 do
         begin
         write(matrik2[i,j]:4);
         end;
         writeln;
    end;
writeln('=');
for i:= 1 to 3 do
    begin
    for j:= 1 to 2 do
         begin
         write(hasil[i,j]:4);
         end;
         writeln;
    end;
readln;
end.
Friday 22 March 2013
Posted by Unknown

Algoritma Stack and Queue


Stack dan Queue merupakan algoritma advanced dari struktur data. Dalam representasinya bisa di gunakan dengan array atau linked list. keduanya memiliki konsep dasar yang sama yaitu urutan data yang di atur berdasarkan aturan algoritma tersebut. Berikut penjelasanya :
1. Stack :
Berupa susunan data yang di buat dari array atau linked list dan memiliki aturan seperti ini. Data yang masuk pertama akan di keluarkan terakhir kali. Bisa di anggap ini adalah sebuah pipa dengan satu lubang dan memasukkan beberapa bola kedalamnya. untuk mengeluarkan bola yang pertama, kita harus mengeluarkan bola yang terkhir dan lainya terlebih dahulu. Kira kira seperti itulah konsep dari stack. Data yang di proses pada stack hanya data yang berada pada urutan teratas
2. Queue :
Berupa susunan antrian yang di representasikan dengan array atau linked list. Sistemnya adalah data yang pertama kalo masuk, adalah data yang pertama kali keluar pula, atau dapat di anggap sebagai pola pipa dua pintu, dimana pintu masuk dan pintu keluar berbeda. Biasanya sistem ini di terapkan dalam antrian di berbagai tempat seperti apotik, bank, rumahsakit dan lain lain.
Posted by Unknown

Repair Harddisk Bad Sector Pro 2008


  • fully implemented commands: SET MAX, SET SECURITY, Device Configuration Overlay
  • device access with interrupt 13h, direct via ATA ports, with ASPI drivers
  • detects ATA/ATAPI/SATA/SATA with NCQ devices with on-board and add-on controller cards
  • detects USB devices via USB ASPI driver only
  • detects SCSI hard drives via INT13h or ASPI drivers
  • other SCSI devices are detected via ASPI drivers only (must be loaded before)
  • with ASPI drivers you got more informations about SCSI devices
  • test and repair device for bad sectors
  • many different test-functions for hard drives
  • resize hard drives which supports SET MAX ADDRESS/EXT (supports 28/48-bits LBA addressing modes)
  • drive lock detection via security feature (Security Menu)
  • S.M.A.R.T. functions for ATA/SATA and SCSI/USB drives only
  • informations about devices (ATA/ATAPI, INT13h, ASPI)
  • sector viewer for devices (also for ZIP, CD-data discs)
  • to access ATA/SATA CD-ROM drive you don?t need any driver or MSCDEX
  • enable/disable some features for direct-access devices
  • Device Configuration Overlay (DCO) feature set (you can restore a full capacity or allow/disallow some feature sets of hard drive)
Monday 18 March 2013
Posted by Unknown
Tag :

Cara Akses Internet Cepat


Sebenarnya ada cara-cara yang mudah untuk meningkatkan kecepatan akses internat tanpa harus membayar biaya lebih mahal. Cara tersebut diantaranya adalah dengan mengatur web browser, menggunakan openDNS, dan menggunakan Google Web Accelerator.

Penerapan ketiga cara di atas sangatlah mudah. Untuk cara pertama, mengatur web browser, dapat dilakukan oleh pengguna Internet Explorer dan Mozilla Firefox. Bagi pengguna Internet Explorer, Anda dapat memilih menu Tools, kemudian klik Internet Option.

Selanjutnya pilih tab General dan pada kolom “Temporary Internet files” klik Settings dan geser posisi slider-nya pada kolom Temporary Internet files folder. Hal ini akan memperbesar cache atau lokasi penyimpanan situs-situs yang anda pernah buka. Sebaliknya isilah dengan nilai minimal 5 person dari kapasitas harddisk Anda.

Bagi pengguna Mozilla Firefox anda dapat mengetikkan “about:config” pada address bar, setelah itu ubah “network.http.pipelining” dan “network.http.proxy pipelining” menjadi “true”, serta isi “network.http.pipelining.maxrequests” antara 30 –100 ( semakin besar semakin cepat ). Yang terakhir klik kanan dimana saja dan pilih New->Integer , tuliskan “nglayout.initialpaint.delay” lalu isi dengan 0.Sedangkan untuk cara kedua, anda terlebih dahulu harus mendaftar di www.openDNS.com. Setelah itu masuklah ke Control Panel dari Start Menu dan pilih Network Connections. Kemudian pilih koneksi yang digunakan dan klik tombol Properties. Pada bagian Internet protokol, pilihlah TCP/IP dan klik properties.

Masukkan angka 208.67.222.222 dan 208.67.220.220 pada opsi DNS dan restart komputer anda.Setelah melakukan dua cara di atas, seharusnya anda sudah mendapatkan kecepatan akses yang lebih dari sebelumnya. Namun bagi yang masih belum puas dengan kecepatan aksesnya sekarang dapat menggunakan cara yang ketiga yaitu menggunakan Google Web Accelerator. Google Web Accelerator didisain khusus untuk mempercepat akses internet anda, khususnya bagi anda yang menggunakan koneksi broadband (pita lebar) seperti TV Kabel dan ADSL. Untuk anda yang menggunakan koneksi lain seperti Dial-up (Telkomnet Instant) maupun Satelit, Google Web Accelerator juga dapat sedikit membantu mempercepat aksesnya.

Untuk memakai Google Web Accelerator, kriteria yang harus dipenuhi antara lain Sistem Operasi harus menggunakan Windows XP atau Windows 2000. Web browser yang digunakan harus Internet Explorer versi 5.5 ke atas atau Mozilla Firefox versi 1.0 ke atas. Untuk browser lainnya sebenarnya juga bisa, tetapi anda harus meng-konfigurasi Proxy Settings di dalam web browser tersebut dengan menambah 127.0.0.1:9100 pada HTTP.
Posted by Unknown

Macam-macam tipe data

Dalam bahasa Pascal, secara garis besar dikenal dua macam tipe data yaitu :

- tipe data sederhana (primitive type):
adalah tipe data yang hanya mampu menyimpan satu nilai tiap satu variabelnya.
Contoh tipe data sederhana adalah tipe numerik (integer dan real), tipe data karakter, tipe data boolean dan tipe data ennumerasi.

- tipe data kompleks (complex type):
adalah tipe data yang mampu menyimpan lebih dari satu nilai dalam tiap satu variabelnya.
Contoh tipe data kompleks adalah string, array (larik), record dan object.

Bentuk umum dari deklarasi tipe data adalah
Type pengenal = tipe
Keterangan:
pengenal : nama pengenal yang menyatakan tipe data.
tipe : tipe data yang berlaku dalam Turbo Pascal.

4.1 Tipe Data Sederhana

4.1.1 Tipe Ordinal
Semua tipe sederhana disebut tipe ordinal kecuali real. Karakteristik tipe data ordinal antara lain :
- Semua kemungkinan nilai dari suatu tipe ordinal merupakan himpunan berurutan dan setiap nilai berkaitan dengan ordinalitasnya yaitu nilai integral.
- Fungsi standard ord dapat diterapkan pada sembarang tipe ordinal untuk mengetahui ordinalitasnya.
- Fungsi standard pred dapat diterapkan untuk mengetahui predesesor.
- Fungsi standard succ dapat diterapkan untuk mengetahui suksesor.

4.1.2 Tipe Integer
Tipe integer adalah tipe data yang nilainya tidak mempunyai titik desimal. Ada lima tipe data yang termasuk dalam kelompok ini seperti terlihat pada tabel di bawah ini.
Tabel 2.1 Tipe integer
Tipe Batas Nilai Ukuran dalam byte
byte 0..255 1
shortint -128..127 1
integer -32768..32767 2
word 0..65535 2
longint -2147483648..2147483647 4
Tipe data juga menentuka operasi yang bisa dikerjakan. Pada tipe integer operator-operator yang bisa dikerjakan antara lain:

Tabel 2.2 Operator-operator pada tipe integer
Operator : Kegunaan
+ : Penjumlahan
- : Pengurangan
* : Perkalian
div : Pembagian
mod : Sisa pembagian

4.1.3 Tipe Boolean
Data tipe boolean mempunyai dua nilai yakni benar dan salah. Dengan memakai operator and, or atau not maka dapat dibentuk ungkapan boolean yang lebih rumit.

4.1.4 Tipe Char
Tipe char digunakan untuk mendefinisikan tipe data yang nilainya merupakan himpunan karakter yang dikenal komputer seperti yang tersaji dalam tabel ASCII. Dalam program, konstanta bertipe char ditulis diantara tanda petik, misalnya ‘A’ . Perlu diingat bahwa data bertipe char hanya terdiri dari 1 karakter.

4.1.5 Tipe Terbilang
Disebut tipe terbilang karena semua nilai disebut satu persatu, contoh
Type Toko = (baru, ramai, sukses, rapi, gadjah)
Perlu diperhatikan bahwa dalam tipe terbilang semua data harus diletakkan di antara kurung, urutan datanya harus diperhatikan karena akan mempengaruhi fungsi pred dan succ.

4.1.6 Tipe Subjangkauan
Tidak jarang terjadi batas nilai yang mungkin untuk suatu perubah merupakan bagian atau subjangkauan dari tipe data yang telah didefinisikan, contoh nilai ujian adalah dari 0 sampai 100.
type Nilai = 0..100;

4.1.7 Tipe Real
Konstanta bertipe real adalah bilangan yang berisi titik desimal. Dalam Pascal paling sedikit harus ada satu digit sebelum dan sesudah titik desimal, tidak boleh ada koma dan nilainya bisa positif atau negatif.

Dalam Turbo Pascal terdapat lima macam tipe real yaitu real, single, double, extended dan comp seperti terlihat pada tabel di bawah ini.

Tipe Batasan Nilai Angka Signifikan Ukuran dalam byte
real 2.9 x 10E-39..1.7 x 10E38 11-12 6
single 1.5 x 10E-45..3.4 x 10e38 7-8 4
double 5.0 x 10E-324..1.7 x 10E308 15-16 8
extended 1.9 x 10E-4951..1.1 x 10E4932 19-20 10
comp -2E63 + 1..2E63 – 1 19-20 8

Operator-operator pada tipe real adalah :

Operator : Kegunaan
+ : Penjumlahan
- : Pengurangan
* : Perkalian
/ : Pembagian

4.2.2 Tipe Data Kompleks

4.2.2.1 Tipe String
Data yang bertipe string adalah data yang berisi sederetan karakter yang banyaknya karakter bisa berubah-ubah sesuai kebutuhan yaitu dari 1 sampai 255 karakter.
Bentuk umum dari deklarasi tipe string adalah:
type pengenal = string <[panjang]>
Keterangan:
pengenal : nama tipe data.
panjang : bilangan bulat yang menentukan banyaknya karakter, bila parameter panjang karakter tidak ditulis maka dianggap 255 karakter.

4.2.2.2 Tipe Larik
Larik (array) adalah tipe terstruktur yang mempunyai komponen dalam jumlah yang tetap dan setiap komponen mempunyai tipe data yang sama. Posisi masing-masing komponen dalam larik dinyatakan sebagai nomor indeks.
Bentuk umum dari tipe larik adalah
type pengenal = array [tipe_index] of tipe;
pengenal : nama tipe data.
tipe_index : tipe data untuk nomor index.
tipe : tipe data komponen.

Contoh,
type Vek = array [1..100] of integer;
4.2.2.3 Tipe Rekaman
Sama halnya dengan larik, rekaman (record) adalah kumpulan data. Perbedaan antara larik dengan rekaman adalah dalam larik semua elemennya harus bertipe sama tetapi dalam rekaman setiap elemen bisa mempunyai tipe data yang berbeda satu sama lainnya.
Bentuk umum deklarasi rekaman adalah
type pengenal = record
medan1 :tipe1;
medan2 :tipe2;
.
.
.
medann :tipen;
end;

Keterangan:
pengenal : pengenal yang menunjukkan tipe data yang akan dideklarasikan.
medan1,…, medann : nama medan yang akan digunakan.
tipe1,…, tipen : sembarang tipe data yang telah dideklarasikan sebelumnya.
Contoh deklarasi rekaman,
type Tgl_Kalender = record
Tanggal :1..31;
Bulan : 1..12;
Tahun : 1900..2000;
end;

4.2.2.4 Tipe Himpunan
Tipe himpunan adalah kumpulan obyek yang mempunyai tipe data yang sama dan urutan penulisannya tidak diperhatikan.Setiap onyek di dalam suatu himpunan disebut dengan anggota atau elemen himpunan
Bentuk umum deklarasi himpunan adalah
type pengenal = set of tipe_data;
atau dapat juga langsung dideklarasikan dalam bagian deklarasi perubah seperti berikut

var pengenal = set of tipe_data;
Keterangan:
pengenal : nama perubah atau pengenal yang akan dinyatakan sebagai tipe himpunan.
tipe_data : tipe data dari anggota himpunan, harus bertipe ordinal.
Contoh deklarasi himpunan adalah sebagai berikut.
type Irama = (jazz, rock, blues, country, classic);
Musik = set of Irama;
Nilai = set of 0..10;
Untai = set of char;
Huruf = set of ‘A’..’Z’;
Sakit = (pusing, mual, lemas, lesu, letih);
Penyakit = set of sakit;

4.2.2.5 Tipe Berkas
Berkas (file) adalah kumpulan sejumlah komponen yang bertipe data sama yang jumlahnya tidak tentu dan biasanya tersimpan dalam suatu media penyimpan luar. Jumlah komponen dalam berkas dapat ditambah jika diperlukan.
Dalam Pascal, berkas menyediakan data yang nantinya akan digunakan oleh suatu program. Berkas dapat berupa berkas yang disimpan di dalam cakram magnetis, pita magnetis, kartu plong dan sejenisnya atau berupa piranti logika yang selama ini kita gunakan, yaitu dengan statemen input dan output, yang menunjukkan piranti masukan keluaran standar (papan ketik dan layar tampilan).
Bentuk umum dari deklarasi berkas adalah
type pengenal = file of pengenal1;

Keterangan:
pengenal : pengenal yang akan dinyatakan sebagai tipe data berkas.
pengenal1 : tipe data komponen berkas.
Sunday 17 March 2013
Posted by Unknown

Delphi Pemrograman

A. Pengertian Delphi.
Delphi adalah sebuah IDE Compiler untuk bahasa pemrograman Pascal dan lingkungan pengembangan perangkat lunak yang digunakan untk merancang suatu aplikasi program.
IDE (Integrated Development Environment) adalah program komputer yang memiliki beberapa fasilitas yang diperlukan dalam pembangunan perangkat lunak. Tujuan dari IDE adalah untuk menyediakan semua utilitas yang diperlukan dalam membangun perangkat lunak.
Kompilator (Inggris: compiler) adalah sebuah program komputer yang berguna untuk menerjemahkan program komputer yang ditulis dalam bahasa pemrograman tertentu menjadi program yang ditulis dalam bahasa pemrograman lain.
Pascal adalah bahasa pemrograman yang pertama kali di buat oleh Profesor Niklaus Wirth, bahasa Pascal ini sebagai alat bantu untuk mengajarkan konsep pemrograman komputer.
B. Sejarah Borland Delphi

  • Delphi versi 1 (berjalan pada windows 3.1 atau windows 16 bit)
  • Delphi versi 2 (Berjalan pada windows 95 atau delphi 32 bit)
  • Delphi versi 3 (berjalan pada windows 95 keatas dengan tambahan fitur internet atua web)
  • Perkembangan selanjutnya diikuti dengan Delphi versi 4, 5 dan 6.
  • Versi terkini dari delphi adalahversi 7 dengan tambahan vitur .net dengan tambahan file XML
C. Kegunaan Delphi
  • Untuk membuat aplikasi windows
  • Untuk merancang aplikasi program berbasis grafis
  • Untuk membuat program berbasis jaringan (client/server)
  • Untuk merancang program .Net (berbasis internet)
D. Keunggulan Delphi.
IDE (Integrated Development Environment) atau lingkungan pengembangan aplikasi sendiri adalah satu dari beberapa keunggulan delphi, didalamnya terdapat menu – menu yang memudahkan kita untuk membuat suatu proyek program.
Proses Kompilasi cepat, pada saat aplikasi yang kita buat dijalankan pada Delphi, maka secara otomatis akan dibaca sebagai sebuah program, tanpa dijalankan terpisah.
Mudah digunakan, source kode delphi yang merupakan turunan dari pascal, sehingga tidak diperlukan suatu penyesuain lagi.
Bersifat multi purphase, artinya bahasa pemograman Delphi dapat digunakan untuk mengembangkan berbagai keperluan pengembangan aplikasi.
E. Adapun sejumlah kelebihan Embarcadero Delphi lainnya, antara lain meliputi:
  • Dapat mengkompilasi menjadi single executable (aplikasi portable), memudahkan distribusi dan meminimalisir masalah yang terkait dengan versioning
  • Banyaknya dukungan dari pihak ketiga terhadap VCL (biasanya tersedia berikut source codenya) ataupun tools pendukung lainnya (dokumentasi, tool debugging)
  • Optimasi kompiler yang cukup cepat
  • Mendukung multiple platform dari source code yang sama
  • Untuk yang dikelola oleh embarcadero, delphi dapat dijalankan pada multiflatform yaitu windows, linux, android, IOS.
F. Ada kelebihan sudah pasti ada kekurangan. Kekurangan dari Delphi antara lain:
  • Partial single vendor lock-in (Borland dapat menetapkan standar bahasa, kompatibilitas yang harus mengikutinya)
  • Akses pada platform dan library pihak ketiga membutuhkan file-file header yang diterjemahkan ke dalam bahasa pascal
  • Dokumentasi atas platform dan teknik-teknik yang menyertainya sulit ditemukan dalam bahasa pascal (contoh akses COM dan Win32)
G. Langkah – langkah mengaktifkan Delphi 7.
  • Klik start.
  • pilih All Programs.
  • pilih Borland Delphi.
  • pilih dan klik Delphi 7.











  • Jendela Utama Delphi.







H. Menyimpan Form
Pada Delphi ada 3 buah file utama (*.dpr, *.pas, *.dfm)
  1. *.dpradalah file proyek yang dibuat berisi program kecil untuk :
    • Mendefinisikan unit yang ada didalam file
    • Menginisialisasi data
    • Membangun Form
    • Menjalankan Aplikasi
  2. *.pas adalah Unit – unit (Pascal Code File), biasanya terdiri dari satu atau banyak file.
  3. *.dfm adalah file definisi Form (Special Pscudo Code File)
Pilih submenu SAVE ALL. Karena kita kadang lupa apakah file unit dan project nya sudah disimpan. dan Delphi akan menanyakan nama file source code untuk unit (*.pas) dan nama file project (*.dpr).
I. Menjalankan Program
Jalankan program dengan menekan Tombol F9 atau pilih menu Run kemudian Run. Apabila ada beberapa Form yang ada didalam Project maka kita tentukan dulu form / unit yang akan kita jalankan. caranya yaitu:
Pilih menu project => Options atau tekan tombol Shift + Ctrl + F11 secara bersamaan dan akan tampil jendela Project Option, Silahakan tentukan form mana yang akan dijalankan.
Contoh Tampilan Delphi 7.0
Posted by Unknown

Popular Post

Powered by Blogger.

- Copyright © SEMUU -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -