<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Rusdia's Weblog</title>
	<atom:link href="http://rusdia.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rusdia.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 01 Jan 2012 20:13:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rusdia.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Rusdia's Weblog</title>
		<link>http://rusdia.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rusdia.wordpress.com/osd.xml" title="Rusdia&#039;s Weblog" />
	<atom:link rel='hub' href='http://rusdia.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SEARCHING(binary_search &amp; squential_search)</title>
		<link>http://rusdia.wordpress.com/2009/07/01/searching/</link>
		<comments>http://rusdia.wordpress.com/2009/07/01/searching/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 06:54:39 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=90</guid>
		<description><![CDATA[Pencarian (Searching) Proses pencarian adalah menemukan harga (data) tertentu di dalam sekumpulan harga yang bertipe sama (tipe dasar atau tipe bentukan).Pada suatu data seringkali dibutuhkan pembacaan kembali informasi dengan cara searching. Tempat pencarian data dapat berupa array dalam memori, bisa juga pada file pada external storage. Binary search Metode yang kedua adalah binary search, pada [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=90&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p><span style="color:#ff0000;"><span style="text-decoration:underline;"><strong>Pencarian (Searching)</strong></span></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;">Proses pencarian adalah menemukan harga (data) tertentu di dalam sekumpulan harga yang bertipe sama (tipe dasar atau tipe bentukan).Pada suatu data seringkali dibutuhkan pembacaan kembali informasi dengan cara searching. Tempat pencarian data dapat berupa array dalam memori, bisa juga pada file pada external storage.<span id="more-90"></span></span></p>
<p><span style="color:#ff0000;"><br />
</span></p>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;"><span style="text-decoration:underline;"><strong><span style="font-size:large;">Binary search</span></strong></span></span></p>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Metode  yang kedua adalah <em><strong>binary search</strong></em><em>, </em>pada metode pencarian ini, <strong>data harus diurutkan terlebih dahulu</strong>. Pada metode pencarian ini, data dibagi menjadi dua bagian (secara logika), untuk setiap tahap pencarian.</span></p>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Algoritma binary search :</span></p>
<ul>
<li>
<ol>
<li>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Data 		diambil dari posisi 1 sampai posisi akhir N</span></p>
</li>
<li>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Kemudian 		cari posisi data tengah dengan rumus: (posisi awal + posisi akhir) 		/ 2</span></p>
</li>
<li>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Kemudian 		data yang dicari dibandingkan dengan data yang di tengah, apakah 		sama atau lebih kecil, atau lebih besar?</span></p>
</li>
<li>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Jika 		lebih besar, maka proses pencarian dicari dengan posisi awal adalah 		posisi tengah + 1</span></p>
</li>
<li>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Jika 		lebih kecil, maka proses pencarian dicari dengan posisi akhir 		adalah posisi tengah – 1</span></p>
</li>
<li>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Jika 		data sama, berarti ketemu.</span></p>
</li>
</ol>
</li>
</ul>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;">Ilustrasi&gt;&gt;&gt;&gt;&gt;&gt;</span></p>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;"><img class="alignnone size-full wp-image-91" title="BINARY1" src="http://rusdia.files.wordpress.com/2009/07/binary1.jpg?w=497&#038;h=426" alt="BINARY1" width="497" height="426" /></span></p>
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;"><span style="font-size:medium;">Contoh source binary search :</span></span></p>
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;"><span style="font-size:medium;"><img class="alignnone size-full wp-image-92" title="BINARY2" src="http://rusdia.files.wordpress.com/2009/07/binary2.jpg?w=497&#038;h=463" alt="BINARY2" width="497" height="463" /><br />
</span></span></p>
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-left:.25in;margin-bottom:0;line-height:150%;" align="justify">
<p style="margin-bottom:0;line-height:150%;" align="justify"><span style="color:#ff0000;"><span style="font-size:medium;">Output : </span></span></p>
<p style="margin-bottom:0;"><span style="color:#ff0000;"><img class="aligncenter size-medium wp-image-93" title="BINARY3" src="http://rusdia.files.wordpress.com/2009/07/binary3.jpg?w=300&#038;h=225" alt="BINARY3" width="300" height="225" /></span></p>
<p style="margin-bottom:0;"><span style="color:#ff0000;"><br />
</span></p>
<p style="margin-bottom:0;"><span style="color:#ff0000;"><br />
</span></p>
<p style="margin-bottom:0;"><span style="color:#ff0000;"><br />
</span></p>
<p><span style="color:#ff0000;"><br />
</span></p>
<p><span style="color:#ff0000;"> <span style="text-decoration:underline;"><strong>Sequential Search</strong></span></span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;">Adalah suatu teknik pencarian data dalam array ( 1 dimensi ) yang akan menelusuri semua elemen-elemen array dari awal sampai akhir, dimana data-data tidak perlu diurutkan terlebih dahulu.</span></p>
<p><span style="color:#ff0000;">¨          Misalnya terdapat array satu dimensi sebagai berikut:</span></p>
<p><span style="color:#ff0000;"> <img class="aligncenter size-full wp-image-107" title="untitled" src="http://rusdia.files.wordpress.com/2009/07/untitled.jpg?w=497&#038;h=145" alt="untitled" width="497" height="145" /></span></p>
<p><span style="color:#ff0000;"> <img class="aligncenter size-full wp-image-108" title="d2" src="http://rusdia.files.wordpress.com/2009/07/d2.jpg?w=497&#038;h=140" alt="d2" width="497" height="140" /></span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;">¨          Kemudian program akan meminta data yang akan dicari, misalnya 6.</span></p>
<p><span style="color:#ff0000;">¨          Jika ada maka akan ditampilkan tulisan “ADA”, sedangkan jika tidak ada maka akan ditampilkan tulisan “TIDAK ADA”.</span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"> </span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong>Program</strong></span></p>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tbody>
<tr>
<td width="35" height="17"></td>
</tr>
<tr>
<td></td>
<td width="546" height="294" bgcolor="white">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td><span style="color:#ff0000;">#include &lt;stdio.h&gt;</span></p>
<p><span style="color:#ff0000;">#include &lt;conio.h&gt;</span></p>
<p><span style="color:#ff0000;">void main(){</span></p>
<p><span style="color:#ff0000;">clrscr();</span></p>
<p><span style="color:#ff0000;">int     data[8] = {8,10,6,-2,11,7,1,100};</span></p>
<p><span style="color:#ff0000;">int cari;</span></p>
<p><span style="color:#ff0000;">int     flag=0;</span></p>
<p><span style="color:#ff0000;">printf(&#8220;masukkan     data yang ingin dicari = &#8220;);      scanf(&#8220;%d&#8221;,&amp;cari);</span></p>
<p><span style="color:#ff0000;">for(int     i=0;i&lt;8;i++){</span></p>
<p><span style="color:#ff0000;">if(data[i]     == cari) flag=1;</span></p>
<p><span style="color:#ff0000;">}</span></p>
<p><span style="color:#ff0000;">if(flag==1)     printf(&#8220;Data ada!\n&#8221;);</span></p>
<p><span style="color:#ff0000;">else     printf(&#8220;Data tidak ada!\n&#8221;);</span></p>
<p><span style="color:#ff0000;">}</span></p>
<p><span style="color:#ff0000;"> </span></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<p><span style="color:#ff0000;"><strong> </strong></span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/90/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/90/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/90/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=90&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2009/07/01/searching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/binary1.jpg" medium="image">
			<media:title type="html">BINARY1</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/binary2.jpg" medium="image">
			<media:title type="html">BINARY2</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/binary3.jpg?w=300" medium="image">
			<media:title type="html">BINARY3</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/untitled.jpg" medium="image">
			<media:title type="html">untitled</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/d2.jpg" medium="image">
			<media:title type="html">d2</media:title>
		</media:content>
	</item>
		<item>
		<title>TUGAZ SORTING/Quick sort</title>
		<link>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingquick-sort/</link>
		<comments>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingquick-sort/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 06:44:04 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=82</guid>
		<description><![CDATA[Sorting Sorting atau Algoritma pengurutan adalah algoritma yang meletakkan elemen-elemen suatu kumpulan data dalam urutan tertentu. Ada 2 jenis sorting : Ascending (naik) &#38; Descending (turun). Klasifikasi AlgoritmaPengurutan (sorting) QUICK SORT Quick sort banyak digunakan utk proses sorting,karena: �� merupakan proses sorting yang umum digunakan �� mudah untuk diimplementasikan �� Prosesnya sangat cepat QUICK SORT [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=82&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom:0;" align="center"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:xx-large;"><strong>Sorting</strong></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;"><strong><span style="font-family:Georgia,serif;"><span style="font-size:small;">Sorting atau Algoritma pengurutan</span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"> adalah </span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;">algoritma yang meletakkan elemen-elemen suatu kumpulan</span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"> </span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;">data dalam urutan tertentu.</span></span><span style="font-family:Georgia,serif;"><span style="font-size:x-large;"> </span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;">Ada 2 jenis sorting : Ascending (naik) &amp; Descending (turun).</span></span></strong></span></p>
<p style="margin-bottom:0;line-height:100%;">
<p style="margin-bottom:0;line-height:100%;" align="center"><span style="font-family:Georgia,serif;"><span style="font-size:medium;"><span lang="de-DE"><strong>Klasifikasi AlgoritmaPengurutan </strong></span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:medium;"><span lang="de-DE"><em><strong>(sorting)</strong></em></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-size:medium;"><strong>QUICK SORT</strong></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;"><span style="font-size:small;">Quick sort banyak digunakan utk proses sorting,karena:</span></span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;">��</span><span style="color:#ff0000;"> </span><span style="color:#ff0000;"><span style="font-size:small;">merupakan proses sorting yang umum digunakan</span></span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;">��</span><span style="color:#ff0000;"> </span><span style="color:#ff0000;"><span style="font-size:small;">mudah untuk diimplementasikan</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">��</span><span style="color:#ff0000;"> </span><span style="color:#ff0000;"><span style="font-size:small;">Prosesnya sangat cepat</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">QUICK SORT Membandingkan suatu elemen (disebut pivot)  dengan elemen yang lain dan menyusunnya sedemikian rupa sehingga elemen- elemen lain yang lebih kecil daripada  tersebut terletak di sebelah kirinya dan elemen-elemen lain yang lebih besar daripada pivot tersebut terletak di sebelah kanannya. Sehingga dengan demikian telah terbntuk dua sublist, yang terletak di sebelah kiri dan kanan dari pivot. Lalu pada sublist kiri dan sublist kanan kita anggap sebuah list baru dan kita kerjakan proses yang sama seperti sebelumnya.<span id="more-82"></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">Ilustrasinya :</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">Proses : Bilangan yang di dalam kurung merupakan pivot Persegi panjang yang digambarkan dengan garis terputus-putus menunjukkan sublist. i bergerak dari sudut kiri ke kanan sampai mendapatkan nilai yang &gt;= pivot. j bergerak dari sudut kanan ke kiri.</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <img class="aligncenter size-full wp-image-97" title="Quick1" src="http://rusdia.files.wordpress.com/2009/07/quick11.jpg?w=497&#038;h=372" alt="Quick1" width="497" height="372" /><br />
</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">i berhenti pada index ke-1 karena langsung mendapatkan nilai yang &gt; dari pivot (15). j Berhenti pada index ke-6 karena juga langsung mendapatkan nilai yang &lt; dari pivot (15).</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><img class="aligncenter size-full wp-image-99" title="quick2" src="http://rusdia.files.wordpress.com/2009/07/quick21.jpg?w=497&#038;h=372" alt="quick2" width="497" height="372" /><br />
</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><br />
</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">i berhenti pada index ke-3 (pivot) karena tidak menemukan bilangan yang &gt; dari pivot. j berhenti pada index k-5 menunjuk pada nilai yang &lt; pivot.</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><img class="aligncenter size-full wp-image-100" title="Quick3" src="http://rusdia.files.wordpress.com/2009/07/quick31.jpg?w=497&#038;h=372" alt="Quick3" width="497" height="372" /><img class="aligncenter size-full wp-image-101" title="Quick4" src="http://rusdia.files.wordpress.com/2009/07/quick41.jpg?w=497&#038;h=372" alt="Quick4" width="497" height="372" /><br />
</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span><span style="color:#ff0000;">Programnya :</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">#include &lt;iostream.h&gt;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">#include &lt;conio.h&gt;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">int data[100],data2[100];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">int n;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">void tukar(int a,int b)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span lang="de-DE">{</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span lang="de-DE">int t;</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span lang="de-DE">t = data[b];</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">data[b] = data[a];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">data[a] = t;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">void QuickSort(int L, int R)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">int i, j;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">int mid;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">i = L;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">j = R;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">mid = data[(L+R) / 2];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">do</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">while (data[i] &lt; mid) i++;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">while (data[j] &gt; mid) j&#8211;;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">if (i &lt;= j)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">tukar(i,j);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">i++;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">j&#8211;;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">};</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">} while (i &lt; j);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">if (L &lt; j) QuickSort(L, j);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">if (i &lt; R) QuickSort(i, R);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">void Input()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221;Masukkan jumlah data = &#8220;; cin&gt;&gt;n;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">for(int i=0;i&lt;n;i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> cout&lt;&lt;&#8221;Masukkan data ke-&#8221;&lt;&lt;(i+1)&lt;&lt;&#8221; = &#8220;; cin&gt;&gt;data[i];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> data2[i] = data[i];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">void Tampil()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221;Data : &#8220;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">for(int i=0;i&lt;n;i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> cout&lt;&lt;data[i]&lt;&lt;&#8221; &#8220;;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">void AcakLagi()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> for(int i=0;i&lt;n;i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> {</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> data[i] = data2[i];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> }</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221;Data sudah teracak!&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">void main()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">int pil;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">clrscr();</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">do</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">clrscr();</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221;Program Sorting !!!&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221;*********************************************&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221; 1. Input Data&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221; 2. Quick Sort&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221; 3. Tampilkan Data&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221; 4. Acak Data&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221; 5. Exit&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221;    Pilihan Anda = &#8220;;  cin&gt;&gt;pil;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">switch(pil)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">case 1:Input(); break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">case 2:QuickSort(0,n-1);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">cout&lt;&lt;&#8221;quick sort selesai!&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">case 3:Tampil(); break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">case 4:AcakLagi(); break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">getch();</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}while(pil!=5);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=82&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingquick-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/quick11.jpg" medium="image">
			<media:title type="html">Quick1</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/quick21.jpg" medium="image">
			<media:title type="html">quick2</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/quick31.jpg" medium="image">
			<media:title type="html">Quick3</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/quick41.jpg" medium="image">
			<media:title type="html">Quick4</media:title>
		</media:content>
	</item>
		<item>
		<title>TUGAZ SORTING/INSERTION SORT</title>
		<link>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingisertion-sort/</link>
		<comments>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingisertion-sort/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 06:33:18 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[umum]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=75</guid>
		<description><![CDATA[INSERTION SORT mencari tempat yang tepat untuk suatu elemen data yang telah diketahui ke dalam sub kumpulan data yang telah terurut, kemudian melakukan penyisipan (insertion) data di tempat yang tepat tersebut. Mirip dengan cara orang mengurutkan kartu, selembar demi selembar kartu diambil dan disisipkan (insert) ke tempat yang seharusnya. �� Pengurutan dimulai dari data ke-2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=75&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:medium;"><strong>INSERTION SORT</strong></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><span lang="de-DE">mencari tempat yang tepat untuk suatu elemen data yang telah diketahui ke dalam sub kumpulan data yang telah terurut, kemudian melakukan penyisipan (</span></span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><span lang="de-DE"><em>insertion</em></span></span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><span lang="de-DE">) data di tempat yang tepat tersebut. </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">Mirip dengan cara orang </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">mengurutkan </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">kartu, selembar demi selembar kartu diambil dan </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">disisipkan </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">(insert) ke tempat yang seharusnya.<span id="more-75"></span></span></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">�� <span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">Pengurutan dimulai dari data ke-2 sampai dengan data terakhir, jika ditemukan data yang </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">lebih</span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE"> </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">kecil</span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">, maka akan ditempatkan (</span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">diinsert</span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">) diposisi yang seharusnya. Pada penyisipan elemen, maka elemen-elemen lain akan bergeser ke belakang.</span></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">Procedure Insertion Sort Ascending  :</span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;">Kondisi awal:</span></span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;">�� <span style="font-family:Georgia,serif;">Unsorted list = data</span></span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;">�� <span style="font-family:Georgia,serif;">Sorted list = kosong</span></span></p>
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;">�� <span style="font-family:Georgia,serif;">Ambil sembarang elemen dari unsorted list, sisipkan</span></span></p>
<p style="margin-bottom:0;line-height:100%;">
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;">(insert) pada posisi yang benar dalam sorted list.</span></span></p>
<p style="margin-bottom:0;line-height:100%;">
<p style="margin-bottom:0;line-height:100%;"><span style="color:#ff0000;">�� <span style="font-family:Georgia,serif;">Lakukan terus sampai </span><span style="font-family:Georgia,serif;">Unsorted </span><span style="font-family:Georgia,serif;"> list habis.</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;">�� <span style="font-family:Georgia,serif;"><span lang="de-DE">Bayangkan anda mengurutkan kartu.</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span lang="de-DE"><img class="aligncenter size-full wp-image-77" title="insertion1" src="http://rusdia.files.wordpress.com/2009/07/insertion11.jpg?w=497&#038;h=372" alt="insertion1" width="497" height="372" /><br />
</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">Programnya  :</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">#include &lt;iostream.h&gt;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">#include &lt;conio.h&gt;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">int data[100],data2[100];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">int n;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void tukar(int a,int b)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">int t;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">t = data[b];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">data[b] = data[a];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">data[a] = t;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void insertion_sort()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">int temp,i,j;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">for(i=1;i&lt;n;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">temp = data[i];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">j = i -1;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">while(data[j]&gt;temp &amp;&amp; j&gt;=0)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> data[j+1] = data[j];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> j&#8211;;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">data[j+1] = temp;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;insertion sort selesai!&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void Input()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Masukkan jumlah data = &#8220;; cin&gt;&gt;n;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">for(int i=0;i&lt;n;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> cout&lt;&lt;&#8221;Masukkan data ke-&#8221;&lt;&lt;(i+1)&lt;&lt;&#8221; = &#8220;; cin&gt;&gt;data[i];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> data2[i] = data[i];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void Tampil()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Data : &#8220;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">for(int i=0;i&lt;n;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> cout&lt;&lt;data[i]&lt;&lt;&#8221; &#8220;;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void AcakLagi()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> for(int i=0;i&lt;n;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> {</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> data[i] = data2[i];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> }</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Data sudah teracak!&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void main()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">int pil;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">clrscr();</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">do</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">clrscr();</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Program Sorting Komplit!!!&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;*********************************************&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 1. Input Data&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 2. Insertion Sort&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 3. Tampilkan Data&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 4. Acak Data&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 5. Exit&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;    Pilihan Anda = &#8220;;  cin&gt;&gt;pil;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">switch(pil)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 1:Input(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 2:insertion_sort(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 3:Tampil(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 4:AcakLagi(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">getch();</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}while(pil!=5);</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=75&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingisertion-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/insertion11.jpg" medium="image">
			<media:title type="html">insertion1</media:title>
		</media:content>
	</item>
		<item>
		<title>TUGAZ SORTING/bubble sort &amp; exchange sort</title>
		<link>http://rusdia.wordpress.com/2009/07/01/tugaz-sorting/</link>
		<comments>http://rusdia.wordpress.com/2009/07/01/tugaz-sorting/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 05:57:38 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ilustrasi dari buble sort/excchange sort]]></category>
		<category><![CDATA[SORTING/bublesort/exchange sort]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=58</guid>
		<description><![CDATA[ALGORITMA BUBBLE SORT Bubble Sort adalah cara mengurut yang sederhana. Cara kerjanya adalah dengan melakukan proses looping berulang-ulang terhadap elemen-elemen struktur data yang belum diurutkan. Dalam proses looping tersebut nilai dari dua struktur data dibandingkan,dan jika ternyata urutannya tidak sesuai dengan urutan,maka dilakukan proses penukaran atau disebut swap. Exchange Sort Melakukan pembandingan antar data, dan [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=58&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="font-family:Times New Roman,serif;"><span style="font-size:medium;"><strong>ALGORITMA BUBBLE SORT</strong></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="font-family:TimesNewRomanPSMT,serif;"><span style="font-size:small;">Bubble Sort adalah cara mengurut yang sederhana. Cara kerjanya adalah dengan melakukan  proses looping berulang-ulang terhadap elemen-elemen struktur data yang belum diurutkan. Dalam proses looping tersebut nilai dari dua struktur data dibandingkan,dan  jika ternyata urutannya tidak sesuai dengan  urutan,maka dilakukan proses penukaran atau disebut swap.</span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:Georgia,serif;"><span style="font-size:large;"><em><strong>Exchange Sort</strong></em></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:Georgia,serif;"><span style="font-size:small;">Melakukan pembandingan antar data, dan melakukan pertukaran apabila urutan yang</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">didapat belum sesuai. </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE"><strong>Bisa dikatakan Bubble sort sama dengan </strong></span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE"><strong>Exchange Sort karena  kedua metode ini melakukan pertukaran berulang-ulang terhadap elemen data yang belum diurutkan.<span id="more-58"></span></strong></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="font-family:TimesNewRomanPSMT,serif;"><span style="font-size:small;"><strong>Berikut ilustrasinya  :</strong></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;" align="justify"><span style="font-family:0 New Roman,serif;"><span lang="de-DE"><strong>Sort Bubble / Exchange Sort </strong></span></span><span style="font-family:0 New Roman,serif;"><span lang="de-DE">Memindahkan elemen yang sekarag dengan elemen yang berikutnya, jika elemen sekarang &gt; elemen berikutnya, maka tukar Proses : </span></span></p>
<p style="margin-bottom:0;" align="justify"><span style="font-family:0 New Roman,serif;"><span lang="de-DE">Langkah 1 :</span></span></p>
<p style="margin-bottom:0;" align="justify"><span style="font-family:0 New Roman,serif;"><span lang="de-DE"><img class="alignnone size-full wp-image-59" title="data1" src="http://rusdia.files.wordpress.com/2009/07/data11.jpg?w=497" alt="data1"   /><br />
</span></span></p>
<p style="margin-bottom:0;"><span style="font-family:0 New Roman,serif;">Pengecekan dapat dimulai dari data paling awal atau paling akhir. Pada contoh di samping ini pengecekan di mulai dari data yang paling akhir. Data paling akhir dibandingkan dengan data di depannya, jika ternyata lebih kecil maka tukar. Dan pengecekan yang sama dilakukan terhadap data yang selanjutnya sampai dengan data yang paling awal. </span></p>
<p style="margin-bottom:0;"><img class="alignnone size-full wp-image-60" title="data2" src="http://rusdia.files.wordpress.com/2009/07/data2.jpg?w=497&#038;h=354" alt="data2" width="497" height="354" /><span style="font-family:0 New Roman,serif;">Proses di atas adalah pengurutan data dengan cara metode bubble</span></p>
<p style="margin-bottom:0;" align="justify">
<p style="margin-bottom:0;">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"><strong>/ </strong></span><span style="font-family:0 New Roman,serif;">Exchange Sort ascending. Untuk yang descending adalah kebalikan dari proses diatas.</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><strong><span style="font-family:0 New Roman,serif;">Programnya :</span></strong></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">#include &lt;iostream.h&gt;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">#include &lt;conio.h&gt;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">int data[100],data2[100];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">int n;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">void tukar(int a,int b)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"><span lang="de-DE">{</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"><span lang="de-DE">int t;</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"><span lang="de-DE">t = data[b];</span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">data[b] = data[a];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">data[a] = t;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">void bubble_sort()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">for(int i=1;i&lt;n;i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">for(int j=n-1;j&gt;=i;j&#8211;)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> if(data[j]&lt;data[j-1]) tukar(j,j-1);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;bubble sort selesai!&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">void exchange_sort()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> for (int i=0; i&lt;n-1; i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> for(int j = (i+1); j&lt;n; j++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> if (data [i] &gt; data[j]) tukar(i,j);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> }</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> }</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;exchange sort selesai!&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">void Input()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;Masukkan jumlah data = &#8220;; cin&gt;&gt;n;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">for(int i=0;i&lt;n;i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> cout&lt;&lt;&#8221;Masukkan data ke-&#8221;&lt;&lt;(i+1)&lt;&lt;&#8221; = &#8220;; cin&gt;&gt;data[i];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> data2[i] = data[i];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">void Tampil()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;Data : &#8220;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">for(int i=0;i&lt;n;i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> cout&lt;&lt;data[i]&lt;&lt;&#8221; &#8220;;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">void AcakLagi()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> for(int i=0;i&lt;n;i++)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> {</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> data[i] = data2[i];</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;"> }</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;Data sudah teracak!&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">void main()</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">int pil;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">clrscr();</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">do</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">clrscr();</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;Program Sorting !!!&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;*********************************************&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221; 1. Input Data&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221; 2. Bubble Sort&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221; 3. Exchange sort&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221; 4. Tampilkan Data&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221; 5. Acak Data&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221; 6. Exit&#8221;&lt;&lt;endl;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">cout&lt;&lt;&#8221;    Pilihan Anda = &#8220;;  cin&gt;&gt;pil;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">switch(pil)</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">{</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">case 1:Input(); break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">case 2:bubble_sort(); break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">case 3:exchange_sort();break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">case 4:Tampil(); break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">case 5:AcakLagi(); break;</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">getch();</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}while(pil!=6);</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">}</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=58&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2009/07/01/tugaz-sorting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/data11.jpg" medium="image">
			<media:title type="html">data1</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/data2.jpg" medium="image">
			<media:title type="html">data2</media:title>
		</media:content>
	</item>
		<item>
		<title>TUGAZ SORTING/selection sort</title>
		<link>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingselection-sort/</link>
		<comments>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingselection-sort/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 05:13:23 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=65</guid>
		<description><![CDATA[Selection Sort Pengertian dari selection sort adalah mencari elemen yang tepat untuk diletakkan di posisi yang telah diketahui, dan meletakkannya di posisi tersebut setelah data tersebut ditemukan.Selection Sort Membandingkan elemen yang sekarang dengan elemen yang berikutnya sampai dengan elemen yang terakhir. Jika ditemukan elemen lain yang lebih kecil dari elemen sekarang maka dicatat posisinya dan [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=65&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 0.79in } 		P { margin-bottom: 0.08in } --></p>
<p style="margin-bottom:0;line-height:100%;"><span style="font-family:Georgia,serif;"><span style="font-size:medium;"><strong>Selection Sort</strong></span></span></p>
<p style="margin-bottom:0;line-height:100%;">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">Pengertian dari selection sort adalah mencari elemen yang tepat untuk diletakkan di posisi yang telah diketahui, dan meletakkannya di posisi tersebut setelah data tersebut ditemukan.</span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">Selection Sort Membandingkan elemen yang sekarang dengan elemen yang berikutnya sampai dengan elemen yang terakhir. </span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><span lang="de-DE">Jika ditemukan elemen lain yang lebih kecil dari elemen sekarang maka dicatat posisinya dan kemudian ditukar. </span></span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">Dan begitu seterusnya deh.<span id="more-65"></span></span></span></p>
<p style="margin-bottom:0;" align="justify">
<p style="margin-bottom:0;" align="justify"><span style="font-family:0 New Roman,serif;">Ilustrasinya :</span></p>
<p style="margin-bottom:0;" align="justify"><span style="font-family:0 New Roman,serif;"><img class="aligncenter size-full wp-image-103" title="selection1" src="http://rusdia.files.wordpress.com/2009/07/selection13.jpg?w=497&#038;h=372" alt="selection1" width="497" height="372" /><img class="aligncenter size-full wp-image-104" title="selection2" src="http://rusdia.files.wordpress.com/2009/07/selection21.jpg?w=497&#038;h=372" alt="selection2" width="497" height="372" /><br />
</span></p>
<p style="margin-bottom:0;" align="justify"><span style="font-family:0 New Roman,serif;"><br />
</span></p>
<p style="margin-bottom:0;" align="justify"><span style="font-family:0 New Roman,serif;"><br />
</span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="font-family:0 New Roman,serif;">Proses pengurutan di atas adalah dengan metoda selection Ascending.</span><span style="font-family:0 New Roman,serif;"><span lang="de-DE">Untuk descending hanyalah kebalikan dari proses di atas. </span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">Programnya</span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">:</span></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">#include &lt;iostream.h&gt;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">#include &lt;conio.h&gt;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">int data[100],data2[100];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">int n;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void tukar(int a,int b)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">int t;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">t = data[b];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">data[b] = data[a];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">data[a] = t;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void selection_sort()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">int pos,i,j;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">for(i=0;i&lt;n-1;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> pos = i;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> for(j = i+1;j&lt;n;j++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> {</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> if(data[j] &lt; data[pos]) pos = j;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> }</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">if(pos != i) tukar(pos,i);</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;selection sort selesai!&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void Input()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Masukkan jumlah data = &#8220;; cin&gt;&gt;n;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">for(int i=0;i&lt;n;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> cout&lt;&lt;&#8221;Masukkan data ke-&#8221;&lt;&lt;(i+1)&lt;&lt;&#8221; = &#8220;; cin&gt;&gt;data[i];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"> </span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">data2[i] = data[i];</span></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void Tampil()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Data : &#8220;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">for(int i=0;i&lt;n;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">{</span></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> cout&lt;&lt;data[i]&lt;&lt;&#8221; &#8220;;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void AcakLagi()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE"> </span></span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;">for(int i=0;i&lt;n;i++)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> </span></span><span style="font-family:Georgia,serif;"><span style="font-size:small;"><span lang="de-DE">{</span></span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> data[i] = data2[i];</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;"> }</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Data sudah teracak!&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify">
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">void main()</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">int pil;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">clrscr();</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">do</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">clrscr();</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;Program Sorting !!!&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;*********************************************&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 1. Input Data&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 2. Selection Sort&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 3. Tampilkan Data&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 4. Acak Data&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221; 5. Exit&#8221;&lt;&lt;endl;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">cout&lt;&lt;&#8221;    Pilihan Anda = &#8220;;  cin&gt;&gt;pil;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">switch(pil)</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">{</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 1:Input(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 2:selection_sort(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 3:Tampil(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">case 4:AcakLagi(); break;</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"> <span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">getch();</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}while(pil!=5);</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify"><span style="color:#ff0000;"><span style="font-family:Georgia,serif;"><span style="font-size:small;">}</span></span></span></p>
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<p style="margin-bottom:0;line-height:100%;" lang="de-DE" align="justify">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=65&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2009/07/01/tugaz-sortingselection-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/selection13.jpg" medium="image">
			<media:title type="html">selection1</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2009/07/selection21.jpg" medium="image">
			<media:title type="html">selection2</media:title>
		</media:content>
	</item>
		<item>
		<title>Mencegah Kanker dengan dari Alam</title>
		<link>http://rusdia.wordpress.com/2008/08/26/mencegah-kanker-dengan-dari-alam/</link>
		<comments>http://rusdia.wordpress.com/2008/08/26/mencegah-kanker-dengan-dari-alam/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 01:42:15 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[bahan alami]]></category>
		<category><![CDATA[Kesehatan]]></category>
		<category><![CDATA[umum]]></category>
		<category><![CDATA[alam]]></category>
		<category><![CDATA[kanker]]></category>
		<category><![CDATA[mencegah]]></category>
		<category><![CDATA[mencegaha dari alam mencegah kanker dari alam]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=52</guid>
		<description><![CDATA[    Faktor  Penyebab kanker sangatlah beragam dan belum juga diketahui dengan tepat.namun faktor genetik atau keturunan, pola hidup dan diet diduga menjadi faktor risiko penting penyebab penyakit tersebut. Kerusakan oksidatif juga diduga ikut berperan penting menjadi penyebab munculnya kanker.   Dari hasil penelitian diketahui bahwa bahan-bahan alam terkadang senyawa-senyawa yang dapat membantu mencegah dan [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=52&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align:center;margin:0;" align="center">
<p class="MsoNormal" style="text-align:center;margin:0;" align="center"> </p>
<p><strong><span style="font-size:50.5pt;font-family:&quot;position:relative;top:-1pt;"><span style="font-family:Times New Roman;"> </span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;">Faktor<span>  </span>Penyebab kanker sangatlah beragam dan belum juga diketahui dengan tepat.namun faktor genetik atau keturunan, pola hidup dan diet diduga menjadi faktor risiko penting penyebab penyakit tersebut. Kerusakan oksidatif juga diduga ikut berperan penting menjadi penyebab munculnya kanker.</span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><strong><span style="font-size:small;font-family:Times New Roman;"> </span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;">Dari hasil penelitian diketahui bahwa bahan-bahan alam terkadang senyawa-senyawa yang dapat membantu mencegah dan mengatasi penyakit ini.apa saja bahan alam itu?</span></span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;font-family:Times New Roman;"> </span></strong></p>
<p class="MsoNormal" style="vertical-align:baseline;text-indent:27pt;line-height:41.35pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:44.5pt;font-family:&quot;position:relative;top:-6.5pt;"><span style="font-family:Times New Roman;">Apel</span></span></strong></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;"><span> </span><span> </span>Apel <em>(Pyrus malus)</em> hidup subur di daerah beriklim dingin. Rasanya lezat dan bermanfaat bagi penderita kanker.<em></em></span></span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;"><span>                       </span></span></span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;">Dari berbagai penelitian diketahui zat-zat kimia alami dalam apel dapat memperlambat pertumbuhan tingkat sel-sel kanker usus dan kanker hati.</span></span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;font-family:Times New Roman;"> </span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;">Untuk melawan penyakit kanker lebih baik konsumsi apel tanpa dikupas,karena mengandung lebih banyak antioksidan , sehingga perlindungan terhadap kanker juga lebih baik.</span></span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;font-family:Times New Roman;"> </span></strong></p>
<p class="MsoNormal" style="text-indent:27pt;text-align:justify;margin:0 0 0 0.5in;"><strong><span style="font-size:small;"><span style="font-family:Times New Roman;">Penelitian yang dilakukan di National Cancer institute di AS menghasilkan data bahwa zat flovaonid apel terbukti dapat menurunkan risiko kanker paru-paru sampai 50 persen.penelitian dari Cornel University di AS juga menemukan bahwa zat fitokimia dalam kulit apel menghambat pertumbuhan kaker usus sebesar 43 persen.Menurut penelitian dari Amerika Serikat menyebutkan,quercertin,sejenis flavonoid yang terkandung dalam apel,membantu mencegah pertumbuhan sel kanker prostat.<em></em></span></span></strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rusdia.wordpress.com/52/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rusdia.wordpress.com/52/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=52&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2008/08/26/mencegah-kanker-dengan-dari-alam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>
	</item>
		<item>
		<title>Cara Menghubungkan Komputer dengan Jaringan Internet</title>
		<link>http://rusdia.wordpress.com/2008/08/25/cara-menghubungkan-komputer-dengan-jaringan-internet/</link>
		<comments>http://rusdia.wordpress.com/2008/08/25/cara-menghubungkan-komputer-dengan-jaringan-internet/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 06:17:54 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[umum]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[cara internet]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[jaringan]]></category>
		<category><![CDATA[menghubungkan internet dengan jaringan]]></category>
		<category><![CDATA[menhubungkan internet]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=32</guid>
		<description><![CDATA[  1.      Melalu Jaringan   Untuk menghubungkan komputer dengan jaringan yang besar dapat digunakan jaringan yang lebih kecil yaitu LAN.cara penghubung komputer dengan internet melalui jaringan biasa digunakan untuk melayani pemakaian dengan jumlah yang banyak.contoh warnet,kampus,sekolah,perusahaan negeri maupun swasta dan lai-lain. Sistem penghubung dengan jaringan adalah dengan menggunakan komputer sebagai server yang dihubungkan dengan penyedia  [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=32&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-size:20pt;"><span style="font-family:Times New Roman;"> </span></span></p>
<p class="MsoNormal" style="text-indent:-0.25in;text-align:justify;margin:0 0 0 0.25in;"><span style="font-family:&quot;"><span><span style="font-size:small;">1.</span><span style="font-family:&quot;">      </span></span></span><span style="font-family:&quot;"><span style="font-size:small;">Melalu Jaringan</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.25in;"><span style="font-size:20pt;font-family:&quot;"> </span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;">Untuk menghubungkan komputer dengan jaringan yang besar dapat digunakan jaringan yang lebih kecil yaitu LAN.cara penghubung komputer dengan internet melalui jaringan biasa digunakan untuk melayani pemakaian dengan jumlah yang banyak.contoh warnet,kampus,sekolah,perusahaan negeri maupun swasta dan lai-lain.</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;">Sistem penghubung dengan jaringan adalah dengan menggunakan komputer sebagai server yang dihubungkan dengan penyedia<span>  </span>jasa layanan internet melalui telpon baik kabel maupun non kabel.Sistem jaringan ini memiliki keuntungan bahwa<span>  </span>biaya akses yang ditanggung akan lebih murah,karena biaya akses akan terbagi oleh banyaknya pemakai. <span id="more-32"></span></span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> <!--more--></span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;">2.<span>  </span>Melalui saluran telepon langsung </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;">Sistem sambungan yang lain adalah dengan dial up langsung,di mana modem langsung dihubungkan dengan jaringan telpon yang menghubungkan dengan jaringan internet. Kelebihan akses ini adalah memiliki jaringan yang luas.sedangkan kekurangannya adalah biaya akses yang relatif tinggi.</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;">3.<span>  </span>Melalui GPRS </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;">GPRS adalah singkatan dari General Pocket Radio Service.Jaringan ini merupakan gelombang radio sebagai penghubung Komputer dengan jaringan internet.dengan menggunakan gelombang radio sebagai penghubung komputer dengan jaringan internet.dengan mengunakan gelombang radio maka akses dengan GPRS ini memiliki kelebihan yaitu akses dapat dilaksanakan walupun alat komunikasi atau user bergerak.dalam penghitungan biaya akses didasarkan banyaknya data yang diakses tanpa dibatasi lamanya waktu akses.dan untuk dapat mengakses melalui GPRS hanya dilakukan komputer dan<span>  </span>telepon seluler yang dilengkapi fasilitas GPRS.Kekurangan dari GPRS <span>   </span>adalah untuk mendapatkan koneksi internet,kita harus melalukan setting tertentu pada ponsel,padahal setiap merk handphone dan operator seluler memilki cara tersendiri untuk mengaktifkan GPRS.</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;">4.<span>  </span>Melalui WiFi (Wireless Fidelty)</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;">WiFi adalah jaringan tanpa kabel yang mengunkan gelombang dengan frekuensi yang <span>     </span>tinggi(2.4GHz).untuk menggunakan WiFi kita harus memiliki notebook dan PDA yang dilengkapi dengan kartu WiFi.Kelebihan WiFi adalah memliki kecepata akses yang tinggi yaitu 11Mbps.Sedangkan kekurangan dari WiFi adalah pemakaian harus berada pada daerah yang memiliki sinyal WiFi (Daerah Hot Spot)</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;">5.<span>  </span>Menggunakan TV Kabel</span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-align:justify;margin:0 0 0 0.5in;"><span style="font-family:&quot;"><span style="font-size:small;">Kelebihan dari penggunaan jaringan TV kabel untuk akses internet adalah kita dapat melakukan akses internet setiap saat tanpa ada gangguan sepenuhnya jaringan telepon</span></span></p>
<p class="MsoNormal" style="text-indent:0.5in;text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;">Syarat aksess internet melalui TV kabel antara lain:</span></span></p>
<p class="MsoNormal" style="text-indent:0.5in;text-align:justify;margin:0;"><span style="font-family:&quot;"><span style="font-size:small;"> </span></span></p>
<p class="MsoNormal" style="text-indent:-0.25in;text-align:justify;margin:0 0 0 0.75in;"><span style="font-family:&quot;"><span><span style="font-size:small;">a.</span><span style="font-family:&quot;">      </span></span></span><span style="font-family:&quot;"><span style="font-size:small;">Berlangganan dengan penyedia layanan TV kabel yang memiliki layanan internet</span></span></p>
<p class="MsoNormal" style="text-indent:-0.25in;text-align:justify;margin:0 0 0 0.75in;"><span style="font-family:&quot;"><span><span style="font-size:small;">b.</span><span style="font-family:&quot;">      </span></span></span><span style="font-family:&quot;"><span style="font-size:small;">Perangkat komputer standar yang dilengkapi dengan sistem operasi dan perangkat lunak lainnya yang mendukung akses internet.</span></span></p>
<p class="MsoNormal" style="text-indent:-0.25in;text-align:justify;margin:0 0 0 0.75in;"><span style="font-family:&quot;"><span><span style="font-size:small;">c.</span><span style="font-family:&quot;">       </span></span></span><span style="font-family:&quot;"><span style="font-size:small;">Menggunakan modem khusus yang dirancang untuk TV kabel.</span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rusdia.wordpress.com/32/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rusdia.wordpress.com/32/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=32&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2008/08/25/cara-menghubungkan-komputer-dengan-jaringan-internet/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>
	</item>
		<item>
		<title>Sebuah Kerinduaan</title>
		<link>http://rusdia.wordpress.com/2008/08/17/sebuah-kerinduaan/</link>
		<comments>http://rusdia.wordpress.com/2008/08/17/sebuah-kerinduaan/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 10:56:26 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=29</guid>
		<description><![CDATA[Sebuah Kerinduaan &#60;!&#8211; @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } &#8211;&#62; Sebuah Kerinduaan Andai kau tahu……… Dari hati ini yang paling dalam Sesungguhnya aku terus merindukanmu….. Sampai kapan pun selalu ada bayangan dirimu… Yang menemani perjalananku Biar pun aku kesepian tapi bayangan dirimu….. Selalu menemani dan membawaku percaya bahwa [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=29&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sebuah Kerinduaan 	&lt;!&#8211; 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	&#8211;&gt;</p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Sebuah Kerinduaan</strong></span></span></p>
<p style="margin-bottom:0;" align="center">
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Andai kau tahu………</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Dari hati ini yang paling dalam </strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Sesungguhnya aku terus merindukanmu…..</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Sampai kapan pun selalu ada bayangan dirimu…</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Yang menemani perjalananku</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Biar pun aku kesepian tapi bayangan dirimu…..</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify">
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Selalu menemani dan membawaku percaya bahwa</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Jiwamu selalu ada di jiwaku</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Jangan pernah acuh kan kata-kata ini</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Jangan pernah lupakan cintaku</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Ini yang terdalam dengan dirimu</strong></span></span></p>
<p style="margin-left:2.86cm;margin-bottom:0;" align="justify">
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rusdia.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rusdia.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=29&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2008/08/17/sebuah-kerinduaan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>
	</item>
		<item>
		<title>Patah Hati</title>
		<link>http://rusdia.wordpress.com/2008/08/17/patah-hati/</link>
		<comments>http://rusdia.wordpress.com/2008/08/17/patah-hati/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 10:53:54 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=25</guid>
		<description><![CDATA[Patah Hati &#60;!&#8211; @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } &#8211;&#62; Patah Hati Siang hari bagaikan malam Hanya sedih dan pasrah Yang aku rasakan Kini semua telah berakhir Hilang semua anganku Lenyap jiwaku Sakit hatiku Sakit perasaanku Mungkin aku hanya nermimpi Mendapatkan cintamu sampai mati By : rusdia`s blog<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=25&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Patah Hati 	&lt;!&#8211; 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	&#8211;&gt;</p>
<p style="margin-bottom:0;" align="center"><a href="http://rusdia.files.wordpress.com/2008/08/lin-dan2.jpg"><img class="alignnone size-medium wp-image-27" src="http://rusdia.files.wordpress.com/2008/08/lin-dan2.jpg?w=91&#038;h=126" alt="" width="91" height="126" /></a><span style="font-family:A Yummy Apology;"><span style="font-size:large;"><strong>Patah Hati</strong></span></span></p>
<p style="margin-bottom:0;" align="center">
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Siang hari bagaikan malam</span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Hanya sedih dan pasrah </span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Yang aku rasakan</span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Kini semua telah berakhir</span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Hilang semua anganku</span></span></p>
<p style="margin-bottom:0;" align="center">
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Lenyap jiwaku</span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Sakit hatiku</span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Sakit perasaanku</span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Mungkin aku hanya nermimpi</span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">Mendapatkan cintamu sampai mati</span></span></p>
<p style="margin-bottom:0;" align="right">
<p style="margin-bottom:0;" align="right"><span style="font-family:A Yummy Apology;"><span style="font-size:large;">By : rusdia`s blog</span></span></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rusdia.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rusdia.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=25&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2008/08/17/patah-hati/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>

		<media:content url="http://rusdia.files.wordpress.com/2008/08/lin-dan2.jpg?w=225" medium="image" />
	</item>
		<item>
		<title>Kaulah Cahayaku</title>
		<link>http://rusdia.wordpress.com/2008/08/17/kaulah-cahayaku/</link>
		<comments>http://rusdia.wordpress.com/2008/08/17/kaulah-cahayaku/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 10:36:14 +0000</pubDate>
		<dc:creator>rusdia</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cahaya]]></category>
		<category><![CDATA[cinta]]></category>
		<category><![CDATA[kaulah]]></category>
		<category><![CDATA[kaulah cahaya]]></category>

		<guid isPermaLink="false">http://rusdia.wordpress.com/?p=23</guid>
		<description><![CDATA[Kau Lah Cahayaku &#60;!&#8211; @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } &#8211;&#62; Di dalam kegelapan malam,aku sendiri………. Di dalam dinginnya malam,aku sendiri………. Dengan suara tiupan angina malam Menemaniku melewati malam yang sepi Dan dinginnya malam&#8230;&#8230;&#8230;&#8230;&#8230;. Aku pun berharap munculnya Setitik cahaya terang Dalam gelap malamku Dan kaulah cahaya itu&#8230; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=23&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Kau Lah Cahayaku 	&lt;!&#8211; 		@page { size: 21cm 29.7cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 	&#8211;&gt;</p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong><br />
</strong></span></span></p>
<p style="margin-bottom:0;" align="center">
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Di dalam kegelapan malam,aku sendiri……….</strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Di dalam dinginnya malam,aku sendiri……….</strong></span></span></p>
<p style="margin-right:0.32cm;margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Dengan suara tiupan angina malam</strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Menemaniku melewati malam yang sepi </strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Dan dinginnya malam&#8230;&#8230;&#8230;&#8230;&#8230;.</strong></span></span></p>
<p style="margin-bottom:0;" align="center">
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Aku pun berharap munculnya</strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Setitik cahaya terang</strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Dalam gelap malamku</strong></span></span></p>
<p style="margin-bottom:0;" align="center">
<p style="margin-bottom:0;" align="center">
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Dan kaulah cahaya itu&#8230;</strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Kau begitu terang </strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Bahkan lebih terang daripada bulan purnama</strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Cahaya…. Mu telah menerangiku</strong></span></span></p>
<p style="margin-bottom:0;" align="center"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>Dalam hatiku yang sepi ini……….</strong></span></span></p>
<p style="margin-bottom:0;" align="right">
<p style="margin-bottom:0;" align="right"><span style="font-family:A Yummy Apology;"><span style="font-size:medium;"><strong>By: rusdia</strong></span></span></p>
<p style="margin-bottom:0;" align="center">
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/rusdia.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/rusdia.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rusdia.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rusdia.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rusdia.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rusdia.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rusdia.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rusdia.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rusdia.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rusdia.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rusdia.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rusdia.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rusdia.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rusdia.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rusdia.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rusdia.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rusdia.wordpress.com&amp;blog=4495667&amp;post=23&amp;subd=rusdia&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rusdia.wordpress.com/2008/08/17/kaulah-cahayaku/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">rusdia</media:title>
		</media:content>
	</item>
	</channel>
</rss>
