<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6197081996906679791</id><updated>2011-07-30T15:51:03.562-07:00</updated><category term='Tutorial'/><title type='text'>maTdishoLic</title><subtitle type='html'>all about logic Programming</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-4650318054729771412</id><published>2009-12-14T05:30:00.000-08:00</published><updated>2009-12-14T06:23:00.381-08:00</updated><title type='text'>Expert System Design in Prolog</title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style=";font-family:courier new;font-size:180%;"  &gt;&lt;span style="font-weight: bold;"&gt;EXPERT SYSTEM DESIGN FOR KNOWING THE CHARACTERISTIC OF BLOOD TYPE in  SWI PROLOG&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=";font-family:&amp;quot;;font-size:15.5pt;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;font-size:14pt;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Pada Final Project&lt;span style=""&gt;  &lt;/span&gt;4, kita telah membuat desain system pakar yang berguna untuk mengetahui karakteristik atau komponen apa saja yang terdapat di dalam setiap golongan darah. Karakteristik tiap golongan darah pun telah kita jelaskan pada final project 4 beserta prolog nya. Namun, kami menganggap prolog yang kami buat sebelumnya belum sempurna. Oleh karena itu, kita akan menunjukkan desain system pakar baru yang kami buat di prolog. Mari kita perhatikan&lt;span style=""&gt;  &lt;/span&gt;desain system pakar yang telah kami  buat:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Sistem Pakar Karakteristik golongan darah ini memiliki data-data sebagai berikut:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Tipe A: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol  style="margin-top: 0cm; font-weight: bold;font-family:lucida grande;" start="1" type="1"&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Memiliki Aglutinogen A&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Memiliki Aglutinin B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Jika darah ditetesi zat Anti A maka darah akan      menggumpal dan Jika darah ditetesi zat Anti B maka darah tidak akan      menggumpal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"  style="margin-left: 36pt; text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-left: 36pt; text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Tipe B:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol  style="margin-top: 0cm; font-weight: bold;font-family:lucida grande;" start="1" type="1"&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Memiliki Aglutinogen B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Memiliki Aglutinin A&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Jika darah ditetesi zat Anti A maka darah tidak      akan menggumpal dan Jika darah ditetesi zat Anti B maka darah&lt;span style=""&gt;  &lt;/span&gt;akan menggumpal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;&lt;span style=""&gt;Tipe&lt;/span&gt;&lt;/st1:city&gt;&lt;span style=""&gt; &lt;st1:state st="on"&gt;AB&lt;/st1:state&gt;&lt;/span&gt;&lt;/st1:place&gt;&lt;span style=""&gt;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol  style="margin-top: 0cm; font-weight: bold;font-family:lucida grande;" start="1" type="1"&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Memiliki Aglutinogen A dan B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Tidak memiliki agglutinin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Jika darah ditetesi zat Anti A maka darah akan      menggumpa dan Jika darah ditetesi zat Anti B maka darah juga akan      menggumpal.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="margin-left: 36pt; text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Tipe O:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol  style="margin-top: 0cm; font-weight: bold;font-family:lucida grande;" start="1" type="1"&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Tidak Memiliki Aglutinogen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Memiliki Aglutinogen A dan B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=""&gt;Jika darah ditetesi zat Anti A ataupun zat Anti      B maka darah tidak akan menggumpal.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt; &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Untuk menyimpan Data-Data tersebut dalam notepad agar bisa dijadikan&lt;span style=""&gt;  &lt;/span&gt;program di prolog maka dapat ditulis atau diketik rule nya pada notepad sebagai berikut:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 18pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-style: italic; font-family: arial; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;bloodtype(type_A,aglutinogen_A,aglutinin_B,clump,not_clump).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-style: italic; font-family: arial; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;bloodtype(type_B,aglutinogen_B,aglutinin_A,not_clump,clump).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-style: italic; font-family: arial; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;bloodtype(type_AB,aglutinogen_A_and_B,no_aglutinin,clump,clump).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-family: arial; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;bloodtype(type_O,no_aglutinogen,aglutinin_A_and_B,not_clump,not_clump).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="font-size:14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;NB(forgive us if its make you confuse): &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="NO-BOK"&gt;type=menjelaskan tentang tipe darah&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="NO-BOK"&gt;aglutinogen=menjelaskan aglutinogen yang dimiliki&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="NO-BOK"&gt;aglutinin= menjelaskan aglutinin yang dimiliki&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="NO-BOK"&gt;clump/not clump=clump/not clump setelah aglutinin menyatakan reaksi darah setelah ditetesi zat Anti A, sedangkan pada clump/not clump bagian akir menyatakan reaksi darah setelah ditetesi zat Anti B.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="" lang="NO-BOK"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="NO-BOK"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZAVXMT63I/AAAAAAAAAIQ/tR9ZqPZ8Jog/s1600-h/data.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 77px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZAVXMT63I/AAAAAAAAAIQ/tR9ZqPZ8Jog/s400/data.jpg" alt="" id="BLOGGER_PHOTO_ID_5415086337706683250" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;Kemudian, kami akan membuat program dimana saat di masukkan sebuah kondisi maka dapat disimpulkan jenis golongan darah tersebut. &lt;/span&gt;&lt;span style=""&gt;Misalnya:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;1. JIKA : &lt;/span&gt;&lt;span style=""&gt;Memiliki Aglutinogen A&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;    &lt;/span&gt;MAKA : &lt;/span&gt;&lt;span style=""&gt;Jenis Golongan Darah adalah Golongan Darah A.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;2. JIKA&lt;/span&gt;&lt;span style=""&gt; : Memiliki Aglutinin A&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style="font-weight: normal;"&gt;MAKA&lt;/span&gt;&lt;/span&gt;&lt;span style=""&gt; : Jenis Golongan Darah adalah Golongan Darah B.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;3. JIKA &lt;/span&gt;&lt;span style=""&gt;: Ditetesi zat Anti A menggumpal dan saat ditetesi zat Anti B tidak menggumpal&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;     &lt;/span&gt;MAKA &lt;/span&gt;&lt;span style=""&gt;: Jenis Golongan Darah adalah Golongan Darah A.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Program pertama yang kami buat yaitu menentukan kondisi aglutinogen yang dimiliki oleh tiap tipe golongan darah. Maka dapat ditulis atau diketik caranya atau rule pada notepad sebagai berikut :&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic; font-family: arial;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;aglutinogen_A:-bloodtype(Darah,Aglutino,_,_,_),Aglutino=aglutinogen_A,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic; font-family: arial;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;write('Blood Type is '),write(Darah),nl,fail.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-family: arial;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;aglutinogen_A.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="font-size:14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Cara ini juga bisa dilakukan pada setiap golongan darah namun harus merubah persyaratannya terlebih dahulu. Untuk rule selengkapnya, lihat gambar di bawah ini:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SyY-8jlZPTI/AAAAAAAAAII/zhHFU9496z0/s1600-h/PADaglu.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 155px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SyY-8jlZPTI/AAAAAAAAAII/zhHFU9496z0/s400/PADaglu.jpg" alt="" id="BLOGGER_PHOTO_ID_5415084812024757554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="SV"&gt;Program kedua yang kami buat yaitu menentukan kondisi aglutinin yang dimiliki oleh tiap tipe golongan darah. Maka kita dapat mengetik rulenya pada notepad sebagai berikut :&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic;font-family:lucida grande;"&gt;&lt;span lang="SV"  style="font-size:100%;"&gt;no_aglutinin:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;    &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic;font-family:lucida grande;"&gt;&lt;span lang="SV"  style="font-size:100%;"&gt;bloodtype(Darah,_,Aglutinin,_,_),Aglutinin=no_aglutinin,write('Blood Type is '),write(Darah),nl,fail.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic;font-family:lucida grande;"&gt;no_aglutinin.&lt;br /&gt;&lt;span lang="SV"  style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span lang="SV"  style="font-size:14pt;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;Cara ini juga bisa dilakukan pada setiap golongan darah namun harus merubah persyaratannya terlebih dahulu. Untuk rule selengkapnya, lihat gambar di bawah ini:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SyZA_hxZRaI/AAAAAAAAAIY/uyDOXx0xBYM/s1600-h/PADtinin.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 182px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SyZA_hxZRaI/AAAAAAAAAIY/uyDOXx0xBYM/s400/PADtinin.jpg" alt="" id="BLOGGER_PHOTO_ID_5415087062101083554" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;Program ketiga yang kami buat yaitu menentukan kondisi saat ditetesi zat anti a dan zat anti b yang terjadi pada tiap tipe golongan darah. Kita dapatt mengetik rulenya pada notepad sebagai berikut :&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; text-indent: 36pt; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span lang="SV"  style="font-size:14pt;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic; font-family: arial;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;clump_not:-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic; font-family: arial;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;bloodtype(Darah,_,_,clump,not_clump),&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic; font-family: arial;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;write('Blood Type is '),write(Darah),nl,fail.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-family: arial;font-family:lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-style: italic;"&gt;clump_not.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style="font-size:14pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;NB: clump_not&lt;span style=""&gt;  &lt;/span&gt;memiliki arti clump = menggumpal saat ditetesi Zat anti A dan &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;not&lt;/span&gt;&lt;span style=""&gt; = tidak menggumpal saat&lt;span style=""&gt;  &lt;/span&gt;ditetesi zat anti B.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;more example: not_not memiliki arti not = tidak menggumpal saat ditetesi zat anti A dan not= tidak menggumpal saat ditetesi zat anti B.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Cara ini juga bisa dilakukan pada setiap golongan darah namun harus merubah persyaratannya terlebih dahulu. Untuk rule selengkapnya, lihat gambar di bawah ini:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/SyZBz0OS75I/AAAAAAAAAIg/pYHznF5V5QU/s1600-h/PADclump.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 124px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/SyZBz0OS75I/AAAAAAAAAIg/pYHznF5V5QU/s400/PADclump.jpg" alt="" id="BLOGGER_PHOTO_ID_5415087960407338898" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;span style=""&gt;            &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;Selain ketiga program diatas, kita juga membuat satu lagi yaitu untuk memunculkan semua karakteristik setiap golongan darah. &lt;/span&gt;&lt;span style=""&gt;Caranya yaitu:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;        &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic; font-family: arial;font-family:lucida grande;"&gt;&lt;span lang="SV"  style="font-size:100%;"&gt;tipeO:-bloodtype(type_O,Forename,Surname,Forename1,Surname1),write('The characteristic are: '),nl,&lt;o:p&gt;&lt;/o:p&gt;write(Forename),nl,write(Surname),nl,write('when its dropped'),write(' by Anti A'),write(' ,its will be '),write(Forename1),nl,write('when its dropped'),write(' by Anti B'),write(' ,its will be '),write(Surname1),nl,&lt;o:p&gt;&lt;/o:p&gt;fail.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; font-style: italic; font-family: arial;font-family:lucida grande;"&gt;tipeO.&lt;br /&gt;&lt;span lang="SV"  style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span lang="SV"  style="font-size:14pt;"&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="SV"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;NB: forgive us if this rule too complicated to make you understand.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Cara ini juga bisa dilakukan pada setiap golongan darah namun harus merubah persyaratannya terlebih dahulu. Untuk rule selengkapnya, lihat gambar di bawah ini:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/SyZDYBulDGI/AAAAAAAAAIo/nDl_bZRjdnc/s1600-h/PADakir.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 230px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/SyZDYBulDGI/AAAAAAAAAIo/nDl_bZRjdnc/s400/PADakir.jpg" alt="" id="BLOGGER_PHOTO_ID_5415089682019322978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;Then, setelah kita menyimpan semua rule yang telah kita kerjakan menjadi satu di notepad dengan format .pl atau prolog, maka kita dapat melihat tampilan program kita dalam SWI Prolog sebagai berikut:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(255, 153, 102);font-family:lucida grande;"&gt;&lt;span style=""&gt;1. Kondisi Aglutiogen&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(255, 153, 102);font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/SyZEr_SPIqI/AAAAAAAAAIw/GcqiAtdNzAs/s1600-h/aglutinogen.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 266px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/SyZEr_SPIqI/AAAAAAAAAIw/GcqiAtdNzAs/s400/aglutinogen.jpg" alt="" id="BLOGGER_PHOTO_ID_5415091124472586914" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;NB: keyword yang digunakan yaitu aglutinogen_(tipe aglutinogen) jika tidak ada maka no_aglutinogen.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(51, 255, 51);font-family:lucida grande;"&gt;&lt;span style=""&gt;2. Kondisi Aglutinin&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(51, 255, 51);font-family:lucida grande;"&gt;&lt;span style=""&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZFQE7k_yI/AAAAAAAAAI4/BTd6BeqwCFE/s1600-h/aglutinin.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 212px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZFQE7k_yI/AAAAAAAAAI4/BTd6BeqwCFE/s400/aglutinin.jpg" alt="" id="BLOGGER_PHOTO_ID_5415091744463453986" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=";font-size:100%;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=";font-size:100%;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=";font-size:100%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style=";font-size:100%;" &gt;NB: keyword yang digunakan yaitu aglutinin_(tipe aglutinogen) jika tidak ada maka no_aglutinin.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-weight: bold; font-family: lucida grande;"&gt;&lt;span style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(204, 51, 204);font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;3.Kondisi saat ditetesi zat Anti A dan zat Anti B&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(204, 51, 204);font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; font-weight: bold; font-family: lucida grande;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZGL3lVSuI/AAAAAAAAAJA/RV1-9PaORCU/s1600-h/clump.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 291px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZGL3lVSuI/AAAAAAAAAJA/RV1-9PaORCU/s400/clump.jpg" alt="" id="BLOGGER_PHOTO_ID_5415092771672640226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="" lang="IT"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-weight: bold; font-family: lucida grande;"&gt;&lt;span style=";font-size:100%;" lang="IT" &gt;NB: keyword yang digunakan yaitu (kondisi darah saat ditetesi zat antiA)_ (darah kondisi darah saat ditetesi zat antiA) jika tidak menggumpal=not, dan jika menggumpal=clump&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; font-weight: bold; font-family: lucida grande;"&gt;&lt;br /&gt;&lt;span style="" lang="IT"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(255, 153, 255);font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;4. Menampilkan seluruh karakter yang dimiliki oleh golongan darah&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold; color: rgb(255, 153, 255);font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZG_S4bjoI/AAAAAAAAAJI/f6YJ_OISKmc/s1600-h/tipeA,B,AB,O.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 383px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SyZG_S4bjoI/AAAAAAAAAJI/f6YJ_OISKmc/s400/tipeA,B,AB,O.jpg" alt="" id="BLOGGER_PHOTO_ID_5415093655173828226" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;NB: keyword yang digunakan yaitu tipe(jenis golongan darah).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"  style="text-align: justify; font-weight: bold;font-family:lucida grande;"&gt;&lt;span style="" lang="IT"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" face="lucida grande" style="text-align: justify; font-weight: bold;"&gt;&lt;span style="" lang="IT"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" face="lucida grande" style="text-align: justify; font-weight: bold;"&gt;&lt;span style="" lang="IT"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;" &gt;&lt;span style="font-weight: bold;font-family:lucida grande;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;" &gt;&lt;span style="font-weight: bold; font-style: italic;font-family:lucida grande;font-size:130%;"  &gt;This program inspirated by Logic Programming chapter 6&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style=";font-family:&amp;quot;;" &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-4650318054729771412?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/4650318054729771412/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/12/expert-system-design-in-prolog.html#comment-form' title='42 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/4650318054729771412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/4650318054729771412'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/12/expert-system-design-in-prolog.html' title='Expert System Design in Prolog'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_7j9RltiDXuE/SyZAVXMT63I/AAAAAAAAAIQ/tR9ZqPZ8Jog/s72-c/data.jpg' height='72' width='72'/><thr:total>42</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-91160626319012659</id><published>2009-12-07T20:32:00.000-08:00</published><updated>2009-12-07T20:37:59.443-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><title type='text'>LOOPS</title><content type='html'>Most conventional programming languages have a looping facility that enables a set of instructions to be executed repeatedly either a fixed number of times or until a given condition is met. In Prolog, this can be done in a variety of ways, using backtracking, recursion, built-in predicates, or a combination of these.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. Looping a Fixed Number of Times&lt;/span&gt;&lt;br /&gt;No such facility is available in Prolog (directly), but a similar effect can be obtained using recursion,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. Looping Until a Condition Is Satisfied&lt;/span&gt;&lt;br /&gt;Again, no such facility is available directly in Prolog, but a similar effect can be obtained in several ways.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1. Recursion&lt;/span&gt;&lt;br /&gt;The function of recursion is to read terms entered by the user from the keyboard and output them to the screen, until end is encountered. This recursive program repeatedly prompts the user to enter a term until either yes or no is entered.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;2. Using the 'repeat' Predicate&lt;/span&gt;&lt;br /&gt;Recursion is not always the easiest way to provide the types of looping required in Prolog programs. Another method that is often used is based on the built-in predicate repeat.&lt;br /&gt;The goal repeat does not repeat anything; it merely succeeds whenever it is called. The great value of repeat is that it also succeeds (as many times as necessary) on backtracking. The effect of this, as for any other goal succeeding, is to change the order of evaluating goals from 'right to left' (i.e. backtracking) back to 'left-to-right'. This can be used to create a looping effect.&lt;br /&gt;This program repeatedly prompts the user to enter a term until either yes or no is entered. It is an alternative to the recursive program shown at the end of the previous section. In this case it is debatable whether using repeat is an improvement on using recursion.&lt;br /&gt;Goals to the left of repeat in the body of a clause will never be reached on backtracking. The next program reads a sequence of terms from a specified file and outputs them to the current output stream until the term end is encountered. This program shows how to implement a menu structure which loops back repeatedly to request more input. Entering go at the prompt causes Prolog to output a menu from which the user can choose activities one at a time until option d is chosen. Note that all inputs are terms and so must be followed by a full stop character.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. Backtracking with Failure&lt;/span&gt;&lt;br /&gt;As the name implies, the predicate fail always fails, whether on 'standard' evaluation left-to-right or on backtracking. Advantage can be taken of this, combined with Prolog's automatic backtracking, to search through the database to find all the clauses with a specified property.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;1. Searching the Prolog Database&lt;br /&gt;2. Finding Multiple Solutions&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This chapter describes how a set of goals can be evaluated repeatedly in Prolog, either a fixed number of times or until a specified condition is met, and how multiple solutions can be arrived at using the technique of 'backtracking with failure'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-91160626319012659?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/91160626319012659/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/12/loops_07.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/91160626319012659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/91160626319012659'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/12/loops_07.html' title='LOOPS'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-6005231886481739918</id><published>2009-12-07T08:01:00.000-08:00</published><updated>2009-12-07T08:46:18.647-08:00</updated><title type='text'>LOOPS</title><content type='html'>&lt;span style="color: rgb(0, 0, 102); font-weight: bold;font-family:trebuchet ms;font-size:180%;"  &gt;LOOPS&lt;br /&gt;The Answer of Exercise 6&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 51, 204);font-family:trebuchet ms;" &gt;1. if we want to define the values of the squares of the integers from N1 to&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 51, 204);font-family:trebuchet ms;" &gt; N2 inclusive and test it with N1 = 6 and N2 = 12. So, first we must write the rule or program in notepad. we can use writesquares to find the value of its squares.In our program, we change N1 to A, and N2 to B (but it's not problem). &lt;br /&gt;then, You can see the rule in the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms; font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/Sx0pFh6EI3I/AAAAAAAAAHQ/gbg1k_PDThA/s1600-h/plno1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 108px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/Sx0pFh6EI3I/AAAAAAAAAHQ/gbg1k_PDThA/s400/plno1.jpg" alt="" id="BLOGGER_PHOTO_ID_5412527502147199858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 51, 204);font-family:trebuchet ms;" &gt;So,  the result will be shown on our SWI Prolog if we write writesquares(6,12). on our SWI  Prolog. Lets see the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms; font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/Sx0sV28U2nI/AAAAAAAAAHo/u8mfa45dZSs/s1600-h/plno1tadi.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 502px; height: 223px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/Sx0sV28U2nI/AAAAAAAAAHo/u8mfa45dZSs/s400/plno1tadi.jpg" alt="" id="BLOGGER_PHOTO_ID_5412531081206618738" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 102, 0);font-family:trebuchet ms;" &gt;2.  If we want to define and test a predicate to read in a series of characters input by the user and output all of those before the first new line or ? character. So, first we must write the rule or program in notepad. we can use this rule to solve this problem. You can see the rule in the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms; font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/Sx0roQdQJeI/AAAAAAAAAHg/XypGEB9Q5Ts/s1600-h/no2note.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 358px; height: 116px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/Sx0roQdQJeI/AAAAAAAAAHg/XypGEB9Q5Ts/s400/no2note.jpg" alt="" id="BLOGGER_PHOTO_ID_5412530297781626338" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(255, 102, 0);font-family:trebuchet ms;" &gt;then,  the result will be shown if we write go., and then we can write anyword that we want, for the example; we write MatdisHolic on our SWI  Prolog. Lets see the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms; font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/Sx0tG-yiPnI/AAAAAAAAAHw/wst1D468cH0/s1600-h/no2pl.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 449px; height: 199px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/Sx0tG-yiPnI/AAAAAAAAAHw/wst1D468cH0/s400/no2pl.jpg" alt="" id="BLOGGER_PHOTO_ID_5412531925126626930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-family:trebuchet ms;" &gt;3. if we want to find the professions of all those in data which have age over 40, So, for the first we must write the rule or program in notepad. we can use rule like in example 6.3.1 to solve this problem. You can see the rule in the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms; font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/Sx0uCDCuyvI/AAAAAAAAAH4/4EnDvHAhx1U/s1600-h/no3not.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 151px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/Sx0uCDCuyvI/AAAAAAAAAH4/4EnDvHAhx1U/s400/no3not.jpg" alt="" id="BLOGGER_PHOTO_ID_5412532939880581874" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold; font-style: italic;font-family:trebuchet ms;" &gt;Notes: we can change "allover40" to other word that we want because its can't make the result will be error.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-family:trebuchet ms;" &gt;then, the result will be shown in our SWI Prolog if we write "allover40." before. Lets see the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms; font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/Sx0vAOpOTZI/AAAAAAAAAIA/8B-cTNOAgbU/s1600-h/no3pl.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 440px; height: 163px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/Sx0vAOpOTZI/AAAAAAAAAIA/8B-cTNOAgbU/s400/no3pl.jpg" alt="" id="BLOGGER_PHOTO_ID_5412534008146709906" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-6005231886481739918?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/6005231886481739918/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/12/loops.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/6005231886481739918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/6005231886481739918'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/12/loops.html' title='LOOPS'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_7j9RltiDXuE/Sx0pFh6EI3I/AAAAAAAAAHQ/gbg1k_PDThA/s72-c/plno1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-989270684025817925</id><published>2009-11-25T05:13:00.001-08:00</published><updated>2009-11-25T06:55:05.574-08:00</updated><title type='text'>SUMMARY OF CHAPTER 5</title><content type='html'>&lt;div style="text-align: center; font-family: lucida grande;"&gt;&lt;span style="font-family: trebuchet ms;font-size:180%;" &gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;SUMMARY OF INPUT AND OUTPUT&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 153); font-family: lucida grande;font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;1. Outputting Terms&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;The main built-in predicate provided for outputting terms is write/1. The write/1 predicate takes a single argument, which must be a valid Prolog  term. Evaluating the predicate causes the term to be written to the current output stream, which by default is the user's screen.  The built-in predicate nl/0, It takes no arguments. Evaluating a nl goal causes a new line to be output to the current output stream.  for examples;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;?- write(26),nl. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;26&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;yes &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(255, 153, 255); font-family: lucida grande;"&gt;2. Inputting Terms &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;The built-in predicate read/1 is provided to input terms. It takes a single argument, which must be a variable. Evaluating it causes the next term to be read from the current input stream,&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;which by default is the user's keyboard. When a  read goal is evaluated, the input term is  unified with the argument variable. If the variable is unbound (which is usually the case) it is bound to the input value. for example;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;?- read(X). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;: 26. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;X = 26&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;If the argument variable is already bound (which for most users is far more likely to occur by mistake than by design), the goal succeeds if and only if the input term is identical to the previously bound value.  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;?- X=fred,read(X&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;: fred. &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;X = fred&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="color: rgb(255, 102, 0); font-family: lucida grande; font-weight: bold;"&gt;3. Input and Output Using Characters&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;Although input and output of terms is straightforward, the use of quotes and full stops can be cumbersome and is not always suitable.  A much better approach for problems of this kind is to input a character at a time.&lt;/span&gt; &lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;All printing characters and many non-printing characters (such as space and tab) have a corresponding ASCII (American Standard Code for Information Interchange) value, which is an integer from 0 to 255.  The table below gives the numerical ASCII values corresponding to the main printable characters and some others. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(51, 204, 0); font-family: lucida grande;"&gt;4. Outputting Characters&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;Characters are output using the built-in predicate  put/1. The predicate takes a single argument, which must be a number from 0 to 255 or an expression that evaluates to an integer in that range. Evaluating a  put goal causes a single character to be output to the current output stream. This is the character corresponding to the numerical value (ASCII value) of its argument, for example &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;?- put(97),nl. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;a&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;yes &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold; color: rgb(153, 0, 0); font-family: lucida grande;"&gt;5. Inputting Characters&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;The get0 predicate takes a single argument, which must be a variable. Evaluating a get0 goal causes a character to be read from the current input stream. The variable is then unified with the ASCII value of this character.  Assuming the argument variable is unbound (which will usually be the case), it is bound to the ASCII value of the input character. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;?- get0(N). &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;: a &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0); font-family: lucida grande;"&gt;N = 97&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); font-family: lucida grande; font-weight: bold;"&gt;The get predicate takes a single argument, which must be a variable. The variable is then unified with the ASCII value of this character in the same way as for get0.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: lucida grande; color: rgb(51, 204, 255);font-size:130%;" &gt;&lt;span style="font-weight: bold;"&gt;6. Input and Output Using Files&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;Prolog takes all input from the current input stream and writes all output to the current output stream. By default both of these are the stream named user, denoting the user's terminal. &lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;The user may open and close input and output streams associated with any number of named files but there can only be one current input stream and one current output stream at any time. Note that no file can be open for both input and output at the same time (except user) and that the user input and output streams&lt;/div&gt;&lt;div style="text-align: justify;"&gt;cannot be closed.&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(153, 153, 255); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="color: rgb(153, 153, 255);font-size:130%;" &gt;7. file Output: Changing the Current Output Stream&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;The current output stream can be changed using the tell/1 predicate. This takes a single argument, which is an atom or variable representing a file name. Evaluating a tell goal causes the named file to become the current outputstream. &lt;/div&gt;&lt;div style="text-align: justify;"&gt;If the file is not already open, a file with the specified name is first created.&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;The default current output stream is user, i.e. the user's terminal. This value can be restored either by using the told predicate or by tell(user).&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The built-in predicate told/0 takes no arguments. Evaluating a told goal causes the current output file to be closed and the current output stream to be reset to user, i.e. the user's terminal.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The built-in predicate telling/1 takes one argument, which must be a variable and will normally be unbound. Evaluating a telling goal causes the variable to be bound to the name of the current output stream.&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="color: rgb(153, 255, 153);font-size:130%;" &gt;8.&lt;/span&gt;&lt;span style="color: rgb(153, 255, 153);"&gt; &lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: large; color: rgb(153, 255, 153);"&gt;File Input: Changing the Current Input Stream&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;The current input stream can be changed using the see/1 predicate. This takes a single argument, which is an atom or variable representing a file name, e.g. see('myfile.txt').&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Evaluating a see goal causes the named file to become the current input stream. If the file is not already open it is first opened (for read access only). If it is not possible to open a file with the given name, an error will be generated.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Note that the file corresponding to the previous current input stream remains open when a new current input stream is selected. Only the current input stream can be closed (using the seen predicate described below).&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The default current input stream is user, i.e. the user's terminal. This value can be restored either by using the seen predicate or by see(user).&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The built-in predicate seen/0 takes no arguments. Evaluating a see goal causes the current input file to be closed and the current input stream to be reset to user, i.e. the user's terminal.&lt;/div&gt;&lt;div style="text-align: justify;"&gt;The built-in predicate seeing/1 takes one argument, which must be a variable and will normally be unbound. Evaluating a seeing goal causes the variable to be bound to the name of the current input stream.&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(102, 102, 204); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;11.Reading from Files: End of File&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;If the end of file is encountered when evaluating the goal read(X), variable X will be bound to the atom end_of_file.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(153, 102, 51); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;12.Reading from Files: End of Record&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: justify;"&gt;Typically the end of a line of input at the user's terminal will be indicated byt the character with ASCII value 13. The end of a record in a file will generally be indicated by two ASCII values: 13 followed by 10. The following program shows how to read in a series of characters from the keyboard and print them out, one per line.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: lucida grande; color: rgb(0, 0, 0); font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="font-size: 100%;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px; font-size: 13px;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-989270684025817925?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/989270684025817925/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/11/summary-of-chapter-5.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/989270684025817925'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/989270684025817925'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/11/summary-of-chapter-5.html' title='SUMMARY OF CHAPTER 5'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-1391134930264385937</id><published>2009-11-25T05:13:00.000-08:00</published><updated>2009-11-25T07:02:28.510-08:00</updated><title type='text'>INPUT AND OUTPUT</title><content type='html'>&lt;div  style="text-align: justify;font-family:trebuchet ms;"&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;span style="color: rgb(204, 51, 204);font-size:180%;" &gt;The Answer of Practical &lt;o:shapelayout ext="edit"&gt;&lt;/o:shapelayout&gt;&lt;o:idmap ext="edit" data="1"&gt;&lt;/o:idmap&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 51, 204);font-size:180%;" &gt;Exercise 5 Page : 82-83.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;1. Number 1 is about predicate makelower&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;if we want to convert any upper case letters to lower case, we must write some rules or program in notepad use predicate makelower in order that we can consult it in SWI Prolog. for the first we can write some rules in notepad like the picture below:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw0vnlkjq0I/AAAAAAAAAFA/3lSyRn5d498/s1600/MAKELOWERPAD.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 113px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw0vnlkjq0I/AAAAAAAAAFA/3lSyRn5d498/s400/MAKELOWERPAD.jpg" alt="" id="BLOGGER_PHOTO_ID_5408031084688681794" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;After you write its program&lt;/span&gt;, &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;you must write makelower  . and enter character that you want on your SWI  Prolog.&lt;/span&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;span style="font-size:100%;"&gt;&lt;span&gt;&lt;span&gt; &lt;span style="font-size:85%;"&gt;So, you can see the result will be shown in SWI Prolog like the picture below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/Sw0xDEefgaI/AAAAAAAAAFI/zCuONbmuXkA/s1600/makelowpro.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 174px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/Sw0xDEefgaI/AAAAAAAAAFI/zCuONbmuXkA/s400/makelowpro.jpg" alt="" id="BLOGGER_PHOTO_ID_5408032656352838050" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold; color: rgb(51, 204, 0);font-size:130%;" &gt;&lt;br /&gt;2. Number 2 is about predicate copyterms&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;if we want to reads all the term in a text file and outputs them as terms to another text file one by one on separates lines, we must use predicate copyterms. for the first we must make a file in notepad for input file and save as with txt. format. we give name "infile" for our file.&lt;br /&gt;&lt;/span&gt; &lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw0x07zmsGI/AAAAAAAAAFQ/Xog_-yo3j9o/s1600/infile.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 260px; height: 110px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw0x07zmsGI/AAAAAAAAAFQ/Xog_-yo3j9o/s400/infile.jpg" alt="" id="BLOGGER_PHOTO_ID_5408033513018929250" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;second, we must make a new file again in notepad for output file, we give name "outfile" for our file.&lt;br /&gt;&lt;/span&gt; &lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw0zn8WuI4I/AAAAAAAAAFY/4B6bHkGMN8Q/s1600/outfile.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 221px; height: 131px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw0zn8WuI4I/AAAAAAAAAFY/4B6bHkGMN8Q/s400/outfile.jpg" alt="" id="BLOGGER_PHOTO_ID_5408035488851174274" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;third, we must make some rules in notepad like this picture below in order that we can consult it to SWI Prolog.&lt;br /&gt;&lt;/span&gt; &lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw00FyH1v-I/AAAAAAAAAFg/qIdjNacUn_s/s1600/copyterms.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 124px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw00FyH1v-I/AAAAAAAAAFg/qIdjNacUn_s/s400/copyterms.jpg" alt="" id="BLOGGER_PHOTO_ID_5408036001500479458" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;After you write its program, &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;you must write copyterms(&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;‘infile.txt’,'outfile.txt’&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;)  .  or enter the  file's name of your file on your SWI  Prolog.&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;&lt;span&gt; So, you can see the result will be shown in SWI Prolog like the picture below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw00tRWzilI/AAAAAAAAAFo/SNB4z3jg96Q/s1600/procopy.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 246px; height: 105px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw00tRWzilI/AAAAAAAAAFo/SNB4z3jg96Q/s400/procopy.jpg" alt="" id="BLOGGER_PHOTO_ID_5408036679899646546" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold; color: rgb(255, 153, 0);font-size:130%;" &gt;3. &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 153, 0);font-size:130%;" &gt;Number 3 is about predicate readfile&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;if we want to convert a characters to the ASCII value, we can use predicate readfile. according to question number 3, we must make a file in notepad which we must write:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw03uHH8_bI/AAAAAAAAAF4/feEGgMB6LUY/s1600/tesla.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 174px; height: 85px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw03uHH8_bI/AAAAAAAAAF4/feEGgMB6LUY/s400/tesla.jpg" alt="" id="BLOGGER_PHOTO_ID_5408039992867749298" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;Giving name of the file "tesla" and save it with .txt fomat.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;in order we can consult on SWI Prolog, so we must make some rules in notepad like this picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw03MuousCI/AAAAAAAAAFw/nU2UeTuofa8/s1600/note3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 375px; height: 176px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw03MuousCI/AAAAAAAAAFw/nU2UeTuofa8/s400/note3.jpg" alt="" id="BLOGGER_PHOTO_ID_5408039419358654498" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;After you write its program, &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;&lt;span&gt; So, you can see the result will be shown in SWI Prolog like the picture below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw04iIg0CKI/AAAAAAAAAGA/4L99lgsw8cE/s1600/pro3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 275px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw04iIg0CKI/AAAAAAAAAGA/4L99lgsw8cE/s400/pro3.jpg" alt="" id="BLOGGER_PHOTO_ID_5408040886593652898" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(153, 51, 0);font-size:130%;" &gt;&lt;br /&gt;4. Number 4 is about predicate combine&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;create 2 text files in1.txt and in2.txt, each comprising a number of terms terminated by end. you can see this picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw05PErgzjI/AAAAAAAAAGI/801_Uoq4KVo/s1600/n1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 264px; height: 127px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw05PErgzjI/AAAAAAAAAGI/801_Uoq4KVo/s400/n1.jpg" alt="" id="BLOGGER_PHOTO_ID_5408041658658901554" border="0" /&gt;&lt;/a&gt;&lt;a style="font-weight: bold;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw05YYTIV6I/AAAAAAAAAGQ/hoRcHmyAjm0/s1600/in2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 281px; height: 118px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/Sw05YYTIV6I/AAAAAAAAAGQ/hoRcHmyAjm0/s400/in2.jpg" alt="" id="BLOGGER_PHOTO_ID_5408041818544166818" border="0" /&gt;&lt;/a&gt; &lt;span style="font-weight: bold;"&gt;to define a predicate combine that takes names of two input files as its first two arguments and the name of an output file as its third argument. in order that the output file contain the terms in the first input file followed by the terms in the second, you must write some rules using predicate combine in notepad like the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw05zohuZ6I/AAAAAAAAAGY/gyzxuxnc5r8/s1600/no4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 144px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw05zohuZ6I/AAAAAAAAAGY/gyzxuxnc5r8/s400/no4.jpg" alt="" id="BLOGGER_PHOTO_ID_5408042286756816802" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;After you write its program, &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;&lt;span&gt; So, you can see the result will be shown in SWI Prolog like the picture below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/Sw07k64zigI/AAAAAAAAAGg/vfeDKdjfvf0/s1600/pro4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 252px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/Sw07k64zigI/AAAAAAAAAGg/vfeDKdjfvf0/s400/pro4.jpg" alt="" id="BLOGGER_PHOTO_ID_5408044233010678274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(204, 51, 204);font-size:130%;" &gt;5. Number 5 is about predicate compare&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;in order that we can reads that two text files term by term and each pair of corresponding terms output a messsage  saying that they are the same or different, we must make two text files which contain the same number of terms and the final term in each is end. Look the picture below:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/Sw08z3nbVsI/AAAAAAAAAGo/DHAVbsvDfbk/s1600/file1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 189px; height: 131px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/Sw08z3nbVsI/AAAAAAAAAGo/DHAVbsvDfbk/s400/file1.jpg" alt="" id="BLOGGER_PHOTO_ID_5408045589342148290" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/Sw09AZDSPvI/AAAAAAAAAGw/xDeOKMBvkto/s1600/file2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 237px; height: 143px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/Sw09AZDSPvI/AAAAAAAAAGw/xDeOKMBvkto/s400/file2.jpg" alt="" id="BLOGGER_PHOTO_ID_5408045804475793138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;then, we must make some rules in notepad using predicate compare like this picture below in order that we can consult it to SWI Prolog.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw09lXHTiUI/AAAAAAAAAG4/AVzQmInaymg/s1600/endnote.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 198px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/Sw09lXHTiUI/AAAAAAAAAG4/AVzQmInaymg/s400/endnote.jpg" alt="" id="BLOGGER_PHOTO_ID_5408046439610943810" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;After you write its program, &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;&lt;span&gt;&lt;span&gt; So, you can see the result will be shown in SWI Prolog like the picture below:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/Sw0-EESrQXI/AAAAAAAAAHI/qBWPB1yMkQI/s1600/endpro.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 218px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/Sw0-EESrQXI/AAAAAAAAAHI/qBWPB1yMkQI/s400/endpro.jpg" alt="" id="BLOGGER_PHOTO_ID_5408046967134306674" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="PowerPoint.Slide"&gt;&lt;meta name="Generator" content="Microsoft PowerPoint 11"&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} p\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} v\:textbox {display:none;} &lt;/style&gt; &lt;![endif]--&gt;&lt;title&gt;Slide 4&lt;/title&gt;&lt;meta name="Description" content="11/25/2009"&gt;&lt;!--[if !ppt]--&gt;&lt;style&gt; .O 	{color:black; 	font-size:149%;} a:link 	{color:#FFDE66 !important;} a:active 	{color:#AC66BB !important;} a:visited 	{color:#D490C5 !important;} &lt;/style&gt;&lt;style media="print"&gt; &lt;!--.sld 	{left:0px !important; 	width:6.0in !important; 	height:4.5in !important; 	font-size:103% !important;} --&gt; &lt;/style&gt;&lt;!--[endif]--&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;p:colorscheme colors="#ffffff,#000000,#f4e7ed,#b13f9a,#b83d68,#ac66bb,#ffde66,#d490c5"&gt;&lt;/p:colorscheme&gt;&lt;/span&gt;&lt;/div&gt;&lt;div  style="font-weight: bold; text-align: justify;font-family:lucida grande;" shape="_x0000_s1026" class="O"&gt;&lt;span style="font-size:26;"&gt;&lt;span style=""&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: justify; font-family: trebuchet ms;"&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-1391134930264385937?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/1391134930264385937/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/11/input-and-output.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1391134930264385937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1391134930264385937'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/11/input-and-output.html' title='INPUT AND OUTPUT'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_7j9RltiDXuE/Sw0vnlkjq0I/AAAAAAAAAFA/3lSyRn5d498/s72-c/MAKELOWERPAD.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-894888476636242997</id><published>2009-11-23T18:02:00.000-08:00</published><updated>2009-11-23T18:37:49.936-08:00</updated><title type='text'>Expert System Design</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link style="font-family: arial;" rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p  style="font-weight: bold; text-align: center;font-family:courier new;" class="MsoNormal"&gt;&lt;span style="font-size:130%;"&gt;Expert System Design for knowing&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-weight: bold; text-align: center;font-family:courier new;" class="MsoNormal"&gt;&lt;span style="font-size:130%;"&gt;the characteristic of blood types.&lt;/span&gt;&lt;/p&gt;&lt;p  style="font-weight: bold; text-align: center;font-family:courier new;" class="MsoNormal"&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p style="font-family: arial;" class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;Everyone in the world have different blood type. Karl Landstainer had divide blood into 4 types. The blood types are A, B, AB, and O. In usually, we will know what type of our blood when we check our blood in a hospital or when we want to transfuse our blood in an Indonesia Red Cross Committee. But, after we check what type of our blood, we just know our blood type but we don’t know how a blood can said type A, type B, type AB, or type O. Because of the problem, we make expert system design for knowing characteristic and component of blood types in order to everyone can know how a blood can said type A, type B, type AB, or type O. Before, we show our expert system design, we will explain the characteristic and component of each blood types.&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;1. Blood type A: when the blood is dropped by Anti A substance (agglutinin A), the blood will make some lumps and when the blood is dropped by Anti B substance (agglutinin B), the blood can’t react or can’t make a lump. It caused by blood type A have &lt;b style=""&gt;aglutinogen A and agglutinin B.&lt;/b&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;2. Blood type B: when the blood is dropped by Anti A substance, the blood will not react or can’t make a lump and when the blood is dropped by Anti B substance, the blood will make some lumps. It caused by blood type B have &lt;b style=""&gt;aglutinogen B and aglutinin A&lt;/b&gt;.&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;3. Blood type AB: when the blood is dropped by Anti A substance, the blood will make some lump and when the blood is dropped by Anti B substance, the blood will make some lumps, too. It caused by blood type AB have &lt;b style=""&gt;aglutinogen A and B but have not aglutinin A&lt;/b&gt; &lt;b style=""&gt;or B.&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;4. Blood type O: when the blood is dropped by Anti A substance, the blood will not react or can’t make a lump and when the blood is dropped by Anti B substance, the blood can’t make a lump, too. It caused by blood type O have not &lt;b style=""&gt;aglutinogen A or B but have aglutinin A&lt;/b&gt; &lt;b style=""&gt;and B.&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;br /&gt;&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;After we explain to you about the characteristic and component of each blood types, we will show you the program of our expert system design in notepad:&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/SwtAlzbC9XI/AAAAAAAAAEo/4MFa1Zs9iGI/s1600/Untitled-1+copy.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 150px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/SwtAlzbC9XI/AAAAAAAAAEo/4MFa1Zs9iGI/s400/Untitled-1+copy.jpg" alt="" id="BLOGGER_PHOTO_ID_5407486795791398258" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;In this picture, it can show our expert system design in SWI Prolog:&lt;br /&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/SwtCcCepCMI/AAAAAAAAAE4/gfYSv7kfPME/s1600/Untitled-2+copy.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 392px; height: 400px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/SwtCcCepCMI/AAAAAAAAAE4/gfYSv7kfPME/s400/Untitled-2+copy.jpg" alt="" id="BLOGGER_PHOTO_ID_5407488827057572034" border="0" /&gt;&lt;/a&gt;&lt;a style="font-family: arial; color: rgb(0, 0, 0);" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/Sws_vAIaUjI/AAAAAAAAAEg/sBgItJsrFCo/s1600/reallyblood.jpg"&gt;&lt;br /&gt;&lt;/a&gt;&lt;a style="font-family: arial; color: rgb(0, 0, 0);" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SwtBTBFze3I/AAAAAAAAAEw/NXy5l51OJCk/s1600/reallyblood.jpg"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Knowing our blood type is very useful, maybe one day someone need our blood which our blood have same type with them, So, we can tranfuse our blood to them.  beside that, if we know the characteristic and component of each blood type, it will help us to check our blood type by self in laboratory without medical worker. &lt;/span&gt;&lt;br /&gt;&lt;/a&gt;&lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify; text-indent: 36pt; font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify; font-family: arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-894888476636242997?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/894888476636242997/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/11/expert-system-design.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/894888476636242997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/894888476636242997'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/11/expert-system-design.html' title='Expert System Design'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_7j9RltiDXuE/SwtAlzbC9XI/AAAAAAAAAEo/4MFa1Zs9iGI/s72-c/Untitled-1+copy.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-1802705542746469509</id><published>2009-11-12T05:25:00.000-08:00</published><updated>2009-11-12T06:03:52.081-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><title type='text'>SUMMARY Operators and Arithmetic</title><content type='html'>&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;Operators and Arithmetic&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;1. Operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Any user-defined predicate with two arguments (a binary predicate) can be converted to an infix operator. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Any user-defined predicate with one argument (a unary predicate) can be converted to a prefix operator. This enables the functor to be written before the argument with no parentheses.&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;a unary predicate can be converted to a postfix operator. This enables the functor to be written after the argument&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;Any user-defined predicate with one or two arguments can be converted to an operator by entering a goal using the op predicate at the system prompt. This predicate takes three arguments, for example&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;?-op(150,xfy,likes).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. The first argument (150) is the 'operator precedence'. Operator precedence values are&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;used to determine the order in which operators will be applied when more than one&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;is used in a term. In most other cases it will suffice to use an arbitrary value such as 150.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;2. The second argument should normally be one of the following three atoms:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;xfy meaning that the predicate is binary and is to be converted to an infix operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;fy meaning that the predicate is unary and is to be converted to an prefix operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;xf meaning that the predicate is unary and is to be converted to a postfix operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;3. The third argument specifies the name of the predicate that is to be converted to&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;an operator.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;2. Arithmetic&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Prolog provides facilities for doing arithmetic using a notation similar to that which will already be familiar to many users from basic algebra.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;There are some of the arithmetic operators and arithmetic functions available in Prolog:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1.X+Y the sum of X and Y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2.X-Y the difference of X and Y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3.X*Y the product of X and Y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;4.X/Y the quotient of X and Y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;5.X//Y the 'integer quotient' of X and Y (the result is truncated to then earest integer betwe it and zero)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;6.X^Y X to the power of Y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;7.-X the negative of X&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;8.abs(X) the absolute value of X&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;9.sin(X) the sine of X (for X measured in degrees)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;10.cos(X) the cosine of X (for X measured in degrees)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;11.max(X,Y) the larger of X and Y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;12.sqrt(X) the square root of X&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-weight: bold;"&gt;is&lt;/span&gt; predicate is normally used in the way described here, the first argument can also be a number or a bound variable with a numerical value. In this case, the numerical values of the two arguments are calculated. The goal succeeds if these are equal. If not, it fails. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. first argument is an unbound variable, it is bound to the value of the second argument (as a side effect) . &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. first argument is a number, or a bound variable with a numerical value. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3.  first argument is an atom, a compound term, a list, or a variable bound to one of these (none of which should happen), the outcome is implementation-dependent.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;It is likely that an error will occur.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Operator Precedence in Arithmetic Expressions&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Operators with relatively high precedence such as * and / are applied before those with lower precedence such as + and -. The effect is to give an expression such as A+B*C-D the meaning that a user who is familiar with algebra would expect it to have, i.e. A+(B*C)-D or (A+B)*(C-D).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Relational Operators&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The infix operators =:= =\= &gt; &gt;= &lt; =&lt;&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;3. Equality Operators&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;There are three types of relational operator for testing equality and inequality available in Prolog. The first type is used to compare the values of arithmetic expressions. The other two types are used to compare terms.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;a. Arithmetic Expression Equality =:=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;E1=:=E2 succeeds if the arithmetic expressions E1 and E2 evaluate to the same value.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;b. Arithmetic Expression Inequality =\=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;E1=\=E2 succeeds if the arithmetic expressions E1 and E2 do not evaluate to the same value.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;c. Terms Identical ==&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Both arguments of the infix operator == must be terms. The goal Term1==Term2 succeeds if and only if Term1 is identical to Term2. Any variables used in the terms may or may not already be bound, but no variables are bound as a result of evaluating the goal.&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;br /&gt;d. Terms Not Identical \==&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Term1\==Term2 tests whether Term1 is not identical to Term2. The goal succeeds if Term1==Term2 fails. Otherwise it fails.&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;br /&gt;e. Terms Identical With Unification =&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The term equality operator = is similar to == with one vital (and often very useful) difference. The goal Term1=Term2 succeeds if terms Term1 and Term2 unify, i.e.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;there is some way of binding variables to values which would make the terms identical. If the goal succeeds, such binding actually takes place. &lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;br /&gt;f. Non-Unification Between Two Terms \=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The goal Term1\=Term2 succeeds if Term1=Term2 fails, i.e. the two terms cannot be unified. Otherwise it fails.&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:130%;"  &gt;4. Logical Operators&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;This section gives a brief description of two operators that take arguments that are call terms, i.e. terms that can be regarded as goals.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;a. The not Operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The prefix operator not/1 can be placed before any goal to give its negation. The negated goal succeeds if the original goal fails and fails if the original goal succeeds. The following examples illustrate the use of not/1. It is assumed that the database contains the single clause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;b. The Disjunction Operator&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;The disjunction operator ;/2 (written as a semicolon character) is used to represent 'or'. It is an infix operator that takes two arguments, both of which are goals. Goal1;Goal2 succeeds if either Goal1 or Goal2 succeeds.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-1802705542746469509?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/1802705542746469509/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/11/summary.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1802705542746469509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1802705542746469509'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/11/summary.html' title='SUMMARY Operators and Arithmetic'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-1519804300334937056</id><published>2009-11-12T05:12:00.000-08:00</published><updated>2009-11-12T06:10:44.765-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><title type='text'>The Answer of Exercise 4 about OPERATOR and ARITHMETIC</title><content type='html'>&lt;span style="font-weight: bold;font-size:180%;" &gt;&lt;span style="color: rgb(255, 153, 255);"&gt;OPERATORS&lt;/span&gt; &lt;span style="color: rgb(255, 102, 0);"&gt;AND&lt;/span&gt; &lt;span style="color: rgb(51, 51, 255);"&gt;ARITHMATIC&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;1. &lt;/span&gt;&lt;/span&gt;Program yang harus dibuat &lt;/span&gt;&lt;span style="font-family:arial;"&gt;dengan menggunakan bentuk operator &lt;/span&gt;&lt;span style="font-family:arial;"&gt;untuk menghasilkan hasil yang sama seperti  Animal Program pada chapter 2 dapat  dibuat dengan beberapa rumus pada notepad, cara yaitu sebagai berikut:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;a&lt;/span&gt;. - Karena argumen yang digunakan lebih dari satu argumen maka agar dapat dirubah atau dikonvert menjadi sebuah operator maka dengan memasukkan perdikat op pada system prompt. Predikat ini digunakan untuk tiga argumen. ?-op(150, fy, isa_dog).&lt;br /&gt;- argument pertama menjelaskan  &lt;span style="font-weight: bold;"&gt;Operator Precedence&lt;/span&gt; dimana merupakan sebuah integer dengan nilai dari 0 sampai ke atas.&lt;br /&gt;- argumen kedua menggunakan &lt;span style="font-weight: bold;"&gt;fy &lt;/span&gt;dimana untuk mengkonversikan predikat unary menjadi operator prefix.&lt;br /&gt;-argumen ketiga yang digunakan disesuaikan dengan argumen kedua karena argumen kedua mengkonversikan predikat unary menjadi operator prefix , maka bentuk argumen ketika adalah sebagai berikut:&lt;span style="font-weight: bold;"&gt; isa_dog.&lt;br /&gt;&lt;/span&gt;Sehingga yang program bisa dibuat pada notepad adalah sebagai berikut:&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SvwLL-FKzhI/AAAAAAAAADA/UD2TmbPg8AE/s1600-h/OP.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 119px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SvwLL-FKzhI/AAAAAAAAADA/UD2TmbPg8AE/s400/OP.jpg" alt="" id="BLOGGER_PHOTO_ID_5403205953208897042" border="0" /&gt;&lt;/a&gt;&lt;span style="font-weight: bold;"&gt;b.&lt;/span&gt; Selanjutnya mendeklarasikan data sesuai pada animal program pada chapter 2 dengan cara merubah bentuk penulisan menjadi seperti berikut:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/SvwMo6pUA_I/AAAAAAAAADI/eIZKpMbHE20/s1600-h/CATDOG.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 170px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/SvwMo6pUA_I/AAAAAAAAADI/eIZKpMbHE20/s400/CATDOG.jpg" alt="" id="BLOGGER_PHOTO_ID_5403207550014587890" border="0" /&gt;&lt;/a&gt;NB: digunakan bentuk &lt;span style="font-weight: bold;"&gt;isa_dog(fido)&lt;/span&gt; agar &lt;span style="font-family:arial;"&gt;bisa mengkonversikan predikat unary menjadi operator prefix&lt;/span&gt; sesuai dengan argumen yang telah dideklarasikan sebelumnya.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;c.&lt;/span&gt; Selanjutnya operator notation yang digunakan adalah sebagai berikut:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SvwRwJS-BBI/AAAAAAAAADQ/8EyOt2KTyUU/s1600-h/AKIR.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 114px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SvwRwJS-BBI/AAAAAAAAADQ/8EyOt2KTyUU/s400/AKIR.jpg" alt="" id="BLOGGER_PHOTO_ID_5403213171764626450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Jadi program  yang harus dibuat pada notepad agar "animal program" bisa dieksekusi  pada SWI prolog adalah sebagai berikut:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SvwTEqIrAfI/AAAAAAAAADY/oypN8P9rk0s/s1600-h/animalLENGKAP.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 328px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SvwTEqIrAfI/AAAAAAAAADY/oypN8P9rk0s/s400/animalLENGKAP.jpg" alt="" id="BLOGGER_PHOTO_ID_5403214623688819186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Tampilan program pada SWI Prolog adalah seperti gambar di bawah ini:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/SvwTnyXwJWI/AAAAAAAAADg/Z6USlQmiZeY/s1600-h/PROLOGSIP2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 346px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/SvwTnyXwJWI/AAAAAAAAADg/Z6USlQmiZeY/s400/PROLOGSIP2.jpg" alt="" id="BLOGGER_PHOTO_ID_5403215227194975586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;2. Program yang digunakan untuk menghitung rata-rata, akar dan mengetahui nilai maksimum dari 2 angka dapat langsung di buat pada SWI Prolog tanpa harus membuat program terlebih dahulu pada notepad.&lt;br /&gt;&lt;br /&gt;a. Tampilan Program pada SWI Prolog untuk menghitung rata-rata dari 2 angka:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SvwVH0uuP0I/AAAAAAAAADo/oqB8Mo3wjzU/s1600-h/average.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 239px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SvwVH0uuP0I/AAAAAAAAADo/oqB8Mo3wjzU/s400/average.jpg" alt="" id="BLOGGER_PHOTO_ID_5403216877095632706" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;b. Tampilan Program pada SWI Prolog untuk menghitung akar dari perkalian 2 angka  :&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/SvwWF37IiOI/AAAAAAAAADw/WpCYjylHhVc/s1600-h/SQUARE.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 268px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/SvwWF37IiOI/AAAAAAAAADw/WpCYjylHhVc/s400/SQUARE.jpg" alt="" id="BLOGGER_PHOTO_ID_5403217943104882914" border="0" /&gt;&lt;/a&gt;NB: Ada 2 cara berbeda yang dapat digunakan untuk menemukan akar dari hasil perkalian 2 angka yaitu pada no.1 dan no.2&lt;br /&gt;&lt;br /&gt;c. Tampilan Program pada SWI Prolog untuk mengetahui nilai maksimum dari 2 angka :&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SvwWaAuiriI/AAAAAAAAAD4/ocwLte3Ojm0/s1600-h/maksimum.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 250px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SvwWaAuiriI/AAAAAAAAAD4/ocwLte3Ojm0/s400/maksimum.jpg" alt="" id="BLOGGER_PHOTO_ID_5403218289065373218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-1519804300334937056?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/1519804300334937056/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/11/answer-of-exercise-4-about-operator-and.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1519804300334937056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1519804300334937056'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/11/answer-of-exercise-4-about-operator-and.html' title='The Answer of Exercise 4 about OPERATOR and ARITHMETIC'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_7j9RltiDXuE/SvwLL-FKzhI/AAAAAAAAADA/UD2TmbPg8AE/s72-c/OP.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-5077751666760950103</id><published>2009-10-25T05:32:00.000-07:00</published><updated>2009-10-25T05:58:31.552-07:00</updated><title type='text'>Expert System (Sistem Pakar)</title><content type='html'>&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;" onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;u&gt;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso"&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} a:link, span.MsoHyperlink 	{color:blue; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{color:purple; 	text-decoration:underline; 	text-underline:single;} p 	{mso-margin-top-alt:auto; 	margin-right:0cm; 	mso-margin-bottom-alt:auto; 	margin-left:0cm; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} span.google-src-text1 	{mso-style-name:google-src-text1; 	display:none; 	mso-hide:all;} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:875237377; 	mso-list-template-ids:1392543970;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:36.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	mso-ansi-font-size:10.0pt; 	font-family:Symbol;} @list l0:level2 	{mso-level-number-format:bullet; 	mso-level-text:o; 	mso-level-tab-stop:72.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	mso-ansi-font-size:10.0pt; 	font-family:"Courier New"; 	mso-bidi-font-family:"Times New Roman";} @list l0:level3 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:108.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	mso-ansi-font-size:10.0pt; 	font-family:Wingdings;} @list l0:level4 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:144.0pt; 	mso-level-number-position:left; 	text-indent:-18.0pt; 	mso-ansi-font-size:10.0pt; 	font-family:Wingdings;} ol 	{margin-bottom:0cm;} ul 	{margin-bottom:0cm;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;b style=""&gt;&lt;span style=";font-size:16;color:black;"  &gt;&lt;span style="font-size:180%;"&gt;Sistem Pakar&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;br /&gt;&lt;span class="google-src-text1"&gt;An expert system is a narrow slice of computer intelligence and knowledge-based application.&lt;/span&gt;&lt;span style=""&gt;            &lt;/span&gt;Sebuah sistem pakar adalah sebuah kecerdasan komputer dan aplikasi berbasis pengetahuan. &lt;span class="google-src-text1"&gt;Its program are designed to emulate human decision-making expertise in a particular domain.&lt;/span&gt; Program yang dirancang untuk meniru keahlian manusia dalam pengambilan keputusan pada domain tertentu. &lt;span class="google-src-text1"&gt;Expert systems belong to a group of systems known as knowledge-based systems.&lt;/span&gt; Sistem pakar milik sekelompok sistem yang dikenal sebagai sistem berbasis pengetahuan. &lt;span class="google-src-text1"&gt;Knowledge-based systems contain the facts and procedures representing the rule of thumb (heuristic) decision-making processes of an expert.&lt;/span&gt; Sistem berbasis pengetahuan mengandung fakta-fakta dan prosedur yang mewakili Aturan (heuristik) proses pengambilan keputusan dari seorang ahli. &lt;span class="google-src-text1"&gt;That collection is kept in a knowledge base that is separate from a control program.&lt;/span&gt; Koleksi tersebut disimpan dalam basis pengetahuan yang terpisah dari program kontrol.&lt;/p&gt;  &lt;p&gt;&lt;span class="google-src-text1"&gt;&lt;b style=""&gt;&lt;span  lang="SV" style="font-size:14;"&gt;Apa itu Sistem Pakar?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;Saat ini, bentuk yang paling umum dari sistem pakar &lt;/p&gt;  &lt;p&gt;&lt;a href="http://faculty.petra.ac.id/kgunadi/images/rbs-lg.gif"&gt;&lt;span style="text-decoration: none;"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" href="http://faculty.petra.ac.id/kgunadi/images/rbs-lg.gif" style="'width:68.25pt;" button="t"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.gif" href="file:///H:\translate_files\translate_p_data\rbs-sm.gif"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style=""&gt;&lt;img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image001.gif" shapes="_x0000_i1025" width="91" border="0" height="86" /&gt;&lt;/span&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="google-src-text1"&gt;&lt;a href="http://faculty.petra.ac.id/kgunadi/images/rbs-lg.gif"&gt;Structure of a Rule-based Expert System&lt;/a&gt;&lt;/span&gt; &lt;a href="http://faculty.petra.ac.id/kgunadi/images/rbs-lg.gif"&gt;Aturan struktur berbasis sistem pakar&lt;/a&gt; &lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;User Interface&lt;/span&gt; User Interface &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Friendly&lt;/span&gt; Ramah &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Maybe "Intelligent"&lt;/span&gt; Mungkin       "Cerdas" &lt;/li&gt;&lt;ul type="square"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Knowledge of how to present information&lt;/span&gt;        Pengetahuan tentang bagaimana untuk menyajikan informasi &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Knowledge of user preferences...possibly        accumulate with use&lt;/span&gt; Pengetahuan tentang preferensi pengguna ...        mungkin terakumulasi dengan menggunakan &lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Databases&lt;/span&gt; Database &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Contains some of the data of interest to the       system&lt;/span&gt; Berisi beberapa data yang menarik bagi sistem &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;May be connected to on-line company or public       database&lt;/span&gt; Dapat dihubungkan ke on-line database perusahaan atau       publik &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Human user may be considered a database&lt;/span&gt;       Pengguna manusia dapat dianggap sebuah database &lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Inference Engine&lt;/span&gt; Kesimpulan Engine &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;general problem-solving knowledge or methods&lt;/span&gt;       pemecahan masalah umum pengetahuan atau metode &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;interpreter analyzes and processes the rules&lt;/span&gt;       penerjemah proses menganalisis dan aturan &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;scheduler determines which rule to look at next&lt;/span&gt;       scheduler menentukan aturan untuk melihat selanjutnya &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;the search portion of a rule-based system&lt;/span&gt;       bagian pencarian peraturan sistem berbasis &lt;/li&gt;&lt;ul type="square"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;takes advantage of heuristic information&lt;/span&gt;        mengambil keuntungan dari informasi heuristic &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;otherwise, the time to solve a problem could        become prohibitively long&lt;/span&gt; sebaliknya, waktu untuk menyelesaikan        suatu masalah bisa menjadi panjang prohibitively &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;this problem is called the combinatorial explosion&lt;/span&gt;        masalah ini disebut ledakan kombinatorial &lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;expert-system shell provides customizable       inference engine&lt;/span&gt; sistem pakar shell menyediakan mesin inferensi       customizable &lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Knowledge Base (rule base)&lt;/span&gt; Knowledge Base      (peraturan dasar) &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;contains much of the problem solving knowledge&lt;/span&gt;       mengandung banyak pengetahuan pemecahan masalah &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Rules are of the form IF condition THEN action&lt;/span&gt;       Aturan bentuk tindakan IF kondisi THEN &lt;/li&gt;&lt;ul type="square"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;condition portion of the rule is usually a fact -        (If some particular fact is in the database then perform this action)&lt;/span&gt;        kondisi bagian dari aturan biasanya fakta - (Jika kenyataannya tertentu        dalam database kemudian melakukan tindakan ini) &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;&lt;span style="" lang="SV"&gt;action        portion of the rule can include&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="SV"&gt; tindakan bagian dari aturan dapat mencakup        &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul type="square"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;&lt;span style="" lang="SV"&gt;actions         that affect the outside world (print a message on the terminal)&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="SV"&gt; tindakan yang mempengaruhi dunia         luar (mencetak pesan pada terminal) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;&lt;span style="" lang="SV"&gt;test         another rule (check rule no. 58 next)&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="SV"&gt; &lt;/span&gt;menguji peraturan lain (cek aturan         no. 58 berikutnya) &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;&lt;span style="" lang="SV"&gt;add a         new fact to the database (If it is raining then roads are wet).&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="SV"&gt; menambahkan fakta baru ke         database (Jika hujan maka jalan-jalan basah). &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;&lt;span style="" lang="SV"&gt;Rules       can be specific, a priori rules (eg, tax law . . . so much for each       exemption) - represent laws and codified rules&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="SV"&gt; Aturan dapat spesifik, a priori       aturan (misalnya, hukum pajak... Begitu banyak untuk setiap pengecualian)       - mewakili dikodifikasi undang-undang dan peraturan &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;&lt;span style="" lang="SV"&gt;Rules       can be heuristics (eg If the meal includes red meat then choose red       wine). "rules of thumb" - represent conventional wisdom.&lt;/span&gt;&lt;/span&gt;&lt;span style="" lang="SV"&gt; Aturan dapat heuristik (misalnya       Jika makanan termasuk daging merah kemudian pilih anggur merah). &lt;/span&gt;"Aturan       praktis" - mewakili kebijaksanaan konvensional. &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Rules can be chained together (eg "If A then       B" "If B then C" since A---&gt;B--- &gt;C so "If A       then C").&lt;/span&gt; Aturan dapat dirantai bersama-sama (misalnya       "Jika A maka B" "Jika B maka C" karena A ---&gt; B       ---&gt; C sehingga "Jika A maka C").&lt;br /&gt;    &lt;span class="google-src-text1"&gt;(If it is raining then roads are wet. If       roads are wet then roads are slick.)&lt;/span&gt; (Jika hujan maka jalan-jalan       basah. Jika jalanan basah maka jalan yang licin.) &lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;span class="google-src-text1"&gt;Certainty factors represent the confidence one has       that a fact is true or a rule is valid&lt;/span&gt; Faktor kepastian mewakili       keyakinan seorang pun bahwa fakta itu benar atau sebuah aturan yang       berlaku &lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;  &lt;p&gt;&lt;span class="google-src-text1"&gt;&lt;b&gt;Classification of Expert Systems&lt;/b&gt;&lt;/span&gt; &lt;b&gt;Klasifikasi Expert Systems&lt;/b&gt;&lt;br /&gt;&lt;span class="google-src-text1"&gt;In an attempt to classify expert system for discussion purpose, schemas have been devised that are based on the number of rules.&lt;/span&gt; Dalam upaya untuk mengklasifikasikan sistem pakar untuk tujuan diskusi, skema yang telah dirancang didasarkan pada jumlah aturan. &lt;span class="google-src-text1"&gt;These classification systems suggest that there are three basic classes of expert system : small, medium, and large.&lt;/span&gt; Sistem klasifikasi ini menunjukkan bahwa ada tiga kelas dasar sistem pakar: kecil, sedang, dan besar. &lt;span class="google-src-text1"&gt;A small systems has been defined as one that uses a knowledge base comprising fewer than 500 rules.&lt;/span&gt; Sebuah sistem yang kecil telah didefinisikan sebagai salah satu yang menggunakan basis pengetahuan yang terdiri dari kurang dari 500 peraturan. &lt;span class="google-src-text1"&gt;A medium system consists of up to 10,000 rules, and large system has in excess of 10,000 rules.&lt;/span&gt; Sebuah sistem terdiri dari media hingga 10.000 peraturan, dan sistem besar memiliki lebih dari 10.000 peraturan. &lt;/p&gt;  &lt;p&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="google-src-text1"&gt;&lt;b style=""&gt;&lt;span style="font-size:14;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-5077751666760950103?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/5077751666760950103/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/10/expert-system-sistem-pakar.html#comment-form' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/5077751666760950103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/5077751666760950103'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/10/expert-system-sistem-pakar.html' title='Expert System (Sistem Pakar)'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-8704341617161357072</id><published>2009-10-25T05:30:00.000-07:00</published><updated>2009-10-25T05:59:15.863-07:00</updated><title type='text'>Tutorial part2</title><content type='html'>Jawaban Exercise 2:&lt;br /&gt;&lt;br /&gt;Number 1:&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso"&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:shapedefaults ext="edit" spidmax="1033"&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:shapelayout ext="edit"&gt;   &lt;o:idmap ext="edit" data="1"&gt;  &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;a). Untuk mengetahui jenis binatang mamalia berdasarkan data yang ada , maka dapat diketahui dengan cara mengetik prolog di notepad sebagai berikut:&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/SuRFdKIXj0I/AAAAAAAAABw/e49DsT0ogtk/s1600-h/mammal.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 225px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/SuRFdKIXj0I/AAAAAAAAABw/e49DsT0ogtk/s400/mammal.jpg" alt="" id="BLOGGER_PHOTO_ID_5396514620734672706" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso"&gt;&lt;!--[if !mso]&gt; &lt;style&gt; v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0cm; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:612.0pt 792.0pt; 	margin:72.0pt 90.0pt 72.0pt 90.0pt; 	mso-header-margin:36.0pt; 	mso-footer-margin:36.0pt; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0cm 5.4pt 0cm 5.4pt; 	mso-para-margin:0cm; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:shapedefaults ext="edit" spidmax="1033"&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;o:shapelayout ext="edit"&gt;   &lt;o:idmap ext="edit" data="1"&gt;  &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;Dan tampilan pada SWI Prolog adalah sebagai berikut:&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/SuRGIb3_UGI/AAAAAAAAAB4/nYl2oCrCQok/s1600-h/mammalprolog.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 277px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/SuRGIb3_UGI/AAAAAAAAAB4/nYl2oCrCQok/s400/mammalprolog.jpg" alt="" id="BLOGGER_PHOTO_ID_5396515364232188002" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;b) Untuk mengetahui jenis binatang mamalia yang karnivora berdasarkan data yang ada , maka dapat diketahui dengan cara mengetik prolog di notepad sebagai berikut:&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SuRGdh7XX4I/AAAAAAAAACA/2f-GbxdJeds/s1600-h/mamamlcar.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 164px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SuRGdh7XX4I/AAAAAAAAACA/2f-GbxdJeds/s400/mamamlcar.jpg" alt="" id="BLOGGER_PHOTO_ID_5396515726634213250" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_s1026" type="#_x0000_t75" style="'position:absolute;" wrapcoords="-49 0 -49 21500 21600 21500 21600 0 -49 0"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.png" title=""&gt;  &lt;w:wrap type="tight"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Dan tampilan pada SWI prolog adalah sebagai berikut:&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SuRHTEGRInI/AAAAAAAAACI/Ee3mSxm8fTU/s1600-h/mammalcarpro.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 254px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SuRHTEGRInI/AAAAAAAAACI/Ee3mSxm8fTU/s400/mammalcarpro.jpg" alt="" id="BLOGGER_PHOTO_ID_5396516646339814002" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" style="'width:333.75pt;height:136.5pt'"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image005.png" title=""&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1029" type="#_x0000_t75" style="'position:absolute;margin-left:0;margin-top:41.4pt;width:306pt;height:126.65pt;" wrapcoords="-37 0 -37 21511 21600 21511 21600 0 -37 0"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image009.jpg" title="mammalstrip"&gt;  &lt;w:wrap type="tight"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;C). Untuk mengetahui jenis binatang mammalia yang memiliki badan berwarna belang atau garis-garis (stripes) berdasarkan data yang ada , maka dapat diketahui dengan cara mengetik prolog di notepad sebagai berikut:&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/SuRIYw4Ie9I/AAAAAAAAACQ/DCGYv8goIYI/s1600-h/mammalstrip.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 165px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/SuRIYw4Ie9I/AAAAAAAAACQ/DCGYv8goIYI/s400/mammalstrip.jpg" alt="" id="BLOGGER_PHOTO_ID_5396517843771096018" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Dan tampilan pada SWI prolog adalah sebagai berikut:&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SuRIr3RXnLI/AAAAAAAAACY/wKqa7D4Rdh0/s1600-h/mammalstrippro.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 243px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SuRIr3RXnLI/AAAAAAAAACY/wKqa7D4Rdh0/s400/mammalstrippro.jpg" alt="" id="BLOGGER_PHOTO_ID_5396518171905072306" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1031" type="#_x0000_t75" style="'position:absolute;margin-left:-45pt;margin-top:18pt;width:6in;height:197.85pt;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image013.jpg" title="mane"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;span style="position: absolute; z-index: -2; margin-left: -60px; margin-top: 24px; width: 576px; height: 264px;"&gt;&lt;img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/msohtml1/01/clip_image013.jpg" shapes="_x0000_s1031" width="576" height="264" /&gt;&lt;/span&gt;&lt;!--[endif]--&gt;d). Untuk mengetahui apakah ada jenis binatang reptile yang memiliki bulu tengkuk pada data yang ada , maka dapat diketahui dengan cara mengetik prolog di notepad sebagai berikut:&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SuRJLIbiV6I/AAAAAAAAACg/HEpGLtn7Se4/s1600-h/mane.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 183px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SuRJLIbiV6I/AAAAAAAAACg/HEpGLtn7Se4/s400/mane.jpg" alt="" id="BLOGGER_PHOTO_ID_5396518709087066018" border="0" /&gt;&lt;/a&gt;&lt;p class="MsoNormal"&gt;Dan tampilan pada SWI prolog adalah sebagai berikut:&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape id="_x0000_s1032" type="#_x0000_t75" style="'position:absolute;margin-left:0;margin-top:0;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image014.jpg" title="manepro"&gt;  &lt;w:wrap type="square"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_7j9RltiDXuE/SuRJlZbRb5I/AAAAAAAAACo/PWnnlYPEPIk/s1600-h/manepro.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 183px;" src="http://1.bp.blogspot.com/_7j9RltiDXuE/SuRJlZbRb5I/AAAAAAAAACo/PWnnlYPEPIk/s400/manepro.jpg" alt="" id="BLOGGER_PHOTO_ID_5396519160325959570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Number 2:&lt;br /&gt;Untuk mengetahui pasangan lelaki dan perempuan pada data yang telah tersedia, maka dapat diketahui dengan mengetik prolog pada notepad sebagai berikut:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_7j9RltiDXuE/SuRKJC8IYZI/AAAAAAAAACw/6Ew2OLb21SE/s1600-h/dating.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 215px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/SuRKJC8IYZI/AAAAAAAAACw/6Ew2OLb21SE/s400/dating.jpg" alt="" id="BLOGGER_PHOTO_ID_5396519772765053330" border="0" /&gt;&lt;/a&gt;Dan tampilan pada SWI Prolog adalah sebagai berikut:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_7j9RltiDXuE/SuRK6I79INI/AAAAAAAAAC4/BW4fDbISgTU/s1600-h/wes.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 325px; height: 400px;" src="http://4.bp.blogspot.com/_7j9RltiDXuE/SuRK6I79INI/AAAAAAAAAC4/BW4fDbISgTU/s400/wes.jpg" alt="" id="BLOGGER_PHOTO_ID_5396520616188518610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-8704341617161357072?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/8704341617161357072/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/10/tutorial-part2.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/8704341617161357072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/8704341617161357072'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/10/tutorial-part2.html' title='Tutorial part2'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_7j9RltiDXuE/SuRFdKIXj0I/AAAAAAAAABw/e49DsT0ogtk/s72-c/mammal.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-3186070524491954423</id><published>2009-10-13T05:22:00.000-07:00</published><updated>2009-10-13T06:00:30.319-07:00</updated><title type='text'>TUTORIAL</title><content type='html'>&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;Combinations of two sets&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;example:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;a = {1,2}&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;b= {3,4}&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;So, there four combinations of two sets. they are {1,3}, {1,4}, {2,3}, and {2,4}.&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;if we use "prolog" to find the combinations of the sets, we can write in notepad like this:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;a(1).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;a(2).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;b(3).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;b(4).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;sets(x):-a(x).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;sets(y):-b(y).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;combination(x,y):-a&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;(x),b(y).&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 225px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/StR2OJob6sI/AAAAAAAAAA4/OhYks6WRUnY/s400/combinations.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5392064639345093314" /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;Then, its prolog is showed by this picture:&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 388px;" src="http://3.bp.blogspot.com/_7j9RltiDXuE/StR5rQjXdII/AAAAAAAAABY/ugSoaGZYFe8/s400/Untitled-2+copy.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5392068437953967234" /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:100%;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-3186070524491954423?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/3186070524491954423/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/10/tutorial.html#comment-form' title='2 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/3186070524491954423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/3186070524491954423'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/10/tutorial.html' title='TUTORIAL'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_7j9RltiDXuE/StR2OJob6sI/AAAAAAAAAA4/OhYks6WRUnY/s72-c/combinations.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6197081996906679791.post-1937769125964672384</id><published>2009-10-13T00:07:00.000-07:00</published><updated>2009-10-13T06:06:24.520-07:00</updated><title type='text'>Our Biography</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_7j9RltiDXuE/StR7HxQwVKI/AAAAAAAAABo/KbktOz9-_wE/s1600-h/Matdisholic+Members.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 220px; height: 182px;" src="http://2.bp.blogspot.com/_7j9RltiDXuE/StR7HxQwVKI/AAAAAAAAABo/KbktOz9-_wE/s400/Matdisholic+Members.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5392070027282240674" /&gt;&lt;/a&gt;&lt;span style="color: rgb(0, 0, 153);font-size:180%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="color: rgb(0, 0, 153);font-size:180%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Personal data&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#993399;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Name : Lilis Ernawati&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;NRP: 5209100085&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Place, Date of Birth: Bojonegoro, 9th April 1991&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Age: 18 years&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Sex: Female&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Religion: Islam&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Civics: Indonesian&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Address:Turi,Tambakrejo,Bojonegoro,Indonesia,62166&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Telephone: -&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Cell Phone: 085232295249&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;e-mail: ernawatililis@ymail.com&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Formal education&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;1997 - 2003: SDN Turi 1&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2003 - 2006: SMPN 1 Ngambon&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2006 - 2009: SMAN 1 Padangan&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2009: Information System, ITS&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#ff6600;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Name: Riyan Adelia Suryaningati &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;NRP: 5209100096&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Place, Date of Birth: Sidoarjo, 12th January 1992 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Age: 17 years &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Sex: Female &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Religion: Islam &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Civics: Indonesian&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Address: Perum. Griya Candi Asri S.44, Sidoarjo, Indonesia, 61271 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Telephone: 031 - 8061105 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Cell Phone: 085733088024 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;e-mail: adellavigne@yahoo. co. id&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;adelia09@mhs.is.its.c.id&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#ff6600;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Formal education &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;1997 – 2003: SD Muhammadiyah 1 Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2003 – 2006: SMPN 1 Candi, Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2006 – 2009: SMAN 2 Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2009: Information System, ITS &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Organisational experiences &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;*Osis / MPK 's administrator - SMAN 2 Sidoarjo Years: 2007-2008 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;*PHKRI vice chairman - SMAN 2 Sidoarjo Years: 2007-2008 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;*Karya Ilmiah Remaja ‘s member - SMAN 2 Sidoarjo Years: 2006-2008&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#ff99ff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Name: Nurul Fakhria &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;NRP: 5209100097&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Place, Date of Birth: Sidoarjo, 12th September 1991 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Age: 18 years &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Sex: Female &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Religion: Islam &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Civics: Indonesian&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Address: jl. Kol. Soegiono Ngingas 79 RT/RW 5/II Waru, Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Telephone: 031 - 70696006 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Cell Phone: 08563146006&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;e-mail: riachan_emoetch@yahoo. co. id&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;    nurul.fakhria09@mhs.is.its.c.id&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Formal education &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;1997 – 2003: MI NU Ngingas, Waru, Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2003 – 2006: MTs "Darul Ulum" Kureksari, Waru, Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2006 – 2009: SMAN 1 Waru, Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2009: Information System, ITS&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color:#ff99ff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;------------------------------------------------------------------------------&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color:#33ccff;"&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Name: Yuni Dwi Kurniawati&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;NRP: 5209100099&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Place, Date of Birth: Sidoarjo, 17th June 1991 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Age: 18 years &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Sex: Female &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Religion: Islam &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Civics: Indonesian&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Address:  jl. nanas rt 10 rw 03 Dsa. Geluran, kec. Taman-Sidoarjo, Jatim-Indonesia&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Telephone: 031 - 7886589 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Cell Phone:085645142642 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;e-mail: yuni_dwika@yahoo.com&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;    yuni09@mhs.is.its.co.id&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Formal education &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;1997 – 2003: SD Geluran III &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2003 – 2006: SMPN 1 Taman, Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2006 – 2009: SMAN 1 Sidoarjo &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;2009: Information System, ITS &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;Organisational experiences &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;*Youth Red Cross's secretary - SMAN 1 Sidoarjo Years: 2007-2008 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;*SKI's member - SMAN 1 Sidoarjo Years: 2006-2008 &lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;strong&gt;*Karya Ilmiah Remaja ‘s member - SMAN 1 Sidoarjo Years: 2006-2008&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6197081996906679791-1937769125964672384?l=matdisholic.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://matdisholic.blogspot.com/feeds/1937769125964672384/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://matdisholic.blogspot.com/2009/10/our-biography.html#comment-form' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1937769125964672384'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6197081996906679791/posts/default/1937769125964672384'/><link rel='alternate' type='text/html' href='http://matdisholic.blogspot.com/2009/10/our-biography.html' title='Our Biography'/><author><name>maTdishoLic</name><uri>http://www.blogger.com/profile/16868750196724514845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='26' src='http://3.bp.blogspot.com/_7j9RltiDXuE/StQmzUtrifI/AAAAAAAAAAM/je_T993GFUU/S220/Matdisholic+Members.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_7j9RltiDXuE/StR7HxQwVKI/AAAAAAAAABo/KbktOz9-_wE/s72-c/Matdisholic+Members.jpg' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
