tag:blogger.com,1999:blog-44131703116496600842024-02-20T09:54:53.245+07:00Mahmud Tajinanhidup untuk terus belajarMalanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.comBlogger88125tag:blogger.com,1999:blog-4413170311649660084.post-62869967238137889132018-12-04T11:09:00.000+07:002018-12-04T11:09:16.282+07:00TUGAS BASIS DATA<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="MsoNormal" style="text-align: center;">
</div>
<div class="MsoNormal" style="text-align: center;">
<b style="mso-bidi-font-weight: normal;"><br /></b></div>
<div class="MsoNormal" style="text-align: center;">
<b>TUGAS BASIS DATA</b></div>
<div class="MsoNormal" style="text-align: center;">
<b><br /></b></div>
<div class="MsoNormal" style="text-align: center;">
<br /></div>
<div class="MsoNormal" style="text-align: center;">
<b style="mso-bidi-font-weight: normal;">SOAL PRAKTIK BASIS DATA</b></div>
<div class="MsoNormal" style="text-align: center;">
<b style="mso-bidi-font-weight: normal;">(TENTANG MENGGUNAKAN SQL DAN KLASIFIKASINYA)<o:p></o:p></b></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
Sebuah sekolah akan membuat system informasi (e-raport)
dimana terdapat fasilitas untuk mengolah data siswa, matapelajaran, nilai dan
guru mata pelajaran. Nilai akhir setiap mata pelajaran diperoleh dari np,ns,nk.<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
1. Buatlah desain<span style="mso-spacerun: yes;">
</span>sistem dengan ERD dari sistem informasi nilai!.<o:p></o:p></div>
<br />
<div class="MsoNormal" style="text-align: left;">
2. Buatlah perancangan database beserta relasinya (maping
ERD ke Tabel) sesuai dengan hasil ERD pada soal nomor 1!.<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 14.2pt; text-align: left;">
Tabel guru<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; margin-left: 14.2pt; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: #A6A6A6; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NO<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NAMA FIELD<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
TYPE DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PANJANG DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
KETERANGAN<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
1<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_guru<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PRIMARY KEY<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
2<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Nama_ guru<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
30<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
3<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Alamat_ guru<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
50<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 4; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
4<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
No_telepon_ guru<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 14.2pt; text-align: left;">
Tabel siswa<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; margin-left: 14.2pt; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: #A6A6A6; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NO<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NAMA FIELD<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
TYPE DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PANJANG DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
KETERANGAN<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
1<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_siswa<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PRIMARY KEY<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
2<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Nama_ siswa<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
30<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
3<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Alamat_ siswa<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
50<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 4;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
4<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
No_telepon_ siswa<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 5;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
5<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Jenis_kelamin<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 6;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
6<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Tempat_lahir<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
30<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 7;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
7<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Tanggal_lahir<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
DATE<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 8; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
8<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
id_kelas<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 14.2pt; text-align: left;">
Tabel mapel<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; margin-left: 14.2pt; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: #A6A6A6; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NO<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NAMA FIELD<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
TYPE DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PANJANG DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
KETERANGAN<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
1<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
id_ mapel<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PRIMARY KEY<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
2<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Nama_ mapel<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
50<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
3<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_guru_mapel<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 14.2pt; text-align: left;">
Tabel guru_mapel<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; margin-left: 14.2pt; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: #A6A6A6; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NO<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NAMA FIELD<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
TYPE DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PANJANG DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
KETERANGAN<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
1<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
id_ guru_mapel<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PRIMARY KEY<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
2<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
id_ mapel<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
3<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_guru<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 14.2pt; text-align: left;">
Tabel kelas<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; margin-left: 14.2pt; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: #A6A6A6; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NO<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NAMA FIELD<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
TYPE DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PANJANG DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
KETERANGAN<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
1<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_kelas<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PRIMARY KEY<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
2<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Nama_kelas<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
3<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Jumlah_siswa<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
INT<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 14.2pt; text-align: left;">
Tabel nilai<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; margin-left: 14.2pt; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;">
<td style="background: #A6A6A6; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NO<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
NAMA FIELD<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
TYPE DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PANJANG DATA<o:p></o:p></div>
</td>
<td style="background: #A6A6A6; border-left: none; border: solid windowtext 1.0pt; mso-background-themecolor: background1; mso-background-themeshade: 166; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
KETERANGAN<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 1;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
1<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_nilai <o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
PRIMARY KEY<o:p></o:p></div>
</td>
</tr>
<tr style="mso-yfti-irow: 2;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
2<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_mapel<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
10<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 3;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
3<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Id_siswa<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
VARCHAR<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
15<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 4;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
4<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Np<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
INT<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 5;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
5<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Ns <o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
INT<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 6;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
6<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Nk <o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
INT<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
<tr style="mso-yfti-irow: 7; mso-yfti-lastrow: yes;">
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 28.1pt;" valign="top" width="37">
<div class="MsoListParagraphCxSpFirst" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
7<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 144.85pt;" valign="top" width="193">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
Na <o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 86.7pt;" valign="top" width="116">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
INT<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 87.85pt;" valign="top" width="117">
<div class="MsoListParagraphCxSpMiddle" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 89.1pt;" valign="top" width="119">
<div class="MsoListParagraphCxSpLast" style="line-height: normal; margin-bottom: .0001pt; margin: 0cm; mso-add-space: auto;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoListParagraph" style="margin-left: 14.2pt; text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
3. Buatlah database raport dengan CLI!.<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
4. Buatlah seluruh tabel yang ada dalam database nilai,
tentukan primary key pada setiap pembuatan tabel!.<o:p></o:p></div>
<br />
<div class="MsoNormal" style="text-align: left;">
5. Buatlah sintak SQL untuk membuat index pada kolom yang
akan dijadikan relasi antar tabel!.</div>
<br />
<div class="MsoNormal" style="text-align: left;">
6. Buatlah relasi untuk semua tabel yang ada dalam database
nilai (boleh menggunakan fiture designer pada phpmyadmin atau CLI)!.</div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
7. Input data pada setiap tabel dalam database nilai sesuai
dengan kebutuhan?<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
8. Buatlah Query untuk menampilkan nilai siswa pada
pelajaran tertentu yang berisi nama siswa, ns, np, dan nk diurutkan berdasarkan
nama siswa?(order by)<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
9. Buatlah Query untuk menampilkan nilai tertinggi dari
setiap mata pelajaran yang berisi nama siswa, ns, np, dan nk diurutkan
berdasarkan kelas?(order by)<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
10. Buatlah script SQL untuk merubah sebuah data pada tabel
siswa!.<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
11. buatlah scipt SQL untuk menghapus semua nilai dari siswa
tertentu!.<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
12. Buatlah prosedure untuk menampilkan laporan nilai
seorang siswa berdasarkan nisnya. Laporan berisi nama mapel, NS, NP, NK dan
Nilai Akhir!. Tes apakah procedure dapat dijalankan!.</div>
<br />
<div class="MsoNormal" style="text-align: left;">
13. Buatlah function untuk menghitung rerata nilai yang
terdiri dari ns, np, nk. Dan bagaimana cara menggunakan function tersebut dalam
tabel.</div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<div class="MsoNormal" style="text-align: left;">
14. Buatlah script SQL untuk membuat trigger untuk menghapus
data nilai secara otomatis ketika terjadi hapus data pada table siswa!</div>
<br />
<div class="MsoNormal" style="text-align: left;">
15. Dengan menerapkan transaction (commit) update sebuah
data pada table siswa!.</div>
<br />
<div class="MsoNormal" style="text-align: left;">
16. Dengan menerapkan transaction (rollback) delete sebuah
data pada table siswa!.<o:p></o:p></div>
<div class="MsoNormal" style="text-align: left;">
<br /></div>
<br /><div style="text-align: left;">
<br /></div>
<br />
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-87556180606265361392018-11-24T09:26:00.000+07:002018-11-24T09:26:45.019+07:00Penanganan Kejadian<div dir="ltr" style="text-align: left;" trbidi="on">
Penanganan Kejadian<br />
<br />
package :<br />
java.awt.event dan javax.swing.event<br />
<br />
agar komponen dapat menangani kejadian, kompnen tsb harus :<br />
1. didaftarkan menjadi pendengar (listener), contoh :<br />
<br />
JButton tombolSelesai = new JButton("Selesai");<br />
tombolSelesai.addActionListener(this);<br />
<br />
scra umum bentuk metode nya :<br />
addxxxListener()<br />
<br />
2. Harus mengimplementasikan suatu interface listener<br />
3. Membuat object suatu kelas yang merupakan kelas adapter<br />
4. Menulis kode pada metode penanganan kejadian<br />
<br />
kelas adapter adalah kelas bawaan java yang mengandung nama adapter <br />
dibagian belakang dan merupakan kelas abstrak<br />
yang merupakan implementasi dari suatu interface listener.<br />
<br />
contoh :<br />
windowAdapter = kelas abstrak yang mengimplementasi interface WindowListener<br />
MouseAdapter = ----" ---- MouseListener<br />
<br />
contoh program :<br />
<br />
bSubmit.addActionListener(new ActionListener() <br />
{<br />
public void actionPerformed(ActionEvent e) <br />
{<br />
oNama.setText(tNama.getText());<br />
}<br />
} );<br />
kelas dan interface pada java :<br />
<br />
kejadian dan interface | metode --> listener | Komponen<br />
------------------------------- |----------------------------------------- |-------------------------------------<br />
ActionEvent | addActionListener | JButton, JList dll<br />
ActionListener | | <br />
--------------------------------|-------------------------------------------|--------------------------------------<br />
AdjusmentEvent | |<br />
AdjustmentListener | addAdjusmentListener | JScrollBar<br />
------------------------------- | -------------------------------------------| ------------------------------------<br />
dll.<br />
<br />
Listener dan metode penanganan kejadian :<br />
<br />
Listener / Adapter | Metode <br />
-------------------------- | -------------------------------------------------------<br />
ActionListener | actionPerformed(ActionEvent)<br />
-------------------------- | -------------------------------------------------------<br />
AdjusmentListener | adjustmentValueChanged (AdjustmentEvent)<br />
-------------------------- | -------------------------------------------------------<br />
dll.<br />
<br />
<br />
Listener Interface Listener Methods <br />
<br />
ActionEvent ActionListener actionPerformed(ActionEvent) <br />
ItemEvent ItemListener itemStateChanged(ItemEvent) <br />
MouseEvent MouseListener mousePressed(MouseEvent) <br />
mouseReleased<br />
<br />
(MouseEvent) <br />
mouseEntered(MouseEvent) <br />
mouseExited(MouseEvent) <br />
mouseClicked(MouseEvent) <br />
MouseMotionListener <br />
<br />
mouseDragged(MouseEvent) <br />
<br />
<br />
<br />
konsep laen :<br />
<br />
Dalam event handling pada Java ada empat bagian penting yang harus diketahui:<br />
<br />
1.Event Object merupakan object yang mendiskripsikan sebuah event yang di-<br />
<br />
trigger oleh event source.<br />
<br />
2.Event Handler merupakan method yang menerima event object dan melakukan <br />
<br />
respond yang sesuai dengan event object tersebut.<br />
<br />
3.Event Listener merupakan interface yang akan meng-handle event yang terjadi. <br />
<br />
setiap type event mempunyai interface yang bersesuaian. Listener tersebut harus <br />
<br />
diimplementasikan oleh class yang akan meng-handle event<br />
<br />
4.Event Source merupakan pembangkit / trigger sebuah event objects<br />
setiap event object mempunyai type event yang berbdea beda. <br />
<br />
sehingga kita harus menentukan type event sebelum menentukan jenis interface <br />
<br />
listener. karena setiap type event mempunyai jenis interface listener yang <br />
<br />
bersesuaian.<br />
<br />
berikut ini type type event yang ada di Java :<br />
<br />
1.ActionEvent<br />
2.ItemEvent<br />
3.WindowEvent<br />
4.ContainerEvent<br />
5.ComponentEvent<br />
6.FocusEvent<br />
7.TextEvent<br />
8.KeyEvent<br />
9.MouseEvent<br />
10.AdjustmentEvent<br />
<br />
Berikut ini Interface Listener<br />
<br />
1.ActionListener<br />
2.ItemListener<br />
3.WindowListener<br />
4.ContainerListener<br />
5.ComponentListener<br />
6.FocusListener<br />
7.TextListener<br />
8.KeyListener<br />
9.MouseListener<br />
10.MouseMotionListener<br />
11.AdjustmentListener<br />
<br />
Berdasarkan tulisan diatas, setiap type event mempunyai satu jenis interface listener <br />
<br />
kecuali MouseEvent yang mempunyai dua jenis interface listener. dan setiap <br />
<br />
interface mempunyai method abstract yang harus di override class yang meng-<br />
<br />
impletasikan interface. <br />
<br />
<br />
event listener dan event handler terdapat pada package java.awt.event<br />
<br />
Bagaimana event handling dalam Java? ada tiga langkah penting dalam event <br />
<br />
handling<br />
<br />
1.Deklarasikan class yang akan meng-handle event yang terjadi dan tuliskan code <br />
<br />
yang menyatakan class tersebut meng-implement interface listener<br />
2.Event source mendaftarkan sebuah listener melalui method add<type>Listener<br />
3.Kode yang mengimplementasikan method pada interface listener pada class yang <br />
<br />
akan meng-handle event. [ Override ]<br />
<br />
Contoh program sederhana :<br />
<br />
import java.awt.*;<br />
import javax.swing.*;<br />
import java.awt.event.*;<br />
<br />
public class Penjumlahan2Field extends JFrame<br />
{<br />
JLabel labelData1,labelData2,labelHasil;<br />
JTextField field1,field2,field3;<br />
JButton button;<br />
<br />
public Penjumlahan2Field()<br />
{<br />
setLayout(null);<br />
labelData1=new JLabel("Data 1 = ");<br />
field1=new JTextField(8);<br />
labelData2=new JLabel("Data 2 = ");<br />
field2=new JTextField(8);<br />
labelHasil=new JLabel("Hasil = ");<br />
field3=new JTextField(8); <br />
button=new JButton("+");<br />
<br />
labelData1.setBounds(10,10,80,25);<br />
field1.setBounds(65,10,80,25);<br />
labelData2.setBounds(10,40,80,25);<br />
field2.setBounds(65,40,80,25);<br />
labelHasil.setBounds(10,70,80,25);<br />
field3.setBounds(65,70,80,25);<br />
button.setBounds(65,120,50,25);<br />
<br />
add(labelData1);<br />
add(field1);<br />
add(labelData2);<br />
add(field2);<br />
add(labelHasil);<br />
add(field3);<br />
add(button);<br />
<br />
ActionListener listener = new Penjumlahan2Field.Handler();<br />
button.addActionListener(listener); <br />
}<br />
<br />
class Handler implements ActionListener{<br />
public void actionPerformed(ActionEvent e){<br />
String s = e.getActionCommand();<br />
<br />
if(s.equals("+")){<br />
String data1=field1.getText();<br />
String data2=field2.getText();<br />
<br />
int a=Integer.parseInt(data1);<br />
int b=Integer.parseInt(data2); <br />
<br />
<br />
int hasil=a+b;<br />
field3.setText(Integer.toString(hasil));<br />
}<br />
}<br />
}<br />
<br />
public static void main(String [] args)<br />
{<br />
Penjumlahan2Field frame=new Penjumlahan2Field();<br />
frame.setTitle("Penjumlahan");<br />
frame.setSize(200,200);<br />
//frame.setLocationRelationTo(null);<br />
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);<br />
frame.setVisible(true);<br />
}<br />
}<br />
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-35409203814040047982018-11-24T09:20:00.000+07:002018-11-24T09:20:21.836+07:00<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
ok...sudah....!...?<br />
<br />
jdk....<br />
<br />
cara setting PATH dan CLASSPATH di Command Prompt :<br />
<br />
set PATH=C:\Program Files\java\jdk1.6.0_11\bin;%PATH%<br />
kemudian enter<br />
<br />
set CLASSPATH=.;D:\Praktikum Java\<br />
kemudian enter<br />
<br />
<br />
buat program untuk menjumlah dua buah bilangan<br />
contoh :<br />
bilangan 1 = 30 ---> angka 30 inputan<br />
bilangan 2 = 4 ---> angka 4 juga inputan<br />
hasil penjumlahan = 34<br />
<br />
bagaimana caranya?<br />
<br />
silahkan di coba ....!<br />
<br />
anda ndak bisa..?<br />
<br />
jawabannya adalah ....<br />
<br />
import javax.swing.JOptionPane;<br />
<br />
public class PenjumlahanDgJoption<br />
{<br />
public static void main( String[] args ){<br />
int Hasil;<br />
String Bilangan1= "";<br />
String Bilangan2= "";<br />
<br />
Bilangan1= JOptionPane.showInputDialog("Masukkan Bilangan 1 = ");<br />
int Bilangan1Int=Integer.parseInt(Bilangan1);<br />
<br />
// merubah string ke integer juga bisa pakek<br />
// int Bilangan1Int=Integer.value of(Bilangan1).intvalue();<br />
<br />
Bilangan2= JOptionPane.showInputDialog("Masukkan Bilangan 2 = ");<br />
int Bilangan2Int=Integer.parseInt(Bilangan2);<br />
<br />
Hasil=Bilangan1Int+Bilangan2Int;<br />
<br />
<br />
<br />
diatas kan pakek JOptionpane..nach sekarang..kalian coba pakek...Bufferedreader...<br />
silahkan dicoba....!..oe...<br />
<br />
sudah ojo kakean omong..anak2 ku....sayang...<br />
<br />
jawab :<br />
<br />
...... gimana bisa?<br />
kalo ndak bisa...yo wis...cobak ini...<br />
<br />
public class PenjumlahanDgBuffered<br />
{<br />
public static void main( String[] args ){<br />
String angka1="";<br />
String angka2="";<br />
int hasil;<br />
BufferedReader dataIn = new BufferedReader(new InputStreamReader( System.in) );<br />
<br />
System.out.print("Masukkan nilai a = ");<br />
try{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>angka1 = dataIn.readLine();<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>} catch( IOException e ){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println("Error!");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<br />
System.out.print("\nMasukkan nilai b = ");<br />
try{<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>angka2 = dataIn.readLine();<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>} catch( IOException e ){<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println("Error!");<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<br />
<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int intA=Integer.parseInt(angka1);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>int intB=Integer.parseInt(angka2);<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>hasil=intA+intB;<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>System.out.println("Hasil Penjumlahan = " + hasil+"!");<br />
}<br />
}<br />
<br />
<br />
sudah...sudah..refresing nya...sekarang kan sudah masuk...betul...<br />
yang maen game..n nonton film + facebookan segera dihentikan...<br />
<br />
ada satu lagi untuk mendapatkan inputan dari keyboard...<br />
yaitu dengan menggunakan fungsi Scanner<br />
<br />
caranya : ...<br />
<br />
import java.util.Scanner;<br />
<br />
public class Input1<br />
{<br />
public static void main(String[] args)<br />
{<br />
<br />
Scanner sc = new Scanner (System.in);<br />
<br />
System.out.print("Masukkan Nama Anda : ");<br />
String nama = sc.next ();<br />
<br />
System.out.println("Hello "+ nama);<br />
}<br />
}<br />
<br />
<br />
<br />
<br />
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-75871374323786532062018-11-24T08:58:00.000+07:002018-11-24T08:58:19.472+07:00Apa itu Dropbox<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="headline_h2">
<h1 class="headline">
Cara Menggunakan Dropbox dan Install Dropbox pada Komputer</h1>
</div>
<div class="post_tags" itemprop="keywords">
<span class="post_tags_intro">Tagged as:</span> <a href="http://www.ngeblog.co/tag/cara/" rel="tag">cara</a>, <a href="http://www.ngeblog.co/tag/cloud/" rel="tag">Cloud</a>, <a href="http://www.ngeblog.co/tag/dropbox/" rel="tag">Dropbox</a>, <a href="http://www.ngeblog.co/tag/file-sharing/" rel="tag">File Sharing</a>, <a href="http://www.ngeblog.co/tag/internet/" rel="tag">Internet</a></div>
<strong>Dropbox adalah</strong> layanan cloud untuk menyimpan berbagai file. <a href="http://www.ngeblog.co/cara-menggunakan-dropbox-install-dropbox/" title="Cara menggunakan dropbox"><u>Cara menggunakan dropbox</u></a> tidaklah sulit, kita bisa memakai layanan dropbox dengan gratis.<br />
Setiap file yang terkoneksi akan otomatis terhubung dengan komputer, ponsel, atau device lainnya yang memakai aplikasi dropbox.<br />
Gampangnya
begini, dengan dropbox, kita bisa menyimpan file yang sudah kita buat
dikomputer kantor tanpa harus membawanya melalui flashdisk ke komputer
rumah atau sebaliknya.<br />
Setiap file yang kita simpan di dropbox, otomatis file tersebut <strong>tersebar ke komputer/gadget yang memakai akun dropbox</strong> yang sama atau sudah tersinkronisasi. Syarat pertama untuk memulainya anda harus memiliki akun dropbox terlebih dahulu.</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-13488347933963598672018-11-24T08:56:00.000+07:002018-11-24T09:34:10.570+07:00contoh soal C<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Pemrograman C / C++
(Kumpulan Latihan Soal)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><br clear="all" />
</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><a href="http://10507276.blog.unikom.ac.id/pemrograman-c-c.1y8"><span style="color: windowtext; font-family: "times new roman" , "serif"; mso-bidi-font-weight: bold;">Latihan Soal Pemrograman C++</span></a><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Buatlah sebuah program untuk menghitung luas persegi panjang, nilai
panjang dan lebar dimasukan melalui keyboard sedangkan besar nilai luas muncul
secara otomatis</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">2.Buat sebuah program untuk menghitung luas lingkaran, nilai jari-jari
dimasukan dari keyboard, sedangkan nilai muncul secara otomatis</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">3.Gaji yang diterima pegawai terdiri dari gaji pokok, tunjangan dan upah
lembur,besae tunjangan 15% dari gaji pokok, besar upah lembur perjam 3% dari
gaji pokok. Buatlah program untuk menghitung gaji yang diterima pegawai.
Masukan (Input). nomor pegawai, nama,gaji pegawai,jumlah jam lembur. Keluaran
(Output): Gaji pokok,tunjangan,uang lembur,total gaji</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">4.Buatlah program untuk membantu kasir swalayan untuk memisahkan pecahan
uang kembalian menjadi 50.000, 20.000, 10.000, 5.000, 2000, 1000, 500,dan 100.</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh tampilan:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Jumlah Uang
Kembali : Rp. 88800 </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Pecahan uang
kembali:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 1
Lembar 50.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
20.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
10.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
5.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
2000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
1000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
500</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
100</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 5. Mencari bilangan
terbesar dari dua buah bilangan (Minimum dan Maxsimum)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">6. Menghitung tahun kabisat, nilai tahun harus di input di keyboard</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 7. Membaca sebuah
bilangan bulat antara 1 sampai 4, lalu mencetak tulisan dari angka tersebut</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh: Jika
diinput angka 1 maka
output akan tercetak tulisan SATU</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">jika di
input selain dari 1 sampai 4 maka munculkan pesan "Anda
Salah memasukan Input Kode"</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 8. Buat program C++
untuk memeriksa 3 bilangan yang di input. output harus memunculkan bilangan
yang paling besar dan bilangan paling kecil, lalu apakah bilangan tersebut
bilanagn positif atau negatif</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">contoh
output: </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
bilangan ke-1: 20</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
bilangan ke-1: 10</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
bilangan ke-1: 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Output: </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
Terbesar adalah: 20</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
Terbesar adalah: 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
terbesar adalah positif</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">8. Buat program dan mencetak bilangan bulat antara 10 s/d 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">berkut
outputnya:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10 12 14 16
18 20 22 24 26 28 30 32 34 46 38 40 42 44 46 48 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">9. Buat program dan mencetak bilangan bulat antara 10 s/d 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">berkut
outputnya:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10 12 14 16
18 20 22 24 26 28 30 32 34 46 38 40 42 44 46 48 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Jumlah
Bilangan ada: 21</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10. Mencetak bilangan ganjil kelipatan tiga
diantara angka 10 s/d 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Output:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">11 13 17 19
23 25 29 31 33 35 37 41 43 49</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 11. Membuat
perkalian sesuai dengan angka yang diinputkan. hasil output akan berurut
tampilan programnya harus seperti berikut:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Angka: 7</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 * 7= 7</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">2 * 7= 14</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">-----------</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10 * 7 = 70</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">12. Membuat tampilan / keluaran sebagai
berikut:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">@ = = = @</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">= @ = @ =</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">= = @ = =</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">= @ = @ =</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">@ = = = @</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify; text-indent: -21.25pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 13. Memasukan bilangan yang di input, bila di input angka nol
maka proses penginputan selesai, lalu bilangan yang di input dijumlahkan dan
dicari nilai rata-rata nya. Berikut adalah tampilan yang di inginkan</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Input): </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 2</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 7</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 1</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 100</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">output :</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
yang di inputkan adalah</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">2 5 7 1 100</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">14. Mencari bilangan terbesar dari lima bilangan </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 65</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 40</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 80</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 85</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Output:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Bilangan
Terbesar adalah : 80</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">15. Masukan 2 nilai dari keyboard, lalu dari nilai tersebut dicetak tanda
bintang (*)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh Input</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Nilai : 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Nilai : 4</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Output: </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Nilai: 5 * * * * *</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Nilai: 4 * * * *</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">16. Buat
program untuk memeriksa sebuah kata apakah Polindrom atau bukan</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Input) ;</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
sembarang kata: malam</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Output)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Kata malam adalah POLINDROM</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Input) ;</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
sembarang kata: makan</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Output)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Kata
makan BUKAN POLINDROM</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Kerjakan
terlebih dahulu sendiri, soal-soal latihan diatas untuk menambah serta mengasah
kemampuan programming kalian,</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">jika terasa suda mentok.. maka silahkan lihat kunci
jawaban nya dibawah sini !!!</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Pemrograman
C / C++ (Kumpulan JAWABAN Latihan Soal)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 1 & 2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"># include <stdio.h><br />
# include <stdlib.h><br />
<br />
main()<br />
{<br />
float alas,tinggi, panjang, lebar,
jari_jari,luas;<br />
char tipe;<br />
printf("\t\tProgram menghitung luas persegi
panjang dan lingkaran\n\n");<br />
printf(" Tekan \n1 untuk luas persegi
panjang\n2 untuk luas lingkaran\n:");<br />
scanf("%c",&tipe);<br />
<br />
if (tipe=='1')<br />
{<br />
printf("Masukkan panjang:");<br />
scanf("%f",&panjang);<br />
printf("Masukkan lebar:");<br />
scanf("%f",&tinggi);<br />
luas=panjang*lebar;<br />
printf("Luas persegi panjang:%3.2f",luas);<br />
}<br />
if (tipe=='2')<br />
{<br />
printf("Masukkan jari-jari: ");<br />
scanf("%f", &jari_jari);<br />
luas=(jari_jari*jari_jari)*3.14;<br />
printf("Luas lingkaran:%3.2f",luas);<br />
}<br />
<br />
printf("\n\n");<br />
system("pause");<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 3<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"># include <stdio.h><br />
# include <stdlib.h><br />
# include <conio.h><br />
<br />
main()<br />
{<br />
char nomor[6],nama[25];<br />
float gapok,lembur,tunjangan,gatot;<br />
<br />
printf("Masukan Nomor Pegawai = "); gets(nomor);<br />
printf("Masukan Nama Pegawai = ");
gets(nama);<br />
printf("Gaji
Pokok = ");
scanf("%f",&gapok);<br />
printf("Jumlah Jam Lembur = ");
scanf("%f",&lembur);<br />
printf("Tunjangan =
"); scanf("%f",&tunjangan);<br />
<br />
lembur=(0.03*gapok);<br />
tunjangan=(0.15*gapok);<br />
gapok=(0.15*(gapok+lembur));<br />
gatot=(gapok+tunjangan+lembur);<br />
puts("\n");<br />
printf("Gaji Pokok = %2.2f \n",gapok);<br />
printf("Tunjangan = %2.2f
\n",tunjangan);<br />
printf("Upah Lembur = %2.2f \n",lembur);<br />
printf("======================= = \n");<br />
printf("TOTAL GAJI = %2.2f ",gatot);<br />
<br />
getch();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 4<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include<stdio.h><br />
#include<conio.h><br />
<br />
int main()<br />
{<br />
int n,l,nilai,total=0,max,min;<br />
printf("Program mencari nilai minimal dam maksimal diantara
inputan\n");<br />
printf("———————————————————–\n");<br />
printf("Berapa jumlah data yang ingin diinputkan :
");scanf("%d",&n);<br />
for(l=1;l<=n;l++)<br />
{<br />
printf("masukkan nilai ke-%d :",l);scanf("%d",&nilai);<br />
total=total+nilai;<br />
if(l==1)<br />
{<br />
max=nilai;min=nilai;<br />
}<br />
if(max<nilai)max=nilai;<br />
if(min>nilai)min=nilai;<br />
}<br />
<br />
printf("Nilai terbesar diantara %d inputan adalah %d\n",n,max);<br />
printf("Nilai terkecil diantara %d inputan adalah %d\n",n,min);<br />
getch();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 5<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a,b;<br />
printf("Masukan bilangan pertama : "); scanf("%d", &a);<br />
printf("Masukan bilangan kedua : ");
scanf("%d", &b);<br />
if(a>b)<br />
printf("Bilangan terbesar adalah bilangan pertama");<br />
else if(a<b)<br />
printf("Bilangan terbesar adalah bilangan kedua");<br />
else<br />
printf("Bilangan dan kedua sama besar");<br />
<br />
getch ();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 6<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a;<br />
printf("Masukan tahun : "); scanf("%d", &a);<br />
if(a % 4==0)<br />
printf("Tahun %d merupakan tahun kabisat", a);<br />
else<br />
printf("Tahun %d bukan tahun kabisat", a);<br />
<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 7<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a;<br />
printf("Masukan angka : "); scanf("%d", &a);<br />
if(a==1)<br />
printf("Angka yang anda masukan adalah SATU");<br />
else if(a==2)<br />
printf("Angka yang anda masukan adalah DUA");<br />
else if(a==3)<br />
printf("Angka yang anda masukan adalah TIGA");<br />
else if(a==4)<br />
printf("Angka yang anda masukan adalah EMPAT");<br />
else<br />
printf("Angka yang anda masukan SALAH");<br />
getch ();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 8<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><br />
#include <stdio.h><br />
#include <conio.h><br />
#include <stdlib.h><br />
<br />
main()<br />
{int a, b, c;<br />
<br />
printf("Masukan bilangan ke 1 : "); scanf("%d", &a);<br />
printf("Masukan bilangan ke 2 : "); scanf("%d", &b);<br />
printf("Masukan bilangan ke 3 : "); scanf("%d", &c);<br />
printf("\n \n");<br />
if(a>b&&c)<br />
printf("Bilangan terbesar : %d\n", a);<br />
else if(b>c&&a)<br />
printf("Bilangan terbesar : %d\n", b);<br />
else<br />
printf("Bilangan terbesar : %d\n", c);<br />
<br />
if(a<b&&c)<br />
printf("Bilangan terkecil : %d\n", a);<br />
else if(b<c&&a)<br />
printf("Bilangan terkecil : %d\n", b);<br />
else<br />
printf("Bilangan terkecil : %d\n", c);<br />
<br />
if(a&&b&&c<0)<br />
printf("Bilangan terbesar adalah negatif");<br />
else<br />
printf("Bilangan terbesar adalah positif");<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 9<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include "stdio.h"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include "conio.h"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">main()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> int r;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> for (r=10; r<50;r++)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if(r %2==1)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if(r %3==0)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> continue;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> printf(" %d",r);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> getch();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> return 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 10<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a, b=0;<br />
for(a=10; a<=50; a=a+2){<br />
printf("%d ", a);<br />
b++;<br />
}<br />
printf("\nJumlah bilangan ada : %d", b);<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 11<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a, b, h;<br />
printf("Masukan angka = "); scanf("%d", &a);<br />
b=1;<br />
do<br />
{h=a*b;<br />
printf("%d * %d = %d\n", b, a, h);<br />
b++;}<br />
while(b<=10);<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 12<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
main ()<br />
{int a, b;<br />
<br />
for(a=1; a<=5; a++){<br />
for(b=1; b<=5; b++){<br />
if(a==b)<br />
printf(" @ ");<br />
else if(a+b==6)<br />
printf(" @ ");<br />
else<br />
printf(" =
"); <br />
} <br />
printf("\n");<br />
}<br />
<br />
getch ();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 13<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main ()<br />
{<br />
int a,b;<br />
<br />
<br />
a=1;<br />
while(a!=0){<br />
printf("Masukan
bilangan : ");scanf("%d",&a);<br />
if(a!=0)<br />
printf("Bilangan yang di input adalah : %d \n",a) ;<br />
} <br />
<br />
<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">JAWABAN NOMOR 14 (TUNGGU, BELUM DIUPDATE)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 15<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include<stdio.h><br />
#include<conio.h><br />
<br />
main()<br />
int i,j,k,nilai[2];<br />
for(i=0; i<2; i++)<br />
{ printf("Masukan Nilai: "); scanf("%d",&nilai[i]); }<br />
for(i=0; i<2; i++)<br />
{ printf("Nilai=%d", nilai[i]);<br />
for(j=0; j<nilai[i]; j++ )<br />
( printf("*"); printf("\n";<br />
}<br />
<br />
getch();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 16<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <conio.h><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">main (){<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
char kata[80];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
int Ni, Nj, i, j;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> printf ("Ketik sebuah kata: ");<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> gets(kata);/*gets digunakan agar user
dapat memasukkan kalimat beserta spasinya*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> for(i=0; kata[i]!='\0'; i++);/*For ini
digunakan untuk menghitung jumlah karakter*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> /*Bagian pemeriksaan kata/kalimat*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> for(--i, j=0; i>=j; i--, j++)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
Ni = kata[i];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> Nj = kata[j];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if (Ni == Nj || (Ni-32)
== Nj || Ni == (Nj-32))<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
continue; /*Dengan
fungsi ini maka a = A, A = a, b = B, B = b, dst...*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> /*Kalau input tidak
memenuhi salah satu syarat di atas berarti input bukan<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
palindrome*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> printf ("Kata: %s
bukan polindrom\n", kata);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> getchar();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> return 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if (i<j)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
printf
("Kata: %s merupakan polindrom\n", kata);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> getchar();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> return 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">}<o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-53861394577926576352018-11-24T08:55:00.000+07:002018-11-24T08:55:59.828+07:00Contoh soal bahasa C++<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">ini saya coba sertakan sedikit kumpulan soal n jawaban</span></div>
<div class="MsoNormal">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">semoga bermanfaat...</span></div>
<div class="MsoNormal">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Pemrograman C / C++
(Kumpulan Latihan Soal)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"><br clear="all" />
</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><a href="http://10507276.blog.unikom.ac.id/pemrograman-c-c.1y8"><span style="color: windowtext; font-family: "times new roman" , "serif"; mso-bidi-font-weight: bold;">Latihan Soal Pemrograman C++</span></a><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1.</span><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Buatlah sebuah program untuk menghitung luas persegi panjang, nilai
panjang dan lebar dimasukan melalui keyboard sedangkan besar nilai luas muncul
secara otomatis</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">2.Buat sebuah program untuk menghitung luas lingkaran, nilai jari-jari
dimasukan dari keyboard, sedangkan nilai muncul secara otomatis</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">3.Gaji yang diterima pegawai terdiri dari gaji pokok, tunjangan dan upah
lembur,besae tunjangan 15% dari gaji pokok, besar upah lembur perjam 3% dari
gaji pokok. Buatlah program untuk menghitung gaji yang diterima pegawai.
Masukan (Input). nomor pegawai, nama,gaji pegawai,jumlah jam lembur. Keluaran
(Output): Gaji pokok,tunjangan,uang lembur,total gaji</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">4.Buatlah program untuk membantu kasir swalayan untuk memisahkan pecahan
uang kembalian menjadi 50.000, 20.000, 10.000, 5.000, 2000, 1000, 500,dan 100.</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh tampilan:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Jumlah Uang
Kembali : Rp. 88800 </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Pecahan uang
kembali:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 1
Lembar 50.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
20.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
10.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
5.000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
2000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
1000</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
500</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 Lembar
100</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 5. Mencari bilangan
terbesar dari dua buah bilangan (Minimum dan Maxsimum)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">6. Menghitung tahun kabisat, nilai tahun harus di input di keyboard</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 7. Membaca sebuah
bilangan bulat antara 1 sampai 4, lalu mencetak tulisan dari angka tersebut</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh: Jika
diinput angka 1 maka
output akan tercetak tulisan SATU</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">jika di
input selain dari 1 sampai 4 maka munculkan pesan "Anda
Salah memasukan Input Kode"</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 8. Buat program C++
untuk memeriksa 3 bilangan yang di input. output harus memunculkan bilangan
yang paling besar dan bilangan paling kecil, lalu apakah bilangan tersebut
bilanagn positif atau negatif</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">contoh
output: </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
bilangan ke-1: 20</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
bilangan ke-1: 10</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
bilangan ke-1: 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Output: </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
Terbesar adalah: 20</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
Terbesar adalah: 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 35.45pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
terbesar adalah positif</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">8. Buat program dan mencetak bilangan bulat antara 10 s/d 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">berkut
outputnya:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10 12 14 16
18 20 22 24 26 28 30 32 34 46 38 40 42 44 46 48 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">9. Buat program dan mencetak bilangan bulat antara 10 s/d 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">berkut
outputnya:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10 12 14 16
18 20 22 24 26 28 30 32 34 46 38 40 42 44 46 48 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Jumlah
Bilangan ada: 21</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10. Mencetak bilangan ganjil kelipatan tiga
diantara angka 10 s/d 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Output:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">11 13 17 19
23 25 29 31 33 35 37 41 43 49</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: -1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 11. Membuat
perkalian sesuai dengan angka yang diinputkan. hasil output akan berurut
tampilan programnya harus seperti berikut:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Angka: 7</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">1 * 7= 7</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">2 * 7= 14</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">-----------</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 1cm;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">10 * 7 = 70</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">12. Membuat tampilan / keluaran sebagai
berikut:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">@ = = = @</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">= @ = @ =</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">= = @ = =</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">= @ = @ =</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">@ = = = @</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify; text-indent: -21.25pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> 13. Memasukan bilangan yang di input, bila di input angka nol
maka proses penginputan selesai, lalu bilangan yang di input dijumlahkan dan
dicari nilai rata-rata nya. Berikut adalah tampilan yang di inginkan</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Input): </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 2</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 7</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 1</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Bilangan : 100</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">output :</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Bilangan
yang di inputkan adalah</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">2 5 7 1 100</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">14. Mencari bilangan terbesar dari lima bilangan </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 50</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 65</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 40</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 80</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Masukan
Nilai UTS : 85</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Output:</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Bilangan
Terbesar adalah : 80</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">15. Masukan 2 nilai dari keyboard, lalu dari nilai tersebut dicetak tanda
bintang (*)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh Input</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Nilai : 5</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
Nilai : 4</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Output: </span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Nilai: 5 * * * * *</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Nilai: 4 * * * *</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">16. Buat
program untuk memeriksa sebuah kata apakah Polindrom atau bukan</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Contoh</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Input) ;</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
sembarang kata: malam</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Output)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Kata malam adalah POLINDROM</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Input) ;</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Masukan
sembarang kata: makan</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Output)</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Kata
makan BUKAN POLINDROM</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Kerjakan
terlebih dahulu sendiri, soal-soal latihan diatas untuk menambah serta mengasah
kemampuan programming kalian,</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: justify; text-indent: 14.2pt;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">jika terasa suda mentok.. maka silahkan lihat kunci
jawaban nya dibawah sini !!!</span><span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<br /></div>
<div class="MsoNormal" style="line-height: 13.5pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">Pemrograman
C / C++ (Kumpulan JAWABAN Latihan Soal)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 1 & 2<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"># include <stdio.h><br />
# include <stdlib.h><br />
<br />
main()<br />
{<br />
float alas,tinggi, panjang, lebar,
jari_jari,luas;<br />
char tipe;<br />
printf("\t\tProgram menghitung luas persegi
panjang dan lingkaran\n\n");<br />
printf(" Tekan \n1 untuk luas persegi
panjang\n2 untuk luas lingkaran\n:");<br />
scanf("%c",&tipe);<br />
<br />
if (tipe=='1')<br />
{<br />
printf("Masukkan panjang:");<br />
scanf("%f",&panjang);<br />
printf("Masukkan lebar:");<br />
scanf("%f",&tinggi);<br />
luas=panjang*lebar;<br />
printf("Luas persegi panjang:%3.2f",luas);<br />
}<br />
if (tipe=='2')<br />
{<br />
printf("Masukkan jari-jari: ");<br />
scanf("%f", &jari_jari);<br />
luas=(jari_jari*jari_jari)*3.14;<br />
printf("Luas lingkaran:%3.2f",luas);<br />
}<br />
<br />
printf("\n\n");<br />
system("pause");<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 3<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"># include <stdio.h><br />
# include <stdlib.h><br />
# include <conio.h><br />
<br />
main()<br />
{<br />
char nomor[6],nama[25];<br />
float gapok,lembur,tunjangan,gatot;<br />
<br />
printf("Masukan Nomor Pegawai = "); gets(nomor);<br />
printf("Masukan Nama Pegawai = ");
gets(nama);<br />
printf("Gaji
Pokok = ");
scanf("%f",&gapok);<br />
printf("Jumlah Jam Lembur = ");
scanf("%f",&lembur);<br />
printf("Tunjangan =
"); scanf("%f",&tunjangan);<br />
<br />
lembur=(0.03*gapok);<br />
tunjangan=(0.15*gapok);<br />
gapok=(0.15*(gapok+lembur));<br />
gatot=(gapok+tunjangan+lembur);<br />
puts("\n");<br />
printf("Gaji Pokok = %2.2f \n",gapok);<br />
printf("Tunjangan = %2.2f
\n",tunjangan);<br />
printf("Upah Lembur = %2.2f \n",lembur);<br />
printf("======================= = \n");<br />
printf("TOTAL GAJI = %2.2f ",gatot); <br />
<br />
getch();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 4<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include<stdio.h><br />
#include<conio.h><br />
<br />
int main()<br />
{<br />
int n,l,nilai,total=0,max,min;<br />
printf("Program mencari nilai minimal dam maksimal diantara
inputan\n");<br />
printf("———————————————————–\n");<br />
printf("Berapa jumlah data yang ingin diinputkan :
");scanf("%d",&n);<br />
for(l=1;l<=n;l++)<br />
{<br />
printf("masukkan nilai ke-%d :",l);scanf("%d",&nilai);<br />
total=total+nilai;<br />
if(l==1)<br />
{<br />
max=nilai;min=nilai;<br />
}<br />
if(max<nilai)max=nilai;<br />
if(min>nilai)min=nilai;<br />
}<br />
<br />
printf("Nilai terbesar diantara %d inputan adalah %d\n",n,max);<br />
printf("Nilai terkecil diantara %d inputan adalah %d\n",n,min);<br />
getch();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 5<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a,b;<br />
printf("Masukan bilangan pertama : "); scanf("%d", &a);<br />
printf("Masukan bilangan kedua : ");
scanf("%d", &b);<br />
if(a>b)<br />
printf("Bilangan terbesar adalah bilangan pertama");<br />
else if(a<b)<br />
printf("Bilangan terbesar adalah bilangan kedua");<br />
else<br />
printf("Bilangan dan kedua sama besar");<br />
<br />
getch ();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 6<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a;<br />
printf("Masukan tahun : "); scanf("%d", &a);<br />
if(a % 4==0)<br />
printf("Tahun %d merupakan tahun kabisat", a);<br />
else<br />
printf("Tahun %d bukan tahun kabisat", a);<br />
<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 7<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a;<br />
printf("Masukan angka : "); scanf("%d", &a);<br />
if(a==1)<br />
printf("Angka yang anda masukan adalah SATU");<br />
else if(a==2)<br />
printf("Angka yang anda masukan adalah DUA");<br />
else if(a==3)<br />
printf("Angka yang anda masukan adalah TIGA");<br />
else if(a==4)<br />
printf("Angka yang anda masukan adalah EMPAT");<br />
else<br />
printf("Angka yang anda masukan SALAH");<br />
getch ();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 8<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"><br />
#include <stdio.h><br />
#include <conio.h><br />
#include <stdlib.h><br />
<br />
main()<br />
{int a, b, c;<br />
<br />
printf("Masukan bilangan ke 1 : "); scanf("%d", &a);<br />
printf("Masukan bilangan ke 2 : "); scanf("%d", &b);<br />
printf("Masukan bilangan ke 3 : "); scanf("%d", &c);<br />
printf("\n \n");<br />
if(a>b&&c)<br />
printf("Bilangan terbesar : %d\n", a);<br />
else if(b>c&&a)<br />
printf("Bilangan terbesar : %d\n", b);<br />
else<br />
printf("Bilangan terbesar : %d\n", c);<br />
<br />
if(a<b&&c)<br />
printf("Bilangan terkecil : %d\n", a);<br />
else if(b<c&&a)<br />
printf("Bilangan terkecil : %d\n", b);<br />
else<br />
printf("Bilangan terkecil : %d\n", c);<br />
<br />
if(a&&b&&c<0)<br />
printf("Bilangan terbesar adalah negatif");<br />
else<br />
printf("Bilangan terbesar adalah positif");<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 9<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include "stdio.h"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include "conio.h"<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">main()<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">{<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> int r;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> for (r=10; r<50;r++)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if(r %2==1)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if(r %3==0)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> continue;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> printf(" %d",r);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> getch();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> return 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 10<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a, b=0;<br />
for(a=10; a<=50; a=a+2){<br />
printf("%d ", a);<br />
b++;<br />
}<br />
printf("\nJumlah bilangan ada : %d", b);<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 11<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main()<br />
{ int a, b, h;<br />
printf("Masukan angka = "); scanf("%d", &a);<br />
b=1;<br />
do<br />
{h=a*b;<br />
printf("%d * %d = %d\n", b, a, h);<br />
b++;}<br />
while(b<=10);<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 12<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
main ()<br />
{int a, b;<br />
<br />
for(a=1; a<=5; a++){<br />
for(b=1; b<=5; b++){<br />
if(a==b)<br />
printf(" @ ");<br />
else if(a+b==6)<br />
printf(" @ ");<br />
else<br />
printf(" =
"); <br />
} <br />
printf("\n");<br />
}<br />
<br />
getch ();<br />
return 0;<br />
}<br />
<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 13<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><br />
#include <conio.h><br />
<br />
main ()<br />
{<br />
int a,b;<br />
<br />
<br />
a=1;<br />
while(a!=0){<br />
printf("Masukan
bilangan : ");scanf("%d",&a);<br />
if(a!=0)<br />
printf("Bilangan yang di input adalah : %d \n",a) ;<br />
} <br />
<br />
<br />
getch ();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">JAWABAN NOMOR 14 (TUNGGU, BELUM DIUPDATE)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 15<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include<stdio.h><br />
#include<conio.h><br />
<br />
main()<br />
int i,j,k,nilai[2];<br />
for(i=0; i<2; i++)<br />
{ printf("Masukan Nilai: "); scanf("%d",&nilai[i]); }<br />
for(i=0; i<2; i++)<br />
{ printf("Nilai=%d", nilai[i]);<br />
for(j=0; j<nilai[i]; j++ )<br />
( printf("*"); printf("\n";<br />
}<br />
<br />
getch();<br />
return 0;<br />
}<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 14.4pt; margin-bottom: 3.75pt; mso-outline-level: 3; page-break-after: avoid;">
<span style="font-family: "cambria" , "serif"; font-size: 12.0pt;">JAWABAN NOMOR 16<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <stdio.h><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">#include <conio.h><o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">main (){<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
char kata[80];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
int Ni, Nj, i, j;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> printf ("Ketik sebuah kata: ");<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> gets(kata);/*gets digunakan agar user
dapat memasukkan kalimat beserta spasinya*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> for(i=0; kata[i]!='\0'; i++);/*For ini
digunakan untuk menghitung jumlah karakter*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> /*Bagian pemeriksaan kata/kalimat*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> for(--i, j=0; i>=j; i--, j++)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> {<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
Ni = kata[i];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> Nj = kata[j];<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if (Ni == Nj || (Ni-32)
== Nj || Ni == (Nj-32))<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
continue; /*Dengan
fungsi ini maka a = A, A = a, b = B, B = b, dst...*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<br /></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> /*Kalau input tidak
memenuhi salah satu syarat di atas berarti input bukan<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
palindrome*/<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> printf ("Kata: %s
bukan polindrom\n", kata);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> getchar();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> return 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> }<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> if (i<j)<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">
printf
("Kata: %s merupakan polindrom\n", kata);<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> getchar();<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;"> return 0;<o:p></o:p></span></div>
<div class="MsoNormal" style="line-height: 12.75pt;">
<span style="font-size: 12.0pt; mso-ascii-font-family: Calibri; mso-bidi-font-family: "Times New Roman"; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: IN; mso-hansi-font-family: Calibri;">}<o:p></o:p></span></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com4tag:blogger.com,1999:blog-4413170311649660084.post-72849630629411595042018-11-24T08:52:00.000+07:002018-11-24T08:52:08.129+07:00Pemasangan GLUT pada CodeBlocks<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<header class="entry-header" style="background-color: white; box-sizing: inherit; color: #3a4145; font-family: Merriweather, serif;"><h1 class="entry-title" style="border: 0px; box-sizing: inherit; clear: both; color: #2e2e2e; font-family: "Open Sans", sans-serif; font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; font-style: inherit; letter-spacing: -2px; line-height: 1.15; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="font-size: small; font-weight: normal;">Pemasangan GLUT pada CodeBlocks</span></h1>
<h1 class="entry-title" style="border: 0px; box-sizing: inherit; clear: both; color: #2e2e2e; font-family: "Open Sans", sans-serif; font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; font-style: inherit; letter-spacing: -2px; line-height: 1.15; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-size: 21.3333px; font-style: inherit; letter-spacing: -1px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><br /></strong></h1>
<h1 class="entry-title" style="border: 0px; box-sizing: inherit; clear: both; color: #2e2e2e; font-family: "Open Sans", sans-serif; font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; font-style: inherit; letter-spacing: -2px; line-height: 1.15; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-size: 21.3333px; font-style: inherit; letter-spacing: -1px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Pengenalan GLUT</strong></h1>
</header><br />
<div class="entry-content" style="background-color: white; border: 0px; box-sizing: inherit; margin: 1.5em 0px 0px; outline: 0px; padding: 0px; vertical-align: baseline;">
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
The OpenGL Utilitas Toolkit (GLUT) adalah antarmuka pemrograman yang memakai bahasa ANSI C dan FORTRAN untuk menulis sistem program independen OpenGL berbasis window. GLUT, awalnya dibuat oleh Mark Kilgard, dan di-port ke Win32 (Windows 95,98,Me,NT,2000,XP) oleh Nate Robins. GLUT mendukung beberapa fungsi berikut :</div>
<ul style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em; outline: 0px; padding: 0px 0px 0px 1.5em; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">Multiple windows for OpenGL rendering.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">Callback driven event processing.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">Sophisticated input devices.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">An “idle” routine and timers.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">A simple, cascading pop-up menu facility.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">Utility routines to generate various solid and wire frame objects.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">Support for bitmap and stroke fonts.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">Miscellaneous window management functions, including managing overlays.</li>
</ul>
<h2 style="border: 0px; box-sizing: inherit; clear: both; color: #2e2e2e; font-family: "Open Sans", sans-serif; font-feature-settings: 'dlig' 1, 'liga' 1, 'lnum' 1, 'kern' 1; font-size: 3.6rem; font-style: inherit; letter-spacing: -1px; line-height: 1.15; margin: 0px 0px 0.3em; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; font-family: inherit; font-size: 16pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-size: 21.3333px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Pemasangan GLUT pada Code::Blocks</strong></span></h2>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Unduh Code::Blocks dari situs resminya : <a href="http://www.codeblocks.org/downloads" style="border: 0px; box-sizing: inherit; color: #4a4a4a; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; transition: all 0.2s ease 0s; vertical-align: baseline;">http://www.codeblocks.org/downloads</a> (bila belum memiliki Code::Blocks)</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Unduh GLUT bin file (glut-3.7.6<span class="skimlinks-unlinked" style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">-bin.zip</span>) dari : <a href="http://www.xmission.com/~nate/glut.html" style="border: 0px; box-sizing: inherit; color: #4a4a4a; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; transition: all 0.2s ease 0s; vertical-align: baseline;">http://www.xmission.com/~nate/glut.html</a></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Setelah mendownload GLUT bin file, ekstrak file zip nya dan lakukan hal berikut :</div>
<ul style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1.75em; outline: 0px; padding: 0px 0px 0px 1.5em; text-align: justify; vertical-align: baseline;">
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Copy <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">glut32.dll</strong> ke <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">c:\windows\system</strong>,</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Copy <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">glut32.lib</strong> ke <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">c:\program files\mingw\lib</strong>, dan</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Copy <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">glut.h </strong>ke <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">c:\program files\mingw\include\GL</strong>.</li>
<li style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Di atas adalah lokasi default, lokasi anda mungkin berbeda. Tapi pada dasarnya, anda meletakan .lib dan .h diletakkan di lokasi dari compiler anda (dalam kasus ini, MinGW). File .dll diletakkan di direktori system windows.</li>
</ul>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Sekarang anda siap untuk membuka Code::Blocks dan membuat project baru.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
<span id="more-819" style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Buka Code::Blocks. Buat project baru dengan klik <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">File</strong> -><strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> New</strong> -><strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> Project…</strong>.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang1.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 1 New Projects</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; vertical-align: baseline;">
Pilih <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">GLUT project</strong> dan klik <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Go.</strong></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang2.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 2 Make New GLUT Projects</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Tekan tombol <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Next</strong> pada jendela ini.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang3.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 3 New GLUT Project Wizard (I)</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Berikan <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Project Title</strong>, dan<strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"> Location</strong> dimana project akan disimpan.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang4.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 4 New Glut Project Wizard (II)</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Selanjutnya pilih lokasi dimana file-file GLUT (glut32.lib dan glut.h) disimpan, lalu klik <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Next.</strong></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang5.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 5 New GLUT Project Wizard (III)</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Untuk jendela proses terakhir ini, tak perlu diubah dan biarkan seperti default. Klik <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Finish</strong>.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang6.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 6 Compiler Setting, Leave This Unchanged</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Pada Management Windows (<strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Shift + F2</strong> untuk bisa menampilkan), buka file contoh (<span class="skimlinks-unlinked" style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">main.cpp</span>) dengan mengklik dua kali pada file tersebut.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang7.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 7 Tampilan Code::Blocks GLUT Projects</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; vertical-align: baseline;">
Untuk membuat program anda bekerja, tambahkan <span style="border: 0px; box-sizing: inherit; font-family: "courier new"; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">#include <windows.h></strong></span>pada baris 14.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang8.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 8 Header <span class="skimlinks-unlinked" style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">main.cpp</span> GLUT Projects</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; vertical-align: baseline;">
Anda harus melakukan perubahan kecil pada <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Build Options</strong>. Klik menu <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Projects</strong> -> <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Build Options</strong>.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang9.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 9 Build Options</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; vertical-align: baseline;">
Pilih tab <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Linker Settings</strong> lalu klik tombol <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Add</strong>.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang10.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 10 Linker Settings</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Klik tombol <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">… </strong>untuk memilih library (<strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">glut32.lib</strong>) yang akan ditambahkan. Anda membutuhkan library <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">glut32.lib</strong>. Lokasikan ke tempat anda menyimpan <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">glut32.lib</strong> sebelumnya.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang11.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 11 Adding New Library</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Setelah menambahkan library akan muncul jendela <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Question</strong> yang isinya “Keep this as a relative path?”. Pilih <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">No</strong>.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang12.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /><span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><br style="box-sizing: inherit;" /></em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 12 Don’t keep as a relative path</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; vertical-align: baseline;">
Sekarang klik <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">OK</strong>.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang13.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 13 Add glut32.lib Library</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; vertical-align: baseline;">
Klik OK untuk menutup jendela <strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Build Options</strong>.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang14.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 14 Adding glut32.lib Library Complete, Press OK</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; font-family: inherit; font-size: 16pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Sekarang, tekan F9 untuk Build & Run project anda.</span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<img alt="" src="https://ariefrahmansyah.files.wordpress.com/2013/06/061613_1224_pemasangang15.png?w=702" style="box-sizing: inherit; height: auto; max-width: 100%;" /></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;">
<span style="border: 0px; box-sizing: inherit; color: #44546a; font-family: inherit; font-size: 9pt; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Figure 15 Congratulations, GLUT Works for You!</em></span></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
Bila anda mendapatkan pesan error, periksa lagi langkah-langkah di atas dan pastikan anda telah menambahkan <span style="border: 0px; box-sizing: inherit; font-family: "courier new"; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><strong style="border: 0px; box-sizing: inherit; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">#include <windows.h> </strong></span>pada baris 14 dan mengatur project untuk menggunakan library glut32.lib.</div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
<em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">Sumber : </em></div>
<div style="border: 0px; box-sizing: inherit; color: #3a4145; font-family: inherit; font-size: 18px; font-style: inherit; font-weight: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
<em style="border: 0px; box-sizing: inherit; font-family: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;"><a href="http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/glut/" style="border: 0px; box-sizing: inherit; color: #4a4a4a; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; transition: all 0.2s ease 0s; vertical-align: baseline;">http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/glut/</a></em></div>
<div style="border: 0px; box-sizing: inherit; margin-bottom: 1.75em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;">
<span style="color: #3a4145; font-family: "merriweather" , serif;"><span style="font-size: 18px;">https://ariefrahmansyah.wordpress.com/2013/06/16/pemasangan-glut-pada-codeblocks/</span></span></div>
</div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-73574449618563574932018-11-07T10:48:00.000+07:002018-11-24T08:45:05.810+07:00Pengurutan dengan Bubble Sort di Java<div dir="ltr" style="text-align: left;" trbidi="on">
seperti yang sudah kita ketahui bahwa pengurutan dengan menggunakan metode bubble sort adalah pengurutan dengan mengguna metode seperti gelembung sabun sebagaimana didunia nyata. Karena berat jenis gelembung sabun lebih ringan dari pada berat jenis air maka gelembung sabun tersebut akan terapung keatas dan benda-benda yang beratakan terbenam. sebagai contoh:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwP9dOlAXnT7bnNHlKNbBNAtKOMccQ22OHV_VluZEMSuY0DRQgmMwsBwdGxDFNIATfFxbpZytK7gwilvaQOY5XFX7Pbnmjfnl1J46TjsYAG2hnb1jKLODHm33WxQzviSe2bozyavbt75M/s1600/bubble0.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="106" data-original-width="606" height="68" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwP9dOlAXnT7bnNHlKNbBNAtKOMccQ22OHV_VluZEMSuY0DRQgmMwsBwdGxDFNIATfFxbpZytK7gwilvaQOY5XFX7Pbnmjfnl1J46TjsYAG2hnb1jKLODHm33WxQzviSe2bozyavbt75M/s400/bubble0.PNG" width="400" /></a></div>
jika digambarkan akan seperti berikut<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0m27EgSLfNfyfZBAJDn09UmQacnOpW4lUIb068NjaHzi9lLmiEQ7FKO1_K-Gq_yMnqQ1ZpQqVUSoIb6RryRqaiOTrcG4FJghUtqzlT3nHJzxFLNhPUJkGKMxlzf7Qm2rpipDQNzKD4s/s1600/bubble2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="445" data-original-width="548" height="325" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD0m27EgSLfNfyfZBAJDn09UmQacnOpW4lUIb068NjaHzi9lLmiEQ7FKO1_K-Gq_yMnqQ1ZpQqVUSoIb6RryRqaiOTrcG4FJghUtqzlT3nHJzxFLNhPUJkGKMxlzf7Qm2rpipDQNzKD4s/s400/bubble2.PNG" width="400" /></a></div>
<br />
jika langkah tersebut dijabarkan dengan pseudocode maka akan didapatkan bentuk<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAdikKLWItqseEWF_dsaRtqs597cooBCcOMxr0zIUrMUouprv74FhNVuHOz9xl1Q-9DwXwxm5ZhJWOpQHv_XmR7Y1nQX6XxZkFFrcX0m_tHyXRQA_MGxMgsnpf1AmsGtF88uCAuSN7XmM/s1600/bubble3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="413" data-original-width="498" height="331" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAdikKLWItqseEWF_dsaRtqs597cooBCcOMxr0zIUrMUouprv74FhNVuHOz9xl1Q-9DwXwxm5ZhJWOpQHv_XmR7Y1nQX6XxZkFFrcX0m_tHyXRQA_MGxMgsnpf1AmsGtF88uCAuSN7XmM/s400/bubble3.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
jika pseudocode tersebut diimplementasikan dalam bentuk code program dalam bahasa pemrograman java dapat dituliskan dengan sintak sebagai berikut</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both;">
package pengurutanbubblesort;</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
import java.util.Scanner;</div>
<div class="separator" style="clear: both;">
public class PengurutanbubbleSort {</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
public static void main(String[] args) {</div>
<div class="separator" style="clear: both;">
// TODO code application logic here</div>
<div class="separator" style="clear: both;">
int Nmaks=100;</div>
<div class="separator" style="clear: both;">
// int larik[100];</div>
<div class="separator" style="clear: both;">
int jumdata,j,temp;</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
Scanner scan=new Scanner(System.in);</div>
<div class="separator" style="clear: both;">
System.out.print("Masukkan jumlah data: ");</div>
<div class="separator" style="clear: both;">
jumdata=scan.nextInt();</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
int arrayNilai[]= new int[jumdata];</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
for (int i = 0; i < jumdata; i++) {</div>
<div class="separator" style="clear: both;">
System.out.print("Masukkan data ke-"+i+" : ");</div>
<div class="separator" style="clear: both;">
arrayNilai[i]=scan.nextInt();</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
System.out.println("\nDATA SEBELUM DIURUTKAN :");</div>
<div class="separator" style="clear: both;">
for (int i=0; i<jumdata; i++) {</div>
<div class="separator" style="clear: both;">
System.out.print(arrayNilai[i]+", ");</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
for(int a=0;a<arrayNilai.length;a++){</div>
<div class="separator" style="clear: both;">
for(int b=0;b<arrayNilai.length-1;b++){</div>
<div class="separator" style="clear: both;">
if(arrayNilai[b]>arrayNilai[b+1]){</div>
<div class="separator" style="clear: both;">
temp = arrayNilai[b];</div>
<div class="separator" style="clear: both;">
arrayNilai[b]=arrayNilai[b+1];</div>
<div class="separator" style="clear: both;">
arrayNilai[b+1]=temp;</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both;">
System.out.println("\n");</div>
<div class="separator" style="clear: both;">
System.out.println("DATA SETELAH DIURUTKAN :");</div>
<div class="separator" style="clear: both;">
for(int c=0; c<jumdata;c++)</div>
<div class="separator" style="clear: both;">
{</div>
<div class="separator" style="clear: both;">
System.out.print(arrayNilai[c]+", ");</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both;">
</div>
<div class="separator" style="clear: both;">
}</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Jika sintak tersebut dijalankan pertama kali akan muncul tampilan untuk memasukkan jumlah data atau banyak data yang akan di masukkan</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvMvhsQBN78VY4fIR8OopOQ6Pev8lrxpGSG-LKbzcaHxmDlxqYzQAvdOhD02tCcGBxDYXax7B9pMAa2UWQwUXeSEwYW3HaQ-b2SuK5aSIo5dzrnKvTlVdSwDH0VxaEnCnB-HlkKbSetaE/s1600/bubble4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="136" data-original-width="308" height="177" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvMvhsQBN78VY4fIR8OopOQ6Pev8lrxpGSG-LKbzcaHxmDlxqYzQAvdOhD02tCcGBxDYXax7B9pMAa2UWQwUXeSEwYW3HaQ-b2SuK5aSIo5dzrnKvTlVdSwDH0VxaEnCnB-HlkKbSetaE/s400/bubble4.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
kemudian jika kita masukkan angka 6, maka kita akan diarahkan untuk memasukkan data sebanyak enam kali seperti data diatas</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0pUCqhndQId2HzzrQeF2C9q6a4vuqXlrRtLYISeawdGSSARjljCD64mBdBExctWD5aq8dcLCw5bSnluVLA60Rzen7R2cg3Cti3ZjZ22gfFvqJrz2FihQnJ9rdGuZRUePQdwpTOm0MAHQ/s1600/bubble5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="105" data-original-width="302" height="139" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0pUCqhndQId2HzzrQeF2C9q6a4vuqXlrRtLYISeawdGSSARjljCD64mBdBExctWD5aq8dcLCw5bSnluVLA60Rzen7R2cg3Cti3ZjZ22gfFvqJrz2FihQnJ9rdGuZRUePQdwpTOm0MAHQ/s400/bubble5.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
dan akan menghasilkan keluaran data yang sudah terurut seperti data berikut</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBPK4b0N9iyBJ_iaS_B1PfzJN1m57Z1g17oQe-7sttuT_d2hNJBXLkKZeyFcQ1NV4-sAemPRLd1KQbFdA8NEo1Wqj9ilmIRZwxW19o1JWCZZ7q-6Cz-A0EUlqLnMFtyYhm3C6Ouyz7XRw/s1600/bubble6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="89" data-original-width="560" height="99" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBPK4b0N9iyBJ_iaS_B1PfzJN1m57Z1g17oQe-7sttuT_d2hNJBXLkKZeyFcQ1NV4-sAemPRLd1KQbFdA8NEo1Wqj9ilmIRZwxW19o1JWCZZ7q-6Cz-A0EUlqLnMFtyYhm3C6Ouyz7XRw/s640/bubble6.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
teriakhir. ucapan trims sudah mampir ke blog saya. wasalam.</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-77667348059936179192018-11-07T09:49:00.000+07:002018-11-24T08:47:21.206+07:00Menampilkan bentuk Kubus dari gabungan dua buah segitiga siku siku dengan Java<div dir="ltr" style="text-align: left;" trbidi="on">
dengan memanfaatkan perulangan nested For ternyata kita dapat membuat bentuk seperti berikut<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8xFrZQqdEGqBEj-xebe1Wg-ehvVDZx37pu_zUetgEIGi4B_ISKrmp3hO4NC6Kdve6LHgjT-G8tZEKWZ-lqII0SrkWrjoYtWu8M-GJJRBOad9nxBWaXmkkZE_1XFBFIeNXAuTLwKLwNU0/s1600/kubus.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="209" data-original-width="348" height="191" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8xFrZQqdEGqBEj-xebe1Wg-ehvVDZx37pu_zUetgEIGi4B_ISKrmp3hO4NC6Kdve6LHgjT-G8tZEKWZ-lqII0SrkWrjoYtWu8M-GJJRBOad9nxBWaXmkkZE_1XFBFIeNXAuTLwKLwNU0/s320/kubus.PNG" width="320" /></a></div>
<br />
<br />
dengan panjang sisi adalah masukan dari user, semisal seperti contoh diatas dimasukkan panjang sisinya adalah 8, dengan memanfaatkan sintak nested for dapat ditulis sebagai berikut<br />
<br />
package segitiganolsatu;<br />
import java.util.Scanner;<br />
<br />
public class SegitigaNolSatu {<br />
<br />
public static void main(String[] args) {<br />
<br />
int sisi;<br />
Scanner scan=new Scanner(System.in);<br />
<br />
System.out.print("Masukkan sisi kubus yang diinginkan :");<br />
sisi=scan.nextInt();<br />
<br />
for (int i = 1; i < sisi; i++) {<br />
for (int j = 1; j < sisi; j++) {<br />
if(i<j){<br />
System.out.print("0 ");<br />
}else{<br />
System.out.print("1 ");<br />
}<br />
}<br />
System.out.println(" ");<br />
}<br />
}<br />
<br />
}<br />
<div>
<br /></div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-10158857477468325492018-11-07T09:18:00.001+07:002018-11-24T08:48:25.802+07:00Menampilkan Segitiga Siku-siku dengan Perulangan di Java<div dir="ltr" style="text-align: left;" trbidi="on">
Jika anda menginginkan tampilan keluaran seperti berikut dengan memanfaatkan perulangan For di pemrograman Java, kita asumsikan bahwa tinggi segitiga adalah inputan dari user, semisal user menginginkan tinggi segitiga nya adalah delapan, seperti pada tampilan berikut<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbmOAX8y5Cnft5-BBT9u4a_hvhotIXt-cAL3rs6v4vWoCDxZB-P_f7noW3-xVhuKM-5dQxVPT4dqPa-vCaQ_oLL0OHoDXx_Bv0XPQ0jLpKgWeZHYcqTsLFvD_9zpwh2ggARfHERsQosrI/s1600/segitigaNol.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="225" data-original-width="579" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbmOAX8y5Cnft5-BBT9u4a_hvhotIXt-cAL3rs6v4vWoCDxZB-P_f7noW3-xVhuKM-5dQxVPT4dqPa-vCaQ_oLL0OHoDXx_Bv0XPQ0jLpKgWeZHYcqTsLFvD_9zpwh2ggARfHERsQosrI/s640/segitigaNol.PNG" width="640" /></a></div>
<br />
dengan memanfaatkan sintak perulangan nested For dapat dijabarkan sebagai berikut:<br />
<br />
<br />
package segitigaenol;<br />
import java.util.Scanner;<br />
<br />
public class SegitigaEnol {<br />
public static void main(String[] args) {<br />
int tinggi;<br />
Scanner scan=new Scanner(System.in);<br />
<br />
System.out.print("Masukkan tinggi setigita: ");<br />
tinggi = scan.nextInt();<br />
<br />
for (int i = 1; i <= tinggi; i++) {<br />
for (int j = 1; j <= i; j++) {<br />
System.out.print("0 ");<br />
}<br />
System.out.println(" ");<br />
}<br />
}<br />
<br />
}</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com1tag:blogger.com,1999:blog-4413170311649660084.post-31801154782121892302018-11-07T09:00:00.001+07:002018-11-24T08:48:40.408+07:00Pencarian data dengan metode Squensial Search di Java<div dir="ltr" style="text-align: left;" trbidi="on">
Squensial Search adalah proses pencarian data secara berurutan dari baris perbaris. mulai dari baris pertama sampai dengan baris data yang dicari. berikut sintak penulisan data dengan menggunakan metode Squensial Search dengan menggunakan bahasa Java. tetapi data bukan berasal dari masukan user.<br />
<br />
<br />
package pencariansquensial;<br />
import java.util.Scanner;<br />
public class PencarianSquensial {<br />
<br />
public static void main(String[] args) {<br />
<br />
Scanner scan=new Scanner(System.in);<br />
int cari=0,i,indeks=0;<br />
boolean ditemukan = false;<br />
<br />
int data[]={3,5,7,9,2,1};<br />
<br />
System.out.print("Masukkan data yang dicari: ");<br />
cari=scan.nextInt();<br />
<br />
for(i=0;i<data.length;i++){<br />
if(data[i]==cari){<br />
indeks=i;<br />
ditemukan=true;<br />
break;<br />
}<br />
}<br />
if(ditemukan){<br />
System.out.println("data: "+cari+" ditemukan pada index ke-"+indeks+".");<br />
}else{<br />
System.out.println("Data tidak ditemukan.");<br />
}<br />
}<br />
}<br />
<br />
bila dijalankan akan menghasilkan keluaran seperti berikut:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzDx9CcLJqiBh03qRhQ4aLAda2Me5BggNH4LGiS7PFoM3FxtTiGvJEDrnZxa_4naOVAaLYm4GkcH5nLTAmPwWf7XP3y13-uyWj6OGcPTboKFg4x-8ZbYFyB4ADrqEl54Ii2ERyLizHW30/s1600/squensial.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="159" data-original-width="359" height="141" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzDx9CcLJqiBh03qRhQ4aLAda2Me5BggNH4LGiS7PFoM3FxtTiGvJEDrnZxa_4naOVAaLYm4GkcH5nLTAmPwWf7XP3y13-uyWj6OGcPTboKFg4x-8ZbYFyB4ADrqEl54Ii2ERyLizHW30/s320/squensial.PNG" width="320" /></a></div>
<br />
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-49861227344101503622018-11-06T12:43:00.001+07:002018-11-24T08:48:59.038+07:00Menampilkan jumlah deret bilangan di Java<div dir="ltr" style="text-align: left;" trbidi="on">
Bagaimana cara menampilkan deret bilangan sebagai berikut<br />
1, 2, 3, 5, 8, 13 ... dst<br />
dengan, menggunakan bahasa Java.<br />
ada yang bisa?<br />
eh...ternyata cara nya cukup mudah jika anda sudah tahu alur logikanya, tetapi bagi yang awam Insya Alloh akan bikin puyeng juga. bagaimana dengan kamu?<br />
<br />
berikut sintak programnya dalam Java<br />
<br />
package deretbilangan;<br />
<br />
import java.util.Scanner;<br />
<br />
/**<br />
*<br />
* @author User<br />
*/<br />
public class DeretBilangan {<br />
<br />
/**<br />
* @param args the command line arguments<br />
*/<br />
public static void main(String[] args) {<br />
// TODO code application logic here<br />
Scanner input = new Scanner(System.in);<br />
int angka1=0,angka2=1,deret,hasil;<br />
<br />
<br />
System.out.println("Masukkan bilangan: ");<br />
deret = input.nextInt();<br />
<br />
if (deret>2){<br />
for(int i=0;i<deret;i++){<br />
hasil=angka1+angka2;<br />
angka1=angka2;<br />
angka2=hasil;<br />
System.out.print(hasil);<br />
System.out.print(" , ");<br />
}<br />
}else{<br />
System.out.println("Deret kurang dari 2");<br />
}<br />
}<br />
<br />
}<br />
<br />
berikut tampilannya:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLxCUr19cJdiIPpOp7WyPsLs-MR5SEIbr_gZo3ZwL6g2dNLtdXEk3vje60oFaErEQScKFtcqPWERA4sm29grhAQm9kstpRlGkLLc93n15OqRTfleIObR28a3qxP0MyFVvyi5V0aeGStYo/s1600/deret1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="124" data-original-width="663" height="71" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLxCUr19cJdiIPpOp7WyPsLs-MR5SEIbr_gZo3ZwL6g2dNLtdXEk3vje60oFaErEQScKFtcqPWERA4sm29grhAQm9kstpRlGkLLc93n15OqRTfleIObR28a3qxP0MyFVvyi5V0aeGStYo/s400/deret1.PNG" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
akan tampil seperti diatas jika anda memasukkan angka 8 sebagai masukkannya.</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-86467559628788645292018-11-06T12:36:00.002+07:002018-11-24T08:49:11.598+07:00Cetak Bilangan Prima di Java Cara Kedua<div dir="ltr" style="text-align: left;" trbidi="on">
Seperti pada cara yang pertama, cara yang kedua ini agak lumayan rumit, tetapi dari sisi pengeksekusian program lebih cepat. berikut sintak program nya dalam bahasa pemrograman java.<br />
<br />
package cekbilanganprimaok;<br />
<br />
import java.util.Scanner;<br />
<br />
public class CekBilanganPrimaOk {<br />
<br />
public static void main(String[] args) {<br />
// TODO code application logic here<br />
int i,angka;<br />
boolean cek;<br />
Scanner InputUser = new Scanner(System.in);<br />
<br />
System.out.println("Masukkan Angka :");<br />
angka = InputUser.nextInt();<br />
<br />
if(angka<2)<br />
{<br />
System.out.println("Bukan Prima");<br />
}else if (angka==2){<br />
System.out.println("Prima");<br />
}else{<br />
i=3;<br />
cek=true;<br />
while (cek){<br />
if(angka%i==0){<br />
cek=false;<br />
}else{<br />
i++;<br />
}<br />
}<br />
if(i==angka){<br />
System.out.println("prima");<br />
}else{<br />
System.out.println("bukan prima");<br />
}<br />
<br />
}<br />
<br />
}<br />
<br />
}<br />
<br />
jika sintak tersebut dieksekusi maka akan menghasilkan keluaran sebagai berikut<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuaj87ci5kyTDb-CbXf3RaEH1PmUhDJjlW7RiXMcyAN0nEMAOYCkd0zRvyDER4kq4SpHsVR_PvLMIjmOtH7HCyBtVEdvk2h6n8kJS6Xbdq4S-xX63alTgr2lW8KQNyf8u3M3zJTxwnpt0/s1600/prima2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="141" data-original-width="412" height="105" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuaj87ci5kyTDb-CbXf3RaEH1PmUhDJjlW7RiXMcyAN0nEMAOYCkd0zRvyDER4kq4SpHsVR_PvLMIjmOtH7HCyBtVEdvk2h6n8kJS6Xbdq4S-xX63alTgr2lW8KQNyf8u3M3zJTxwnpt0/s320/prima2.PNG" width="320" /></a></div>
<br />
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-46774324767835134142018-11-06T10:40:00.001+07:002018-11-24T08:49:25.766+07:00Cek Bilangan Prima di Java Cara Pertama<div dir="ltr" style="text-align: left;" trbidi="on">
package cekbilanganprima;<br />
<br />
import java.io.*;<br />
import java.util.Scanner;<br />
<br />
public class CekBilanganPrima {<br />
<br />
public static void main(String[] args) {<br />
// TODO code application logic here<br />
int angka, mark = 0;<br />
Scanner input = new Scanner(System.in);<br />
System.out.println("Masukkan angka :");<br />
angka = input.nextInt();<br />
<br />
for (int i = angka; i >= 1; i--) {<br />
if (angka % i == 0) {<br />
mark++;<br />
}<br />
}<br />
if (mark == 2) {<br />
System.out.println("Bilangan Prima");<br />
} else {<br />
System.out.println("Bukan Bilangan Prima");<br />
}<br />
<br />
}<br />
<br />
}<br />
<br />
hika bilangan yang dimasukkan angka = 9<br />
<br />
maka hasil outputnya adalah sbb:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDpm42d6IglHxUVw585svPeTziKXGzQ_mWlpQ8YLvXGGsg1LCT8HQwoZuy7ghNi_vj-nQ70j0iEMF7Nyq9Ia2Go0gRSFlbQoxPTSbmoLDLFNaSm5LwPObSThCUnn0LNEjuYvAvXbNdA7Q/s1600/prima1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="122" data-original-width="366" height="106" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDpm42d6IglHxUVw585svPeTziKXGzQ_mWlpQ8YLvXGGsg1LCT8HQwoZuy7ghNi_vj-nQ70j0iEMF7Nyq9Ia2Go0gRSFlbQoxPTSbmoLDLFNaSm5LwPObSThCUnn0LNEjuYvAvXbNdA7Q/s320/prima1.PNG" width="320" /></a></div>
terbukti karena seperti teori yang sudah dijelaskan bahwa bilangan prima adalah <span style="background-color: white; color: #545454; font-family: "arial" , sans-serif; font-size: x-small;">bilangan asli yang lebih besar dari angka 1, yang faktor pembaginya adalah 1 dan bilangan itu sendiri.</span></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-48030136471621201702018-10-23T21:49:00.000+07:002018-11-24T08:49:45.280+07:00SOAL LATIHAN BASIS DATA<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<b style="mso-bidi-font-weight: normal;">SOAL UTS PILIHAN GANDA<o:p></o:p></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Pilihlah
jawaban yang benar dengan cara menuliskan abjad nya saja (a sd e) !.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
1. Sebuah
sub program(subrutin) didalam bahasa pemrograman regular yang tersimpan didalam
katalog basis data, disebut dengan ...<br />
a. View<br />
b. Stored Procedure<br />
c. Trigger<br />
d. Function<br />
e. Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
2. Parameter
yang merupakan mode default ini mengidentifikasikan bahwa sebuah parameter
dapat di-<i style="mso-bidi-font-style: normal;">pass</i> <span style="mso-spacerun: yes;"> </span>ke stored procedure tetapi nilainya tidak
dapat diubah dari dalam stored procedure, mode parameter tersebut adalah ...<br />
a. IN<br />
b. OUT<br />
c. INOUT<br />
d. ALL<br />
e. NEW<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
3. Parameter
yang mengidentifikasikan bahwa stored procedure dapat mengubah parameter dan
mengirimkan kembali ke program pemanggil, mode parameter tersebut adalah ...<br />
a. IN<br />
b. OUT<br />
c. INOUT<br />
d. ALL<br />
e. NEW<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
4. Perhatikan
sintak stored procedure dibawah ini ...<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg4ZSI2WQhQCPk3zoGK2Bbn_64xHZ2TqY2DtEwR8-HRNP6IYK7iprod6ErUw8dc2ZTmrK9MNS1IFf95EkcFOMimzv-d1YsHBRUzxSHvdLsssu-J3efVZTqjs4Syh8PfJE6WGJPKhx4cTk/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="192" data-original-width="338" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg4ZSI2WQhQCPk3zoGK2Bbn_64xHZ2TqY2DtEwR8-HRNP6IYK7iprod6ErUw8dc2ZTmrK9MNS1IFf95EkcFOMimzv-d1YsHBRUzxSHvdLsssu-J3efVZTqjs4Syh8PfJE6WGJPKhx4cTk/s320/4.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Pada sintak
Stored Procedure diatas, yang ditunjukkan oleh nomor 1 adalah ...<br />
a. Pemberian alias default tanda “;” dirubah menjadi tanda “//”<br />
b. Mengganti sementara fungsi default tanda “;” dirubah menjadi tanda “//”<br />
c. Mengganti sementara fungsi default tanda “;” sebagai akhir dari sintak SQL,
dirubah sementara menjadi tanda “//” <br />
d. Store Procedure tidak akan berhenti sampai menemui tanda “//”<br />
e. Komentar dalam Stored Procedure diawali dengan tanda “//”<br />
<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
5. Perhatikan
sintak stored procedure dibawah ini ...<o:p></o:p></div>
<br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj76y-BdCdM3KnvvtA83AKt8drVZxr1zDHJSvTDX7jVfdqTT3dlDTenNYgIn6PSEMHROPWfZtAdCpKmueA7X-TwUUUAU_LNPxmfDWOcbAGBQ5c0a4rsbS2JyLwfHHCU01EVhFs4qwIAYxk/s1600/4.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="192" data-original-width="338" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj76y-BdCdM3KnvvtA83AKt8drVZxr1zDHJSvTDX7jVfdqTT3dlDTenNYgIn6PSEMHROPWfZtAdCpKmueA7X-TwUUUAU_LNPxmfDWOcbAGBQ5c0a4rsbS2JyLwfHHCU01EVhFs4qwIAYxk/s320/4.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
Pada sintak
Stored Procedure diatas, yang ditunjukkan oleh nomor 3 adalah ...<br />
a. Pemberian komentar yang hanya ada dalam sintak stored procedure<br />
b. Pemberian komentar, untuk memberikan kemudahan bagi pengguna sintak SQL<br />
c. Menggantikan fungsi default akhir sintak SQL dengan tanda “/*” dan <span style="mso-spacerun: yes;"> </span>“*/”<o:p></o:p><br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Memberikan
tanda awal “/*” dan tanda akhir “*/“ dari sintak Stored Procedure<br />
e. Keyword komentar dalam stored procedure<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
6. Perhatikan
sintak stored procedure dibawah ini ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_12" o:spid="_x0000_i1032" type="#_x0000_t75" style='width:183.75pt;
height:104.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-yl81KMm5qUVR3PAgeOICULT-0fh0wu-XGFEoWCL6FB2NEF0Jb8A9NKuwMSVCLclnwUuKaAcxFqrJMkYlU6bphABM7adV1aIgttMQlDHIMiN41hcIwIJWLE5_7bpGFW-OWLSYBtaxCNU/s1600/4.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="192" data-original-width="338" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-yl81KMm5qUVR3PAgeOICULT-0fh0wu-XGFEoWCL6FB2NEF0Jb8A9NKuwMSVCLclnwUuKaAcxFqrJMkYlU6bphABM7adV1aIgttMQlDHIMiN41hcIwIJWLE5_7bpGFW-OWLSYBtaxCNU/s320/4.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Sintak
Stored Procedure diatas, berfungsi untuk ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Membuat
sebuah stored procedure dengan nama getMahasiswa<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Memberikan
komentar untuk menampilkan seluruh data pada tabel mahasiswa<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Mengantikan
sintak SELECT biasa pada SQL menjadi sebuah Stored Procedure<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Menampilkan
seluruh data pada tabel mahasiswa<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Menampilkan
data pada database mahasiswa<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
7. Perhatikan
sintak stored procedure dibawah ini ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_1" o:spid="_x0000_i1031" type="#_x0000_t75" style='width:258.75pt;
height:116.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUmdlLLGIe6pwivESesocczolB2KQqlkG7aMnkfZ8oYpm9l6t5zhG8CRw65aWKwHBFuFDfPOAJRu9yK5oqukoqigQHgg6AYUmYiHr0NDLT5EZwJGFQ0fGEQHBr0T2sDOPKFNmOLYW6HKo/s1600/7.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="228" data-original-width="509" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUmdlLLGIe6pwivESesocczolB2KQqlkG7aMnkfZ8oYpm9l6t5zhG8CRw65aWKwHBFuFDfPOAJRu9yK5oqukoqigQHgg6AYUmYiHr0NDLT5EZwJGFQ0fGEQHBr0T2sDOPKFNmOLYW6HKo/s320/7.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Sintak
Stored Procedure diatas, berfungsi untuk ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Menampilkan
semua data pada tabel matakuliah<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Menampilkan
semua data pada tabel matakuliah berdasarkan semester dan sks yang diinginkan<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Menampilkan
semua data pada tabel matakuliah yang semesternya = 2 dan sks = 2<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Menampilkan
semua data pada tabel matakuliah yang semesternya = smt dan sks = s<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Menampilkan
semua data pada tabel matakuliah yang semesternya sama dengan parameter “smt“
dan sks sama dengan parameter “s” pada stored procedure tersebut<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
8. Perhatikan
sintak stored procedure dibawah ini ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_13" o:spid="_x0000_i1030" type="#_x0000_t75" style='width:258.75pt;
height:116.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-J1an-FliAFEek1oHSIbhWu7tp8o0v9X3BErUonTOk_pv6Hk3wwL6wFLOot-HB0PXdUoylTMUBzuZuMAEFBnGtfpZ52fNMHSdWbzh7fTcc6OZCWO879PCrIqanHJ3oA8CMobtLdfYdEM/s1600/7.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="228" data-original-width="509" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-J1an-FliAFEek1oHSIbhWu7tp8o0v9X3BErUonTOk_pv6Hk3wwL6wFLOot-HB0PXdUoylTMUBzuZuMAEFBnGtfpZ52fNMHSdWbzh7fTcc6OZCWO879PCrIqanHJ3oA8CMobtLdfYdEM/s320/7.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Cara yang
benar untuk mengeksekusi Stored Procedure diatas adalah ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. CALL
getMhsBySks(3, 2);<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. SELECT *
FROM getMhsBySks(3, 2);<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 7.1pt; margin-right: 0cm; margin-top: 0cm; text-indent: -7.1pt;">
c. SELECT semester,
sks FROM getMhsBySks(3, 2);<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. SELECT
semester, sks FROM getMhsBySks WHERE semester=smt AND sks=s;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 14.2pt; margin-right: 0cm; margin-top: 0cm; text-indent: -14.2pt;">
e. CALL
getMhsBySks(3, 2) FROM matakuliah;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
9. Pada
sintak MySQL, untuk mendeklarasikan sebuah variabel global dengan nama “nilai”,
yang benar dengan cara ... <i style="mso-bidi-font-style: normal;"><u><o:p></o:p></u></i></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. SET
@nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. SELECT
@nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. CALL
@nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. SELECT
@nilai;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. SELECT *
FROM @nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
10. Pada
sintak MySQL, untuk memanggil sebuah variabel global dengan nama “nilai”, yang
benar dengan cara ... <i style="mso-bidi-font-style: normal;"><u><o:p></o:p></u></i></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. SET
@nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. SELECT
@nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. CALL
@nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. SELECT
@nilai;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. SELECT *
FROM @nilai = 80;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
11. Perhatikan
sintak stored procedure dibawah ini ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_14" o:spid="_x0000_i1029" type="#_x0000_t75" style='width:246pt;
height:182.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image006.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQY3CjxM3M9vuwSHFBUVCVq_Iv1yEM_AUSR5QollNoC4VXBcH4J7EeQ44x3NZnw9Nv1qc9Ni2CnwILVCYGHwMjrzSetgCfgnCk1EKbjXxMTbLLnIkxRH4pEqvx2AChDgokFLOwO-z-wK4/s1600/11.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="329" data-original-width="444" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQY3CjxM3M9vuwSHFBUVCVq_Iv1yEM_AUSR5QollNoC4VXBcH4J7EeQ44x3NZnw9Nv1qc9Ni2CnwILVCYGHwMjrzSetgCfgnCk1EKbjXxMTbLLnIkxRH4pEqvx2AChDgokFLOwO-z-wK4/s320/11.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Stored
Procedure diatas berfungsi untuk ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Menampilkan
data kelayar jika parameter str diberikan nilai lebih dari angka nol<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Menampilkan
kalimat ‘Lebih dari Nol’ jika variabel str diberikan nilai lebih dari angka nol<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Menampilkan
kalimat ‘Lebih dari Nol’ jika variabel str diberikan nilai lebih dari angka nol
dan menampilkan kalimat ‘Kurang dari / sama dengan Nol’ jika variabel str
diberikan nilai kurang dari nol<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Menampilkan
kalimat ‘Lebih dari Nol’ jika paremeter str diberikan nilai lebih dari angka
nol dan menampilkan kalimat ‘Kurang dari / sama dengan Nol’ jika paremeter str
diberikan nilai kurang dari nol<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Menampilkan
kalimat ‘Lebih dari Nol’ dan kalimat ‘Kurang dari / sama dengan Nol’ jika
procedure demoIF dipanggil<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
12. Perhatikan
sintak stored procedure dibawah ini ...<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL9JpQEJiuvIaY8x91laxTr1a8XeAM2QyVbNMX5LJY6F1ow3zYml2L6uWy1SsZnliipYf3OGSego4DOHQZd6Hb3ICbmxqfh9G1ZhKz1IeKDCL3x-G5uNblylLNaag4cRSoUC3PINcouVE/s1600/12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="440" data-original-width="345" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL9JpQEJiuvIaY8x91laxTr1a8XeAM2QyVbNMX5LJY6F1ow3zYml2L6uWy1SsZnliipYf3OGSego4DOHQZd6Hb3ICbmxqfh9G1ZhKz1IeKDCL3x-G5uNblylLNaag4cRSoUC3PINcouVE/s320/12.png" width="250" /></a></div>
<br />
<br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Jika
dilakukan perintah ” CALL demoloop(5); “ maka akan mengahasilkan keluaran
berupa ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Menampilkan
angka 1 sampai dengan 5<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Menampilkan
angka 1 2 3 4 5<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. 1, 2, 3,
4, 5<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. 1 2 3 4 5<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. 1, 2, 3,
4, 5,<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
13. Pengertian
Trigger adalah ...<br />
a. Sebuah procedure yang tersimpan pada sebuah database yang secara otomatis
dijalankan apabila data didalam tabel berubah karena eksekusi perintah SQL
(CREATE, ALTER, dan DROP)<br />
b. Sebuah procedure yang tersimpan pada sebuah database yang secara otomatis
dijalankan apabila data didalam tabel berubah karena eksekusi perintah SQL
(INSERT, UPDATE, dan DELETE)<br />
c. Sebuah fungsi yang tersimpan pada sebuah database yang secara otomatis
dijalankan apabila data didalam tabel berubah.<br />
d. Sebuah procedure yang tersimpan pada sebuah database yang akan dijalankan
apabila data didalam tabel berubah karena eksekusi perintah SQL (INSERT,
UPDATE, dan DELETE)<br />
e. Sebuah fungsi yang tersimpan pada sebuah database yang secara otomatis dijalankan
apabila data didalam tabel dilakukan perubahanan oleh pengguna.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
14. Kejadian
(<i style="mso-bidi-font-style: normal;">event</i>) yang dapat membangkitkan
trigger umumnya berupa pernyataan ...<br />
a. INSERT<br />
b. CREATE<br />
c. ALTER<br />
d. DROP<br />
e. AFTER<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
15. Dari
sisi perilaku (<i style="mso-bidi-font-style: normal;">behavior</i>) eksekusi,
trigger dapat dibedakan menjadi beberapa jenis, diantaranya adalah trigger ...<br />
a. INSERT<br />
b. CREATE<br />
c. ALTER<br />
d. DROP<br />
e. AFTER<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
16. Perhatikan
sintak trigger dibawah ini ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIrUzJhZSM_dYX1x4DpDlMWMm3ayFbELIP5O8I8IgtRYd-0W5Gs_bwbHqU2M-9eN3GWZeL9l-itHQOun33HczcFUuww3_pgIUjA4Z3HK6atzLROZik7NtxU_MQQZMMjKyQ6uY9gYWtiFs/s1600/16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="216" data-original-width="322" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIrUzJhZSM_dYX1x4DpDlMWMm3ayFbELIP5O8I8IgtRYd-0W5Gs_bwbHqU2M-9eN3GWZeL9l-itHQOun33HczcFUuww3_pgIUjA4Z3HK6atzLROZik7NtxU_MQQZMMjKyQ6uY9gYWtiFs/s320/16.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Trigger
tersebut akan bekerja jika ...<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>a. Terdapat
perintah CALL inkremenStok2;<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>b. Terdapat
perintah SELECT * FROM inkremenStok2;<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>c. Terdapat
perintah CALL TRIGGER inkremenStok2;<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>d. Terdapat
perintah INSERT INTO barang VALUES (‘A005’,’Buku’,50);<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>e. Terdapat
perintah perubahan stok pada tabel barang<span lang="EN-MY" style="mso-ansi-language: EN-MY;"><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
17. Perintah
SQL yang digunakan untuk menampilkan informasi mengenai daftar trigger yang
telah terdefinisi, digunakan perintah ...<br />
a. SHOW TRIGGERS\G;<br />
b. SELECT TRIGGERS\G;<br />
c. SHOW ALL TRIGGERS;<br />
d. SHOW CREATE TRIGGERS;<br />
e. SELECT * FROM ALL TRIGGERS;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
18. Untuk
merujuk ke dalam kolom-kolom tabel yang diasosiasikan dengan trigger, kita
dapat memepergunakan keyword OLD dan NEW, untuk keyword OLD mengacu pada ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Nilai
lama pada sebuah tabel yang akan dihapus<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Nilai record
lama pada sebuah tabel yang akan dimasukkan<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Nilai data
lama pada sebuah tabel<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Nilai data
baru pada sebuah tabel yang akan dimasukkan ke dalam tabel tersebut<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Nilai baru
pada sebuah tabel<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
19.
Perhatikan tabel berikut<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<!--[if gte vml 1]><v:group
id="Group_x0020_20" o:spid="_x0000_s1026" style='position:absolute;
margin-left:139pt;margin-top:83pt;width:107pt;height:21pt;z-index:251661312'
coordsize="13589,2667" o:gfxdata="UEsDBBQABgAIAAAAIQC75UiUBQEAAB4CAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbKSRvU7DMBSF
dyTewfKKEqcMCKEmHfgZgaE8wMW+SSwc27JvS/v23KTJgkoXFsu+P+c7Ol5vDoMTe0zZBl/LVVlJ
gV4HY31Xy4/tS3EvRSbwBlzwWMsjZrlprq/W22PELHjb51r2RPFBqax7HCCXIaLnThvSAMTP1KkI
+gs6VLdVdad08ISeCho1ZLN+whZ2jsTzgcsnJwldluLxNDiyagkxOquB2Knae/OLUsyEkjenmdzb
mG/YhlRnCWPnb8C898bRJGtQvEOiVxjYhtLOxs8AySiT4JuDystlVV4WPeM6tK3VaILeDZxIOSsu
ti/jidNGNZ3/J08yC1dNv9v8AAAA//8DAFBLAwQUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAF9y
ZWxzLy5yZWxzhI/NCsIwEITvgu8Q9m7TehCRpr2I4FX0AdZk2wbbJGTj39ubi6AgeJtl2G9m6vYx
jeJGka13CqqiBEFOe2Ndr+B03C3WIDihMzh6RwqexNA281l9oBFTfuLBBhaZ4ljBkFLYSMl6oAm5
8IFcdjofJ0z5jL0MqC/Yk1yW5UrGTwY0X0yxNwri3lQgjs+Qk/+zfddZTVuvrxO59CNCmoj3vCwj
MfaUFOjRhrPHaN4Wv0VV5OYgm1p+LW1eAAAA//8DAFBLAwQUAAYACAAAACEAE6ER+XkDAADqDgAA
HwAAAGNsaXBib2FyZC9kcmF3aW5ncy9kcmF3aW5nMS54bWzsV8lu2zAQvRfoPxC8p5bkLTGqFKlb
BwW6BHH6AWOKsohSpErSW76+Q1J27CRtgQRdDpYBmcvocebN8BF8/WZdS7Lkxgqtcpq+SijhiulC
qHlOv95MTk4psQ5UAVIrntMNt/TN+csXr2E0N9BUghFEUHYEOa2ca0adjmUVr8G+0g1XOFdqU4PD
rpl3CgMrRK5lJ0uSQacGoej5HdQ7cEAWRjwBSmr2jRdjUEuwCCnZaH+k9VGy5yPDSC0vTTNtroz3
nH1eXhkiipwicwpqpIh22onWDLude1/N7wDWpam9vS5Lss5pNhieDRPE2mA77WeDfhLx+NoRhgZp
t3965g2YtxgMvHFcsPryGwhWvf81CLoZ3cHGnouh6X38SeTZLvRLoxcNwf4/piDyt3XjiWHbJsb8
MNVZOtwm+8bn5a1ek2wXs7cnbo2DmK1Q3rb5iOVpidLjCtScXxijVxWHwnqLWB9YSHGhUCvbNa3H
mq0+6QILCxZOB7x7NXMQ7bZOsl7afVgmuwzDqDHWXXJdE9/IqeHMBXBYfrQu+rQ18TxYLUUxEVKG
jpnPxtKQJcicTsLThnFgJhVZ5fSsn/UDstL++1AatXDcECnqnJ4m/onseU7eqyKYOBAyttFpqcIm
8nT49d16GpLjWS42fmSG/0iV0RgK8oGKho1Km1tKVqhTObXfF2A4JfKDQtbP0l4PzVzo9PpDX8Jm
f2a2PwOKIVROHSWxOXbYS9qgLjAtpWgpi354j6R1U7eRPAQTvPW5BDlHnWXOhI+lmjYsENqwK+Yi
n2mCezoQEgK/s7go3dbW2WiL5G2Jb1iYx29akgJTBteUWHM5FcXJh3co5rdYc6i+lMx25fmL1G5z
g7AHqeVliQUTKwVjBScUcZuGl8CwUscgxcwIShpQ2uJAkiWTpI9v/+slXf/GWeFYNYFaSNSyLg6w
CozlIYWBNg5/AJTZPdAbUXNLPvMVudY1qAOPs2SAnvbRX+9594HHKZ6Nhx4jS0i4T5I7v/Cqjwnz
Y36Eq+IKDFw/mpAUExKMjrTSR2m9Yy8wivvJs7vb/gvLp801ViSWTZjw+oCNqOE/V3K/Vjy1/wch
T9N0OPBbE7dDq4hHOT/KeVSUo5w/fkb8JTl/G3QliMpRzvfP9Sedks+Qc1T19kLSuXfLC8lpb6X+
KrnfP/8BAAD//wMAUEsDBBQABgAIAAAAIQC2OwQiVAYAAAsaAAAaAAAAY2xpcGJvYXJkL3RoZW1l
L3RoZW1lMS54bWzsWUtvGzcQvhfof1jsvbHeio3Iga1H3MZOgkhJkSOlpXYZc5cLkrKjW5EcCxQo
mhY9NEBvPRRtAyRAL+mvcZuiTYH8hQ65D5ESVTtGChhBLMDYnf1mOJyZ/YbkXrn6IKbeEeaCsKTj
Vy9VfA8nExaQJOz4d0aDjy77npAoCRBlCe74cyz8q9sffnAFbU0oSccM8WAU4Rh7YCgRW6jjR1Km
WxsbYgJiJC6xFCfwbMp4jCTc8nAj4OgYBojpRq1SaW3EiCT+NliUylCfwr9ECiWYUD5UZrCXoBhG
vzmdkgnW2OCwqhBiLrqUe0eIdnywGbDjEX4gfY8iIeFBx6/oP39j+8oG2sqVqFyja+gN9F+ulysE
hzU9Jg/H5aCNRrPR2intawCVq7h+u9/qt0p7GoAmE5hp5otps7m7udtr5lgDlF06bPfavXrVwhv2
6ys+7zTVz8JrUGa/sYIfDLoQRQuvQRm+uYJvNNq1bsPCa1CGb63g25WdXqNt4TUooiQ5XEFXmq16
t5htCZkyuueEbzYbg3YtN75AQTWU1aWGmLJErqu1GN1nfAAABaRIksST8xRP0QRqsosoGXPi7ZMw
gsJLUcIEiCu1yqBSh//q19BXOiJoCyNDW/kFnogVkfLHExNOUtnxPwGrvgF5/eKn1y+eeScPn588
/PXk0aOTh79khiytPZSEptarH77858ln3t/Pvn/1+Gs3Xpj4P37+/PffvnIDYaaLELz85umfz5++
/PaLv3587IDvcDQ24SMSY+HdwMfebRbDxHQIbM/xmL+ZxihCxNTYSUKBEqRGcdjvy8hC35gjihy4
XWxH8C4HinEBr83uWw4PIz6TxGHxehRbwAPG6C7jzihcV2MZYR7NktA9OJ+ZuNsIHbnG7qLEym9/
lgK3EpfJboQtN29RlEgU4gRLTz1jhxg7ZnePECuuB2TCmWBT6d0j3i4izpCMyNiqpoXSHokhL3OX
g5BvKzYHd71dRl2z7uEjGwlvBaIO50eYWmG8hmYSxS6TIxRTM+D7SEYuJ4dzPjFxfSEh0yGmzOsH
WAiXzk0O8zWSfh3oxZ32AzqPbSSX5NBlcx8xZiJ77LAboTh1YYckiUzsx+IQShR5t5h0wQ+Y/Yao
e8gDStam+y7BVrpPZ4M7wKymS4sCUU9m3JHLa5hZ9Tuc0ynCmmqA+C0+j0lyKrkv0Xrz/6V1INKX
3z1xzOqiEvoOJ843am+Jxtfhlsm7y3hALj5399AsuYXhdVltYO+p+z11++88da97n98+YS84Guhb
LRWzpbpeuMdr1+1TQulQzineF3rpLqAzBQMQKj29P8XlPi6N4FK9yTCAhQs50joeZ/JTIqNhhFJY
31d9ZSQUuelQeCkTsOzXYqdthaez+IAF2Xa1WlVb04w8BJILeaVZymGrITN0q73YgpXmtbeh3ioX
DijdN3HCGMx2ou5wol0IVZD0xhyC5nBCz+yteLHp8OKyMl+kasULcK3MCiydPFhwdfxmA1RACXZU
iOJA5SlLdZFdncy3mel1wbQqANYRRQUsMr2pfF07PTW7rNTOkGnLCaPcbCd0ZHQPExEKcF6dSnoW
N94015uLlFruqVDo8aC0Fm60L/+XF+fNNegtcwNNTKagiXfc8Vv1JpTMBKUdfwrbfriMU6gdoZa8
iIZwYDaRPHvhz8MsKReyh0SUBVyTTsYGMZGYe5TEHV9Nv0wDTTSHaN+qNSCEC+vcJtDKRXMOkm4n
GU+neCLNtBsSFensFhg+4wrnU61+frDSZDNI9zAKjr0xnfHbCEqs2a6qAAZEwOlPNYtmQOA4sySy
Rf0tNaacds3zRF1DmRzRNEJ5RzHJPINrKi/d0XdlDIy7fM4QUCMkeSMch6rBmkG1umnZNTIf1nbd
05VU5AzSXPRMi1VU13SzmDVC0QaWYnm+Jm94VYQYOM3s8Bl1L1PuZsF1S+uEsktAwMv4ObruGRqC
4dpiMMs15fEqDSvOzqV27ygmeIprZ2kSBuu3CrNLcSt7hHM4EJ6r84PectWCaFqsK3WkXZ8mDlDq
jcNqx4fPA3A+8QCu4AODD7KaktWUDK7gqwG0i+yov+PnF4UEnmeSElMvJPUC0ygkjULSLCTNQtIq
JC3f02fi8B1GHYf7XnHkDT0sPyLP1xb295vtfwEAAP//AwBQSwMEFAAGAAgAAAAhAJxmRkG7AAAA
JAEAACoAAABjbGlwYm9hcmQvZHJhd2luZ3MvX3JlbHMvZHJhd2luZzEueG1sLnJlbHOEj80KwjAQ
hO+C7xD2btJ6EJEmvYjQq9QHCMk2LTY/JFHs2xvoRUHwsjCz7DezTfuyM3liTJN3HGpaAUGnvJ6c
4XDrL7sjkJSl03L2DjksmKAV201zxVnmcpTGKSRSKC5xGHMOJ8aSGtHKRH1AVzaDj1bmIqNhQaq7
NMj2VXVg8ZMB4otJOs0hdroG0i+hJP9n+2GYFJ69elh0+UcEy6UXFqCMBjMHSldnnTUtXYGJhn39
Jt4AAAD//wMAUEsBAi0AFAAGAAgAAAAhALvlSJQFAQAAHgIAABMAAAAAAAAAAAAAAAAAAAAAAFtD
b250ZW50X1R5cGVzXS54bWxQSwECLQAUAAYACAAAACEArTA/8cEAAAAyAQAACwAAAAAAAAAAAAAA
AAA2AQAAX3JlbHMvLnJlbHNQSwECLQAUAAYACAAAACEAE6ER+XkDAADqDgAAHwAAAAAAAAAAAAAA
AAAgAgAAY2xpcGJvYXJkL2RyYXdpbmdzL2RyYXdpbmcxLnhtbFBLAQItABQABgAIAAAAIQC2OwQi
VAYAAAsaAAAaAAAAAAAAAAAAAAAAANYFAABjbGlwYm9hcmQvdGhlbWUvdGhlbWUxLnhtbFBLAQIt
ABQABgAIAAAAIQCcZkZBuwAAACQBAAAqAAAAAAAAAAAAAAAAAGIMAABjbGlwYm9hcmQvZHJhd2lu
Z3MvX3JlbHMvZHJhd2luZzEueG1sLnJlbHNQSwUGAAAAAAUABQBnAQAAZQ0AAAAA
">
<v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
<v:stroke joinstyle="miter"/>
<v:path gradientshapeok="t" o:connecttype="rect"/>
</v:shapetype><v:shape id="Text_x0020_Box_x0020_2" o:spid="_x0000_s1027"
type="#_x0000_t202" style='position:absolute;width:2413;height:2667;
visibility:visible;mso-wrap-style:square;v-text-anchor:top' o:gfxdata="UEsDBBQABgAIAAAAIQDw94q7/QAAAOIBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbJSRzUrEMBDH
74LvEOYqbaoHEWm6B6tHFV0fYEimbdg2CZlYd9/edD8u4goeZ+b/8SOpV9tpFDNFtt4puC4rEOS0
N9b1Cj7WT8UdCE7oDI7ekYIdMayay4t6vQvEIrsdKxhSCvdSsh5oQi59IJcvnY8TpjzGXgbUG+xJ
3lTVrdTeJXKpSEsGNHVLHX6OSTxu8/pAEmlkEA8H4dKlAEMYrcaUSeXszI+W4thQZudew4MNfJUx
QP7asFzOFxx9L/lpojUkXjGmZ5wyhjSRJQ8YKGvKv1MWzIkL33VWU9lGfl98J6hz4cZ/uUjzf7Pb
bHuj+ZQu9z/UfAMAAP//AwBQSwMEFAAGAAgAAAAhADHdX2HSAAAAjwEAAAsAAABfcmVscy8ucmVs
c6SQwWrDMAyG74O9g9G9cdpDGaNOb4VeSwe7CltJTGPLWCZt376mMFhGbzvqF/o+8e/2tzCpmbJ4
jgbWTQuKomXn42Dg63xYfYCSgtHhxJEM3Elg372/7U40YalHMvokqlKiGBhLSZ9aix0poDScKNZN
zzlgqWMedEJ7wYH0pm23Ov9mQLdgqqMzkI9uA+p8T9X8hx28zSzcl8Zy0Nz33r6iasfXeKK5UjAP
VAy4LM8w09zU50C/9q7/6ZURE31X/kL8TKv1x6wXNXYPAAAA//8DAFBLAwQUAAYACAAAACEAMy8F
nkEAAAA5AAAAEAAAAGRycy9zaGFwZXhtbC54bWyysa/IzVEoSy0qzszPs1Uy1DNQUkjNS85PycxL
t1UKDXHTtVBSKC5JzEtJzMnPS7VVqkwtVrK34+UCAAAA//8DAFBLAwQUAAYACAAAACEAnokgxMIA
AADcAAAADwAAAGRycy9kb3ducmV2LnhtbESP3YrCMBSE7xd8h3AEbxZNFddqNYoKirf+PMCxObbF
5qQ00da3N4Kwl8PMfMMsVq0pxZNqV1hWMBxEIIhTqwvOFFzOu/4UhPPIGkvLpOBFDlbLzs8CE20b
PtLz5DMRIOwSVJB7XyVSujQng25gK+Lg3Wxt0AdZZ1LX2AS4KeUoiibSYMFhIceKtjml99PDKLgd
mt+/WXPd+0t8HE82WMRX+1Kq123XcxCeWv8f/rYPWsFoGMPnTDgCcvkGAAD//wMAUEsBAi0AFAAG
AAgAAAAhAPD3irv9AAAA4gEAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQ
SwECLQAUAAYACAAAACEAMd1fYdIAAACPAQAACwAAAAAAAAAAAAAAAAAuAQAAX3JlbHMvLnJlbHNQ
SwECLQAUAAYACAAAACEAMy8FnkEAAAA5AAAAEAAAAAAAAAAAAAAAAAApAgAAZHJzL3NoYXBleG1s
LnhtbFBLAQItABQABgAIAAAAIQCeiSDEwgAAANwAAAAPAAAAAAAAAAAAAAAAAJgCAABkcnMvZG93
bnJldi54bWxQSwUGAAAAAAQABAD1AAAAhwMAAAAA
" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal align=center style='text-align:center'>
<b
style='mso-bidi-font-weight:normal'><span style='font-size:12.0pt;
line-height:107%;color:red'>A<o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape><v:shape id="Text_x0020_Box_x0020_2" o:spid="_x0000_s1028" type="#_x0000_t202"
style='position:absolute;left:11176;width:2413;height:2667;visibility:visible;
mso-wrap-style:square;v-text-anchor:top' o:gfxdata="UEsDBBQABgAIAAAAIQDw94q7/QAAAOIBAAATAAAAW0NvbnRlbnRfVHlwZXNdLnhtbJSRzUrEMBDH
74LvEOYqbaoHEWm6B6tHFV0fYEimbdg2CZlYd9/edD8u4goeZ+b/8SOpV9tpFDNFtt4puC4rEOS0
N9b1Cj7WT8UdCE7oDI7ekYIdMayay4t6vQvEIrsdKxhSCvdSsh5oQi59IJcvnY8TpjzGXgbUG+xJ
3lTVrdTeJXKpSEsGNHVLHX6OSTxu8/pAEmlkEA8H4dKlAEMYrcaUSeXszI+W4thQZudew4MNfJUx
QP7asFzOFxx9L/lpojUkXjGmZ5wyhjSRJQ8YKGvKv1MWzIkL33VWU9lGfl98J6hz4cZ/uUjzf7Pb
bHuj+ZQu9z/UfAMAAP//AwBQSwMEFAAGAAgAAAAhADHdX2HSAAAAjwEAAAsAAABfcmVscy8ucmVs
c6SQwWrDMAyG74O9g9G9cdpDGaNOb4VeSwe7CltJTGPLWCZt376mMFhGbzvqF/o+8e/2tzCpmbJ4
jgbWTQuKomXn42Dg63xYfYCSgtHhxJEM3Elg372/7U40YalHMvokqlKiGBhLSZ9aix0poDScKNZN
zzlgqWMedEJ7wYH0pm23Ov9mQLdgqqMzkI9uA+p8T9X8hx28zSzcl8Zy0Nz33r6iasfXeKK5UjAP
VAy4LM8w09zU50C/9q7/6ZURE31X/kL8TKv1x6wXNXYPAAAA//8DAFBLAwQUAAYACAAAACEAMy8F
nkEAAAA5AAAAEAAAAGRycy9zaGFwZXhtbC54bWyysa/IzVEoSy0qzszPs1Uy1DNQUkjNS85PycxL
t1UKDXHTtVBSKC5JzEtJzMnPS7VVqkwtVrK34+UCAAAA//8DAFBLAwQUAAYACAAAACEAcxf3e8IA
AADbAAAADwAAAGRycy9kb3ducmV2LnhtbESPzW7CQAyE70h9h5Ur9YJg04rfwIJaJBBXfh7AZE0S
kfVG2S0Jb48PSNxszXjm83LduUrdqQmlZwPfwwQUceZtybmB82k7mIEKEdli5ZkMPCjAevXRW2Jq
fcsHuh9jriSEQ4oGihjrVOuQFeQwDH1NLNrVNw6jrE2ubYOthLtK/yTJRDssWRoKrGlTUHY7/jsD
133bH8/byy6ep4fR5A/L6cU/jPn67H4XoCJ18W1+Xe+t4Aus/CID6NUTAAD//wMAUEsBAi0AFAAG
AAgAAAAhAPD3irv9AAAA4gEAABMAAAAAAAAAAAAAAAAAAAAAAFtDb250ZW50X1R5cGVzXS54bWxQ
SwECLQAUAAYACAAAACEAMd1fYdIAAACPAQAACwAAAAAAAAAAAAAAAAAuAQAAX3JlbHMvLnJlbHNQ
SwECLQAUAAYACAAAACEAMy8FnkEAAAA5AAAAEAAAAAAAAAAAAAAAAAApAgAAZHJzL3NoYXBleG1s
LnhtbFBLAQItABQABgAIAAAAIQBzF/d7wgAAANsAAAAPAAAAAAAAAAAAAAAAAJgCAABkcnMvZG93
bnJldi54bWxQSwUGAAAAAAQABAD1AAAAhwMAAAAA
" stroked="f">
<v:textbox>
<![if !mso]>
<table cellpadding=0 cellspacing=0 width="100%">
<tr>
<td><![endif]>
<div>
<p class=MsoNormal align=center style='text-align:center'>
<b
style='mso-bidi-font-weight:normal'><span style='font-size:12.0pt;
line-height:107%;color:red'>B<o:p></o:p></span></b></p>
</div>
<![if !mso]></td>
</tr>
</table>
<![endif]></v:textbox>
</v:shape></v:group><![endif]--><!--[if !vml]--></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirqFA_OXP3ybFD1rbG6nWIeaBtNeqWXqZhM9027MEji5Wr0jL2lqiTmYNWAzEfbEmtpKS5kPo_OVqww0ApalAnDJcS2LkhbwIp6HW__pJKhQUaf7l2U3jstV1SZDMdBpBjSCrZCzlUXMQ/s1600/19.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="313" data-original-width="610" height="162" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirqFA_OXP3ybFD1rbG6nWIeaBtNeqWXqZhM9027MEji5Wr0jL2lqiTmYNWAzEfbEmtpKS5kPo_OVqww0ApalAnDJcS2LkhbwIp6HW__pJKhQUaf7l2U3jstV1SZDMdBpBjSCrZCzlUXMQ/s320/19.PNG" width="320" /></a></div>
<span style="height: 32px; margin-left: 185px; margin-top: 111px; mso-ignore: vglayout; position: absolute; width: 147px; z-index: 251661312;"><br /></span><!--[endif]-->
<o:p></o:p><br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Huruf A pada
Trigger diatas dapat diisi dengan sintak ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. OLD<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. NEW<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. ALL<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. ON<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. IN<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
20. Perhatikan
sintak trigger dibawah ini ...</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEh5xdvACxlHgu_gaBmgHBTfxCAudLzUruek13Ju5XNrdFiQA28Hyo-OfBOiYW3QiVbFaY7wtSJkJXQNTB7ZjsIGMtQ71gBaBQZHczyl1TIj5OVpHiThuB7MGulKZfR-c2oV8VyUTwl-o/s1600/20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="269" data-original-width="446" height="192" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEh5xdvACxlHgu_gaBmgHBTfxCAudLzUruek13Ju5XNrdFiQA28Hyo-OfBOiYW3QiVbFaY7wtSJkJXQNTB7ZjsIGMtQ71gBaBQZHczyl1TIj5OVpHiThuB7MGulKZfR-c2oV8VyUTwl-o/s320/20.png" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Trigger
diatas berfungsi untuk ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Menghapus
data pada tabel pembelian jika dilakukan penghapusan data pada tabel barang<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Menghapus
secara otomatis data pada tabel pembelian <o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Menghapus
data pada tabel pembelian secara otomatis jika terjadi penghapusan data pada
tabel barang apabila barang yang ada pada tabel barang juga ada dalam tabel
pembelian<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Menghapus
secara otomatis data pada tabel barang apabila ada proses penghapusan pada
tabel pembelian<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Menghapus
secara otomatis data pada tabel pembelian apabila ada proses penghapusan data
pada tabel barang dan data yang ada pada tabel pembelian juga ada dalam tabel
barang<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
21. Sintak
SQL yang termasuk dalam sintak TCL (Transaction Control Language) adalah ... <i style="mso-bidi-font-style: normal;"><u><o:p></o:p></u></i></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. COMMIT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. SAVEPOIN<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. ROLBACK<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. SET
TRANSAKSI<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. REVOKE<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
22. Sintak
SQL yang termasuk dalam sintak DCL (Data Control Language) adalah ... <i style="mso-bidi-font-style: normal;"><u><o:p></o:p></u></i></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. COMMIT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. SAVEPOIN<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. ROLBACK<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. SET
TRANSAKSI<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. REVOKE<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
23. Sintak
SQL yang benar digunakan untuk membuat sebuah user dengan nama
‘userRplSMKn4Mlg’ dengan pasword ‘Grafika4’ adalah ...<br />
a. CREATE ‘userRplSMKn4Mlg’@’localhost’ IDENTIFIED BY ‘Grafika4’;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. CREATE
USER ‘userRplSMKn4Mlg’@’localhost’ IDENTIFIED BY ‘Grafika4’;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. CREATE
USER ‘userRplSMKn4Mlg’@’localhost’ PASSWORD = ‘Grafika4’;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. CREATE
USER NAME=‘userRplSMKn4Mlg’@’localhost’ PASSWORD = ‘Grafika4’;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. CREATE
USER ACCOUNT ‘userRplSMKn4Mlg’@’localhost’ PASSWORD BY ‘Grafika4’;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
24. Sintak
SQL yang benar digunakan untuk memberikan hak akses SELECT kepada user dengan
nama ‘GrafikaHits’ pada database ‘sekolah’ dan tabel ‘nilai’ adalah ... <i style="mso-bidi-font-style: normal;"><u><o:p></o:p></u></i></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. GRANT
SELECT TO 'GrafikaHits’ IDENTIFIED BY 'grafikaK4';<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. GRANT
SELECT FROM sekolah.nilai TO 'GrafikaHits’@'192.168.20.60’ IDENTIFIED BY
'grafikaK4';<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. GRANT
SELECT TO 'GrafikaHits’@'192.168.20.60’ IDENTIFIED BY 'grafikaK4';<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. GRANT ALL
ON sekolah.nilai TO 'GrafikaHits’@'192.168.20.60’ IDENTIFIED BY 'grafikaK4';<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. GRANT
SELECT ON sekolah.nilai TO 'GrafikaHits’@'192.168.20.60’ IDENTIFIED BY
'grafikaK4';<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal">
25. Perintah SQL yang dipergunakan untuk melakukan dupilkasi
database dengan nama “backupdbSekolah20181010” adalah ..<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. mysqldump
-u root dbsekolah > “backupdbSekolah20181010.sql”;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. mysqldump
-u root dbsekolah > backupdbSekolah20181010.sql;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. mysqldump
dbsekolah > backupdbSekolah20181010.sql;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. mysql -u
root dbsekolah < “backupdbSekolah20181010.sql”;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. mysql
dbsekolah < backupdbSekolah20181010.sql;<o:p></o:p></div>
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com4tag:blogger.com,1999:blog-4413170311649660084.post-499101021808721172018-09-18T10:20:00.002+07:002018-11-24T08:50:08.091+07:00UTS Basisdata<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<b style="mso-bidi-font-weight: normal;">SOAL UTS PILIHAN GANDA<o:p></o:p></b></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Pilihlah
jawaban yang benar dengan cara menuliskan abjad nya saja (a sd e) !.<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
1. Suatu
markas atau gudang, tempat bersarang atau tempat berkumpul merupakan pengertian
secara kharfiah dari ...<br />
a. Basis Data<br />
b. Basis<br />
c. Data<br />
d. Record<br />
e. Entitas<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
2. Record
atau Baris adalah kumpulan data yang terdiri dari satu atau lebih suatu field.
Nama lain dari Record atau Baris dalam model relasional adalah ...<br />
a. Field<br />
b. Attribute<br />
c. Kolom<br />
d. Tuple<br />
e. Entitas<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
3. Himpunan
seluruh record yang bertipe sama disebut dengan ...<br />
a. File (Berkas)<br />
b. Tuple <br />
c. Entitas<br />
d. Kolom<br />
e. Attribute<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
4. Atribut
yang dapat memiliki lebih dari satu nilai yang jenisnya sama dari sebuah data
tunggal, merupakan pengertian dari ...<br />
a. Simple Attribute<br />
b. Composite attribute<br />
c. Multi Value attribute<br />
d. Derived Attribute<br />
e. Key attribute<br />
<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbI17vuwObx0ZJzxy3hcXVOxGnK_X8Q-mFshPKJa0xgj_hn9x8EKNs44dI8ZfEQjBrsNAQvEWhMZd_sFSGsKk2Q1g7N2o0tQHnf8-heY-smSwkc56fqhvGvppWHaKr2L5UtjGjDQ4UqA/s1600/Atribut.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="237" data-original-width="174" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbI17vuwObx0ZJzxy3hcXVOxGnK_X8Q-mFshPKJa0xgj_hn9x8EKNs44dI8ZfEQjBrsNAQvEWhMZd_sFSGsKk2Q1g7N2o0tQHnf8-heY-smSwkc56fqhvGvppWHaKr2L5UtjGjDQ4UqA/s1600/Atribut.PNG" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1030" type="#_x0000_t75" style='width:401.25pt;
height:183pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
5. Dari
gambar diatas yang ditunjukkan dengan huruf “C” adalah simbol ...<br />
a. Simple Attribute<br />
b. Composite attribute<br />
c. Multi Value attribute<br />
d. Derived Attribute<br />
e. Key attribute<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6x690pPuJU6Q6-oY1Txcg_8owy3pz-pZXFXyRMpgyWLvXOc8cKwzEeR4t7Fvt0-AxtSf863WK4w53lFyQJv4nV04I0V5T9fr2wPllNEC1hMQzSFCnNVUmSw4Q_p6hZoWzS4q0rs29wcI/s1600/Atribut.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="237" data-original-width="174" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6x690pPuJU6Q6-oY1Txcg_8owy3pz-pZXFXyRMpgyWLvXOc8cKwzEeR4t7Fvt0-AxtSf863WK4w53lFyQJv4nV04I0V5T9fr2wPllNEC1hMQzSFCnNVUmSw4Q_p6hZoWzS4q0rs29wcI/s1600/Atribut.PNG" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<o:p><br /></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_3" o:spid="_x0000_i1029" type="#_x0000_t75" style='width:401.25pt;
height:183pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
6. Pada
gambar diatas Atribut yang dihasilkan/dihasilkan dari atribut yang lain,
ditunjukkan oleh abjad...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. A<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. B<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. C<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. D<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. E<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
7. Proses
pembentukan struktur basis data sehingga sebagian besar <i style="mso-bidi-font-style: normal;">ambiguity</i> bisa dihilangkan merupakan pengertian dari ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Basis
data<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Field<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Record<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d.
Normalisasi<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Normal
Form<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
8. Salah
satu kegunaan dari normalisasi adalah ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Optimasi
struktur-struktur database<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b.
Meningkatkan kecepatan<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Menambah
pemasukan data yang sama<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Lebih
fleksibel dalam penggunaan media penyimpanan<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Menambah
banyak tabel yang dibuat<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
9.
Bentuk<span style="mso-spacerun: yes;"> </span>normalisasi yang sering digunakan
... <i style="mso-bidi-font-style: normal;"><u>kecuali<o:p></o:p></u></i></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. 1NF<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. 3NF<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. BCNF<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. 5NF<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. CBNF<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
10. Berikut
ini merupakan contoh dari Relational Database Management System atau RDBMS, ...
<i style="mso-bidi-font-style: normal;"><u>kecuali</u></i><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. MySQL<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. MongoDB<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c.
OracleMySQL<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d.
Postgresql<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. MsSQL<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
11. Terdapat
berbagai macam tipe data dalam bentuk bilangan yang dapat digunakan pada Basis
data MySQL diantaranya adalah ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. CHAR<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. TEXT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. VARCHAR<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. INT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. ENUM<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
12. Tipe
data yang dapat menyimpan dalam bentuk karakter maksimal sebanyak 65535
karakter adalah ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. CHAR<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. TEXT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. VARCHAR<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. INT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. ENUM<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
13. Sintak
SQL yang termasuk dalam kategori Statement DML(Data Manipulation Language) dari
adalah ...<br />
A. RETRIEVE, REPLACE, DELETE, UPDATE<br />
B. SELECT, PROJECT, JOIN, DIVIDE<br />
C. SELECT, REPLACE, DELETE, INSERT<br />
D. SELECT, UPDATE, DELETE, INSERT<br />
E. CREATE, ALTER, DROP<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
14. Perintah
SQL yang digunakan untuk masuk kedalam Database dengan nama Hotel ?<br />
a. CREATE DATABASE Hotel;<br />
b. USE Hotel;<br />
c. CREAT DATABASE Hotel;<br />
d. CREATE DBHotel;<br />
e. USE DATABASE Hotel;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
15. Perintah
SQL yang benar untuk membuat tabel dengan nama DataPribadi adalah ...<br />
a. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">CREATE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi (Nip INT(5) PRIMARY KEY, Nama</span><span lang="EN-MY"> </span><span lang="EN-MY" style="mso-ansi-language: EN-MY;">VARCHAR(35</span>)<span lang="EN-MY" style="mso-ansi-language: EN-MY;">, </span>JK <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ENUM('P</span>ria<span lang="EN-MY" style="mso-ansi-language: EN-MY;">','W</span>anita<span lang="EN-MY" style="mso-ansi-language: EN-MY;">'), Alamat VARCHAR(35));</span><br />
b. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">CREATE TABLE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi (Nip INT(5) PRIMARY KEY, Nama</span><span lang="EN-MY"> </span><span lang="EN-MY" style="mso-ansi-language: EN-MY;">VARCHAR(35</span>)<span lang="EN-MY" style="mso-ansi-language: EN-MY;">, </span>JK <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ENUM(P</span>ria<span lang="EN-MY" style="mso-ansi-language: EN-MY;">,</span><span lang="EN-MY"> </span><span lang="EN-MY" style="mso-ansi-language: EN-MY;">W</span>anita<span lang="EN-MY" style="mso-ansi-language: EN-MY;">), Alamat VARCHAR(35));</span><br />
c. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">CREATE TABLE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi (Nip INT(5) PRIMARY KEY, Nama</span><span lang="EN-MY"> </span><span lang="EN-MY" style="mso-ansi-language: EN-MY;">VARCHAR(35</span>)<span lang="EN-MY" style="mso-ansi-language: EN-MY;">, </span>JK <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ENUM('P</span>ria<span lang="EN-MY" style="mso-ansi-language: EN-MY;">','W</span>anita<span lang="EN-MY" style="mso-ansi-language: EN-MY;">'), Alamat VARCHAR(35));</span><br />
d. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">CREATE TABLE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi (Nip INT(5) PRIMARY KEY, Nama</span><span lang="EN-MY"> </span><span lang="EN-MY" style="mso-ansi-language: EN-MY;">VARCHAR(35</span>)<span lang="EN-MY" style="mso-ansi-language: EN-MY;">, </span>JK <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ENUM(P</span>ria<span lang="EN-MY" style="mso-ansi-language: EN-MY;">,</span><span lang="EN-MY"> </span><span lang="EN-MY" style="mso-ansi-language: EN-MY;">W</span>anita<span lang="EN-MY" style="mso-ansi-language: EN-MY;">), Alamat VARCHAR(35);</span><br />
e. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">CREATE TABLE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi (Nip INT(5) PRIMAR</span>I<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> KEY, Nama</span><span lang="EN-MY"> </span><span lang="EN-MY" style="mso-ansi-language: EN-MY;">VARCHAR(35</span>)<span lang="EN-MY" style="mso-ansi-language: EN-MY;">, </span>JK <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ENUM('P</span>ria<span lang="EN-MY" style="mso-ansi-language: EN-MY;">','W</span>anita<span lang="EN-MY" style="mso-ansi-language: EN-MY;">'), Alamat VARCHAR(35));<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
16. Sintak
SQL yang digunakan untuk m<span lang="EN-MY" style="mso-ansi-language: EN-MY;">engubah
kolom Alamat menjadi Tempat_Tinggal pada tabel</span><br />
DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi, </span>adalah ...<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>a. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ALTER TABLE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi CHANGE Tempat_Tinggal VARCHAR
(20);</span><br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>b. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ALTER TABLE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi </span>ADD <span lang="EN-MY" style="mso-ansi-language: EN-MY;">Alamat Tempat_Tinggal VARCHAR (20);</span><br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>c. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ALTER </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi </span>RENAME <span lang="EN-MY" style="mso-ansi-language: EN-MY;">Alamat Tempat_Tinggal VARCHAR (20);</span><br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>d. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ALTER </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi CHANGE Alamat Tempat_Tinggal VARCHAR (20);</span><br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>e. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">ALTER TABLE </span>DataP<span lang="EN-MY" style="mso-ansi-language: EN-MY;">ribadi CHANGE Alamat Tempat_Tinggal VARCHAR
(20);<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_2" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:451.5pt;
height:112.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><span lang="EN-MY" style="mso-ansi-language: EN-MY;"><o:p></o:p></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTUEfAL34TpmwAUWwyhmc13tkaXSQd5-iqZBtXV0CwKCb8dKageVm9FuJ-uJ2ZhKcaY4-58uMg83_OQg-BpFDdfOHLnyJCuLPajEvefARuBhT6LufAcTszs6Tzg5DuC_J3b0F487_pQc/s1600/Atribut2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="138" data-original-width="545" height="80" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTUEfAL34TpmwAUWwyhmc13tkaXSQd5-iqZBtXV0CwKCb8dKageVm9FuJ-uJ2ZhKcaY4-58uMg83_OQg-BpFDdfOHLnyJCuLPajEvefARuBhT6LufAcTszs6Tzg5DuC_J3b0F487_pQc/s320/Atribut2.PNG" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
17. Perintah
SQL yang digunakan untuk merubah alamat siswa yang bernama Budi adalah ...<br />
a. UPDATE Siswa SET alamat=“JL. Kamboja” WHERE nim=“102”;<br />
b. UPDATE TABLE Siswa SET alamat=“JL. Kamboja” WHERE nim=“102”;<br />
c. ALTER TABEL Siswa SET alamat=“JL. Kamboja” WHERE nim=“102”;<br />
d. UPDATE Siswa SET <span style="mso-spacerun: yes;"> </span>alamat=“JL. Kamboja”
WHERE nama=“Budi”;<br />
e. ALTER TABLE Siswa SET alamat=“JL. Kamboja” WHERE nim=“102”;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
18. Perintah
SQL yang digunakan untuk mengeliminasi data yang sama dalam sebuah tabel adalah
...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. DITINCT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. DISTINCT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. DISTINC<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. DISTING<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. DISCTINCT<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
19.
Perhatikan tabel berikut<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_5" o:spid="_x0000_i1027" type="#_x0000_t75" style='width:282.75pt;
height:137.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTUEfAL34TpmwAUWwyhmc13tkaXSQd5-iqZBtXV0CwKCb8dKageVm9FuJ-uJ2ZhKcaY4-58uMg83_OQg-BpFDdfOHLnyJCuLPajEvefARuBhT6LufAcTszs6Tzg5DuC_J3b0F487_pQc/s1600/Atribut2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="138" data-original-width="545" height="81" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOTUEfAL34TpmwAUWwyhmc13tkaXSQd5-iqZBtXV0CwKCb8dKageVm9FuJ-uJ2ZhKcaY4-58uMg83_OQg-BpFDdfOHLnyJCuLPajEvefARuBhT6LufAcTszs6Tzg5DuC_J3b0F487_pQc/s320/Atribut2.PNG" width="320" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Jika
digunakan perintah SELECT COUNT(SKS) AS jumlah FROM matakuliah;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Maka out
yang dihasilkan pada kolom jumlah adalah ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. 7<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. 15<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. 29<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. NULL<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. EMPTY SET<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
20. Operator
yang digunakan dalam Sub Query baris tunggal atau Scalar Sub Query adalah
operator ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. <><o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. ANY<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. SOME<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. IN<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. ALL<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
21. Join
adalah cara untuk menghubungkan data yang diambil dari beberapa tabel, jenis
join diantanya adalah ... <i style="mso-bidi-font-style: normal;"><u>kecuali<o:p></o:p></u></i></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Inner
Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Left
Outer Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Right
Outer Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Full Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Cross
Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
22.
Perhatikan bentuk diagram berikut<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_6" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:98.25pt;
height:66pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image004.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVMlziwkVxcs1cGg-nR8Vrrqp6iBCE5buDjcGkApR9qa3fiKmGTLyxF0wDj1L40-V0Pf7SA-PhFvshu-I6w5LEbr9jvQTha2DfswiqJPO53jh1n6F-_XEp5NCUNiLuwvIKWk27BPPdMW0/s1600/Atribut4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="143" data-original-width="231" height="123" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVMlziwkVxcs1cGg-nR8Vrrqp6iBCE5buDjcGkApR9qa3fiKmGTLyxF0wDj1L40-V0Pf7SA-PhFvshu-I6w5LEbr9jvQTha2DfswiqJPO53jh1n6F-_XEp5NCUNiLuwvIKWk27BPPdMW0/s200/Atribut4.PNG" width="200" /></a></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
Dari gambar
tersebut merupakan bentuk implementasi dari join ...<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Inner
Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Left
Outer Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Right
Outer Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Full Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Cross
Join<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
23. Sintak
SQL yang digunakan dalam INNER JOIN antara tabel Karyawan dengan tabel
Departemen<span lang="EN-MY" style="mso-ansi-language: EN-MY;">,</span> untuk
mendapatkan data nama karyawan dan nama departemen<span style="mso-ansi-language: EN-MY;"> </span>adalah ...<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>a. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>ELECT nama.Karyawan, nama_dep.Departemen
FROM Karyawan INNER JOINT Departemen ON Karyawan.id_dep=departemen.id_dep;<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>b. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>ELECT K.nama, D.nama_dep
FROM Karyawan INNER JOIN Departemen ON Karyawan.id_dep=departemen.id_dep;<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>c. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>ELECT K.nama, D.nama_dep
FROM Karyawan K INNER JOIN Departemen D WHERE
Karyawan.id_dep=departemen.id_dep;<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>d. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>ELECT Karyawan.nama,
Departemen.nama_dep FROM Karyawan INNER JOIN Departemen WHERE Karyawan.id_dep=departemen.id_dep;<br />
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>e. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>ELECT Karyawan.nama,
Departemen.nama_dep FROM Karyawan INNER JOIN Departemen ON
Karyawan.id_dep=departemen.id_dep;<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
<br /></div>
<div class="MsoNormal">
24. Perintah SQL yang digunakan untuk memanggil view dengan
nama vGetMhs dibawah ini adalah ...<o:p></o:p></div>
<div class="MsoNormal">
<span style="mso-fareast-language: IN; mso-no-proof: yes;"><!--[if gte vml 1]><v:shape
id="Picture_x0020_1" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:3in;
height:51pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\User\AppData\Local\Temp\msohtmlclip1\01\clip_image006.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--></span><o:p></o:p></div>
<div class="MsoNormal">
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>a.
<span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>HOW vGetMhs;<o:p></o:p></div>
<div class="MsoNormal">
<span style="mso-spacerun: yes;"> </span>b. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>ELECT mahasiswa FROM vGetMhs;<o:p></o:p></div>
<div class="MsoNormal">
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>c.
<span lang="EN-MY" style="mso-ansi-language: EN-MY;">C</span>ALL vGetMhs; <span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span><o:p></o:p></div>
<div class="MsoNormal">
<span style="mso-spacerun: yes;"> </span>d. <span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>HOW STATUS vGetMhs;<o:p></o:p></div>
<div class="MsoNormal">
<span lang="EN-MY" style="mso-ansi-language: EN-MY;"> </span>e.
<span lang="EN-MY" style="mso-ansi-language: EN-MY;">S</span>ELECT * FROM vGetMhs;<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
25. perintah
SQL yang dipergunakan untuk keluar dari aplikasi adalah ..<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
a. Exit<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
b. Quit<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
c. Close<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
d. Drop<o:p></o:p></div>
<div class="MsoNormal" style="margin-bottom: .0001pt; margin-bottom: 0cm;">
e. Keluar<o:p></o:p></div>
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-71068073859700458402017-04-18T11:49:00.004+07:002018-11-24T08:50:33.728+07:00Contoh project Pemrograman Grafik sederhana OpenGL menggunakan fungsi glLines<div dir="ltr" style="text-align: left;" trbidi="on">
import java.util.logging.Level;<br />
//import java.util.logging.Logger;<br />
//import static komgraf01.KomGraf01.DISPLAY_HEIGHT;<br />
//import static komgraf01.KomGraf01.DISPLAY_WIDTH;<br />
import org.lwjgl.LWJGLException;<br />
import org.lwjgl.input.Keyboard;<br />
import org.lwjgl.input.Mouse;<br />
import org.lwjgl.opengl.Display;<br />
import org.lwjgl.opengl.DisplayMode;<br />
import static org.lwjgl.opengl.GL11.*;<br />
import static org.lwjgl.util.glu.GLU.gluOrtho2D;<br />
<br />
public class Create_Line {<br />
public static int DISPLAY_WIDTH=800;<br />
public static int DISPLAY_HEIGHT=600;<br />
<br />
<br />
public void render() {<br />
glColor3f(1.0f, 0.0f, 1.0f);<br />
glLineWidth(5);<br />
glBegin(GL_LINES);<br />
glVertex2f(100, 100);<br />
glVertex2f(100, 350);<br />
glVertex2f(200, 100);<br />
glVertex2f(300, 350);<br />
glVertex2f(350, 225);<br />
glVertex2f(550, 225);<br />
glEnd();<br />
glFlush();<br />
}<br />
<br />
public static void main(String[] args) {<br />
Create_Line main = null;<br />
try {<br />
System.out.println("Keys:");<br />
System.out.println("esc - Exit");<br />
main = new Create_Line();<br />
main.create();<br />
main.run();<br />
} catch (Exception ex) {<br />
// LOGGER.log(Level.SEVERE, ex.toString,ex);<br />
} finally {<br />
if (main != null) {<br />
main.destroy();<br />
}<br />
}<br />
}<br />
<br />
private void create() throws LWJGLException {<br />
Display.setDisplayMode(new DisplayMode(DISPLAY_WIDTH, DISPLAY_HEIGHT));<br />
Display.setFullscreen(false);<br />
Display.setTitle("Create Point");<br />
Display.create();<br />
//Keyboard<br />
Keyboard.create();<br />
//Mouse<br />
Mouse.setGrabbed(false);<br />
Mouse.create();<br />
//OpenGL<br />
initGL();<br />
resizeGL(); //To change body of generated methods, choose Tools | Templates.<br />
}<br />
<br />
private void run() {<br />
while (!Display.isCloseRequested() && !Keyboard.isKeyDown(Keyboard.KEY_ESCAPE)) {<br />
if (Display.isVisible()) {<br />
render();<br />
} else {<br />
if (Display.isDirty()) {<br />
render();<br />
}<br />
try {<br />
Thread.sleep(100);<br />
} catch (InterruptedException ex) {<br />
}<br />
}<br />
Display.update();<br />
Display.sync(60);<br />
}<br />
}<br />
private void destroy() {<br />
Mouse.destroy();<br />
Keyboard.destroy();<br />
Display.destroy();<br />
}<br />
private void initGL() {<br />
//2D Initialization<br />
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);<br />
glDisable(GL_DEPTH_TEST);<br />
glDisable(GL_LIGHTING);<br />
}<br />
private void resizeGL() {<br />
//2D Scene<br />
glViewport(0, 0, DISPLAY_WIDTH, DISPLAY_HEIGHT);<br />
<br />
glMatrixMode(GL_PROJECTION);<br />
glLoadIdentity();<br />
gluOrtho2D(0.0f, DISPLAY_WIDTH, 0.0f, DISPLAY_HEIGHT);<br />
glPushMatrix();<br />
glMatrixMode(GL_MODELVIEW);<br />
glLoadIdentity();<br />
glPushMatrix();<br />
}<br />
}<br />
<br />
<br />
<br />
<b>Tampilannya sbb:</b><br />
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3-7tRtbZ-FToFtnOhlkPzwpubkCTLv7lfUpYCPmmGO4YuG795PvUZ_GXDzQI6hanLf84d0zkDRrhPbrP-dOfjkKkbENYRERERiaIMSoTNF66Ic9wwxKM_gxVnRAgu45WONkoJ69k_dIY/s1600/modulG_19.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3-7tRtbZ-FToFtnOhlkPzwpubkCTLv7lfUpYCPmmGO4YuG795PvUZ_GXDzQI6hanLf84d0zkDRrhPbrP-dOfjkKkbENYRERERiaIMSoTNF66Ic9wwxKM_gxVnRAgu45WONkoJ69k_dIY/s400/modulG_19.png" width="400" /></a></div>
<b><br /></b>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-38737242758649711702017-04-18T11:46:00.002+07:002018-11-24T08:50:51.010+07:00Contoh project Pemrograman Grafik sederhana OpenGL menggunakan fungsi glVertex<div dir="ltr" style="text-align: left;" trbidi="on">
import java.util.logging.Level;<br />
import java.util.logging.Logger;<br />
//import static komgraf01.KomGraf01.DISPLAY_HEIGHT;<br />
//import static komgraf01.KomGraf01.DISPLAY_WIDTH;<br />
import org.lwjgl.LWJGLException;<br />
import org.lwjgl.input.Keyboard;<br />
import org.lwjgl.input.Mouse;<br />
import org.lwjgl.opengl.Display;<br />
import org.lwjgl.opengl.DisplayMode;<br />
import static org.lwjgl.opengl.GL11.*;<br />
import static org.lwjgl.util.glu.GLU.gluOrtho2D;<br />
<br />
public class Create_Point {<br />
<br />
public static int DISPLAY_WIDTH=800;<br />
public static int DISPLAY_HEIGHT=600;<br />
<br />
public void render() {<br />
glClear(GL_COLOR_BUFFER_BIT);<br />
glLoadIdentity();<br />
glColor3f(0.0f, 1.0f, 0.0f);<br />
glPointSize(10);<br />
glBegin(GL_POINTS);<br />
glVertex2f(100, 100);<br />
glVertex2f(200, 100);<br />
glVertex2f(200, 300);<br />
glVertex2f(100, 300);<br />
glVertex2f(150, 375);<br />
glVertex2f(375, 375);<br />
glVertex2f(425, 300);<br />
glVertex2f(425, 100);<br />
glEnd();<br />
}<br />
<br />
public static void main(String[] args) {<br />
Create_Point main = null;<br />
try {<br />
System.out.println("Keys:");<br />
System.out.println("esc - Exit");<br />
main = new Create_Point();<br />
main.create();<br />
main.run();<br />
} catch (Exception ex) {<br />
// LOGGER.log(Level.SEVERE, ex.toString(), ex);<br />
} finally {<br />
if (main != null) {<br />
main.destroy();<br />
}<br />
}<br />
}<br />
private void create() throws LWJGLException {<br />
Display.setDisplayMode(new DisplayMode(DISPLAY_WIDTH, DISPLAY_HEIGHT));<br />
Display.setFullscreen(false);<br />
Display.setTitle("Create Point");<br />
Display.create();<br />
//Keyboard<br />
Keyboard.create();<br />
//Mouse<br />
Mouse.setGrabbed(false);<br />
Mouse.create();<br />
//OpenGL<br />
initGL();<br />
resizeGL(); //To change body of generated methods, choose Tools | Templates.<br />
}<br />
<br />
private void run() {<br />
while (!Display.isCloseRequested() && !Keyboard.isKeyDown(Keyboard.KEY_ESCAPE)) {<br />
if (Display.isVisible()) {<br />
render();<br />
} else {<br />
if (Display.isDirty()) {<br />
render();<br />
}<br />
try {<br />
Thread.sleep(100);<br />
} catch (InterruptedException ex) {<br />
}<br />
}<br />
Display.update();<br />
Display.sync(60);<br />
}<br />
}<br />
private void destroy() {<br />
Mouse.destroy();<br />
Keyboard.destroy();<br />
Display.destroy();<br />
}<br />
private void initGL() {<br />
//2D Initialization<br />
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);<br />
glDisable(GL_DEPTH_TEST);<br />
glDisable(GL_LIGHTING);<br />
}<br />
private void resizeGL() {<br />
//2D Scene<br />
glViewport(0, 0, DISPLAY_WIDTH, DISPLAY_HEIGHT);<br />
<br />
glMatrixMode(GL_PROJECTION);<br />
glLoadIdentity();<br />
gluOrtho2D(0.0f, DISPLAY_WIDTH, 0.0f, DISPLAY_HEIGHT);<br />
glPushMatrix();<br />
glMatrixMode(GL_MODELVIEW);<br />
glLoadIdentity();<br />
glPushMatrix();<br />
}<br />
<br />
}<br />
<br />
<br />
<b>Tampilannya sebagai berikut:</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsSpThPQ1FzmoZihNnjUe5GErtxzyWKjq2vrnkq-YMK-oKiRYDbHbu417wveTkcl5y7RqclNYbvT2E6N27Zpe0mTV9FSgtoFLs-xHXxCsFlEYaO7aJ_x7SPucWeNadZRv31awmjZtTYsg/s1600/modulG_18.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="313" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsSpThPQ1FzmoZihNnjUe5GErtxzyWKjq2vrnkq-YMK-oKiRYDbHbu417wveTkcl5y7RqclNYbvT2E6N27Zpe0mTV9FSgtoFLs-xHXxCsFlEYaO7aJ_x7SPucWeNadZRv31awmjZtTYsg/s400/modulG_18.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
<br /></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-66089473113964788112017-04-18T11:40:00.004+07:002018-11-24T08:51:06.603+07:00Membuat project baru untuk OpenGL di NetBeans<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Membuat program baru untuk open GL<o:p></o:p></div>
<div class="MsoNormal">
File<o:p></o:p></div>
<div class="MsoNormal">
New Project – Java Application
-next<o:p></o:p></div>
<div class="MsoNormal">
Beri nama sesuai kehendak anda
untuk project yang anda buat<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyMNoEM1JBJuzqs4Pe8nQnw43nmcnM2qudYjcyFFyvzhAVDx2GsKw6TRqyUybjyAkHtjKfRH-AlWhmAga8oVvzfVZvF1V-KrSxxtooBbfrDtIzcpie1RMkKgwcAE_S3j1_B1vBIsbh9pU/s1600/modulG_15.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyMNoEM1JBJuzqs4Pe8nQnw43nmcnM2qudYjcyFFyvzhAVDx2GsKw6TRqyUybjyAkHtjKfRH-AlWhmAga8oVvzfVZvF1V-KrSxxtooBbfrDtIzcpie1RMkKgwcAE_S3j1_B1vBIsbh9pU/s1600/modulG_15.png" /></a></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shapetype
id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t"
path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="Picture_x0020_15" o:spid="_x0000_i1027" type="#_x0000_t75"
style='width:468pt;height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Pilih tab Libraries - add <o:p></o:p></div>
<div class="MsoNormal">
Kemudian klick kanan di project
kemudian pilih properties<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJjyo5Lyws3Kcw0LPplo9ts7Pi3gb45RmZ4rLd6lvSHbg0q9jdUHtaLunDWHQ9rB9ZqmlqhkXrLAUe2aQ0GKMFaLNV2tVqOkUhuO6MinDuigWGE1Qa0-QygqOgPQkmoVCC1ANhjEtBzU0/s1600/modulG_16.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJjyo5Lyws3Kcw0LPplo9ts7Pi3gb45RmZ4rLd6lvSHbg0q9jdUHtaLunDWHQ9rB9ZqmlqhkXrLAUe2aQ0GKMFaLNV2tVqOkUhuO6MinDuigWGE1Qa0-QygqOgPQkmoVCC1ANhjEtBzU0/s1600/modulG_16.png" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_16" o:spid="_x0000_i1026" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Kemudian</div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
Klick kanan pada project-
properties-run<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMUFhljvQINLqQsXfEce_zWlmta5ziKC_VF-uExiXIeg8JhyphenhyphenBS9nYCV7ilikGuUy9kNrAVe3Dmhi_OYPuL1uZQGIRFZ05XSsmd-wwjk0TfJ5DxHZ9UY7SCd8Tfv-wfcX6_vlyBYgjEUzo/s1600/modulG_17.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMUFhljvQINLqQsXfEce_zWlmta5ziKC_VF-uExiXIeg8JhyphenhyphenBS9nYCV7ilikGuUy9kNrAVe3Dmhi_OYPuL1uZQGIRFZ05XSsmd-wwjk0TfJ5DxHZ9UY7SCd8Tfv-wfcX6_vlyBYgjEUzo/s1600/modulG_17.png" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_17" o:spid="_x0000_i1025" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Kemudian copas file berikut (yang harus dilakukan setiap kali program Pemrograman Grafik/openGL) dibuat.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;">-Djava.library.path="Directory\lwjgl-2.9.1\native\windows"<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;">Catatan:<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;">Sesuaikan dengan letak folder,
misalnya: -Djava.library.path="F:\LWJGL\lwjgl-2.9.1\native\windows"<o:p></o:p></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;"><br /></span></div>
<div class="MsoNormal">
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;">Pada VM Options <o:p></o:p></span></div>
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;">kemudian Ok</span><br />
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;"><br /></span>
<span style="font-family: "arial" , "sans-serif"; font-size: 10.0pt; line-height: 115%;">Project baru siap digunakan.</span></div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-16484773312239693772017-04-18T11:33:00.005+07:002018-11-24T08:51:25.019+07:00Menambahkan tools LWJGL di netbeans (Pemrograman Grafik)<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Menambahkan tools LWJGL di Netbeans <o:p></o:p></div>
<div class="MsoNormal">
caranya adalah sbb:</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
1. Pilih menu Tools<o:p></o:p></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZr9RkYLqaO-cBNqFBGPPCZhNPeGXVR1G-_3EFMB57b-Gxha70RVSywmw8U5GZ_T1zd6RZDoMdPf0I4ZJNcY4_k5oCTuOz25kmv9Pfwh6Bv1I5lserj2dyd-l78vvJttmNYr2efLtXA24/s1600/modulG_1.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="247" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZr9RkYLqaO-cBNqFBGPPCZhNPeGXVR1G-_3EFMB57b-Gxha70RVSywmw8U5GZ_T1zd6RZDoMdPf0I4ZJNcY4_k5oCTuOz25kmv9Pfwh6Bv1I5lserj2dyd-l78vvJttmNYr2efLtXA24/s400/modulG_1.png" width="400" /></a></div>
<br />
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
2. Pilih Libraries, maka akan muncul
tampilan sbb:<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2vOyVG667VAqkScEH8rxZGDl5E0u81Mv0xR-3n_fuWyZW1l94BAgsah3Maj3ePy6SD0iGnm-Ku2rID0gTRaEjBuYugyTi-vyZYugvnZEGC0D-sdCTDPzSp4b0Dep5-b5n0IgVa31J4II/s1600/modulG_2.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2vOyVG667VAqkScEH8rxZGDl5E0u81Mv0xR-3n_fuWyZW1l94BAgsah3Maj3ePy6SD0iGnm-Ku2rID0gTRaEjBuYugyTi-vyZYugvnZEGC0D-sdCTDPzSp4b0Dep5-b5n0IgVa31J4II/s400/modulG_2.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_2" o:spid="_x0000_i1040" type="#_x0000_t75" style='width:388.5pt;
height:243pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image003.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
3. Pilih menu New Library <o:p></o:p></div>
<div class="MsoNormal">
Berikan nama baru, Library Name dengan nama LWJGL<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxEJssrs7g-8Y1WNtbN4o5xqocF8j49EiVw3z6Nkq0atHojHbpqwAZOWBeo3d-S2pcXeGd16hhMWodIn7wnbKbnBQuJ41SCs4D8FbPVfAyElO1M0YLNKkM4F73DW0EibXcpvUpkZM6pB8/s1600/modulG_3.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxEJssrs7g-8Y1WNtbN4o5xqocF8j49EiVw3z6Nkq0atHojHbpqwAZOWBeo3d-S2pcXeGd16hhMWodIn7wnbKbnBQuJ41SCs4D8FbPVfAyElO1M0YLNKkM4F73DW0EibXcpvUpkZM6pB8/s400/modulG_3.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_3" o:spid="_x0000_i1039" type="#_x0000_t75" style='width:365.25pt;
height:228pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image005.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
4. Kemudian di OK, sorot folder yang sudah dibuat tadi
(LWGJL)<o:p></o:p></div>
<div class="MsoNormal">
Pilih Add JAR_Folder, memilih letak software library yang sudah di download<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNbY6Yqk50iBRNwB5y240TSMiv0qwGKsyO6wTvqUbqutMJBRgrjNJ-xFJ43bHlUYaSvhvsNjjmfcn1XfC85AMxtvqLrGfmOsA-ksZkQfyUHiIY5eJmIGoMdrqBQ89zLwK1hIuUa2TYt54/s1600/modulG_4.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNbY6Yqk50iBRNwB5y240TSMiv0qwGKsyO6wTvqUbqutMJBRgrjNJ-xFJ43bHlUYaSvhvsNjjmfcn1XfC85AMxtvqLrGfmOsA-ksZkQfyUHiIY5eJmIGoMdrqBQ89zLwK1hIuUa2TYt54/s400/modulG_4.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_4" o:spid="_x0000_i1038" type="#_x0000_t75" style='width:365.25pt;
height:227.25pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image007.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
5. Kemudian masuk di folder “lwjgl-2.9.1”, masuk “jar” pilih
(jinput.jar + lwgjl.jar + lwjgl.util)<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Qg-s8Stk3hw_CfY5JTjnBP24l6FVyDwahmaZmsgzrU7YC2Yh84N3UPudjzXzCMN5T9EmRp2UqRFB8bid7xeBgGcYahufpgdMHkf72B9lXltaFD7xbxa2C0Bs5oqL8e66ngV7Af8cXaw/s1600/modulG_5.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8Qg-s8Stk3hw_CfY5JTjnBP24l6FVyDwahmaZmsgzrU7YC2Yh84N3UPudjzXzCMN5T9EmRp2UqRFB8bid7xeBgGcYahufpgdMHkf72B9lXltaFD7xbxa2C0Bs5oqL8e66ngV7Af8cXaw/s400/modulG_5.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_5" o:spid="_x0000_i1037" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image009.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
6. Kemudian Add folder<o:p></o:p></div>
<div class="MsoNormal">
Maka akan muncul 3 file<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3xLzWZnihP5RUA1zo4uG3QiaUs6xBMIMonNk55WshbhD32kcHXiyHiAGLlEXprmViOb9zuH8aSgcelDUsnOt_7E2WeB4OZrQrsHB5gf98Mu2b15I0lFLBQkXfmmQW3NYCgL89twyaECQ/s1600/modulG_6.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3xLzWZnihP5RUA1zo4uG3QiaUs6xBMIMonNk55WshbhD32kcHXiyHiAGLlEXprmViOb9zuH8aSgcelDUsnOt_7E2WeB4OZrQrsHB5gf98Mu2b15I0lFLBQkXfmmQW3NYCgL89twyaECQ/s400/modulG_6.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_6" o:spid="_x0000_i1036" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image011.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
7. Kemudian pilih tab Saurces, kemudian pilih src<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxz7JAAL2y7jopbjCuTA1jycxbUSAa3STlmDsnUnu-ianbQlfGJNdKEfyk6lTj47O_QZjyh5LnAu_f9sD5FNvVXVixDXeZP9c3CIeDtOYMrJWehJPM6KNU7OTouaSg8wtvuzsOcCbA6TE/s1600/modulG_7.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxz7JAAL2y7jopbjCuTA1jycxbUSAa3STlmDsnUnu-ianbQlfGJNdKEfyk6lTj47O_QZjyh5LnAu_f9sD5FNvVXVixDXeZP9c3CIeDtOYMrJWehJPM6KNU7OTouaSg8wtvuzsOcCbA6TE/s400/modulG_7.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
8. Ada empat file di folder src yang didalamnya ada 4 buah
folder, pilih generated dan java, seperti berikut:<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCxADChMrTTnDRp5kmq5AymTgMW4EXNTqTL-ku4_NAsTWqodsxVKodMVIEYchkgnAt_gXxesq5w90HodpASW03rpU4hQbEgMjqexNa0E6WRnfia4gbnVhSl5AfpOQ9TC2siayhnhT99I/s1600/modulG_8.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCxADChMrTTnDRp5kmq5AymTgMW4EXNTqTL-ku4_NAsTWqodsxVKodMVIEYchkgnAt_gXxesq5w90HodpASW03rpU4hQbEgMjqexNa0E6WRnfia4gbnVhSl5AfpOQ9TC2siayhnhT99I/s400/modulG_8.png" width="400" /></a></div>
<div>
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
9. Kemudian klick Add Jar<o:p></o:p></div>
<div class="MsoNormal">
Maka akan tampil sbb:<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZQt9oazavEc7iARnmQq90T_cd2PlU7LVh0w4DfIgYRyzf7JgyKRjj8sX-Xl8yr9PbaLBQkKz6-znzDaY5R6_QCcfESFb7wIShYEwzLlBPd6zdxuCpn3jCSm_Rp6QbYFaodOBMj5EcYIY/s1600/modulG_9.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZQt9oazavEc7iARnmQq90T_cd2PlU7LVh0w4DfIgYRyzf7JgyKRjj8sX-Xl8yr9PbaLBQkKz6-znzDaY5R6_QCcfESFb7wIShYEwzLlBPd6zdxuCpn3jCSm_Rp6QbYFaodOBMj5EcYIY/s400/modulG_9.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_8" o:spid="_x0000_i1033" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image017.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
10. Kemudin pilih tap “javadoc”<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4uCo-NhYch4ODXyzsIIGlJ0vIhOIjClYRJtq41WgQxR83tmedRLvlsUvpxu-7G9NDEjMjdPKkc6Q86EEPapWmkfR2pmd3-gpn_rjOSrig8K7lBj0SWE3jQsJ1Fzl56sCXI6aWlQdD884/s1600/modulG_10.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="247" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4uCo-NhYch4ODXyzsIIGlJ0vIhOIjClYRJtq41WgQxR83tmedRLvlsUvpxu-7G9NDEjMjdPKkc6Q86EEPapWmkfR2pmd3-gpn_rjOSrig8K7lBj0SWE3jQsJ1Fzl56sCXI6aWlQdD884/s400/modulG_10.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_10" o:spid="_x0000_i1032" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image019.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
11. Kemudian Add ZIP/Folder<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDzixd7iNO2N1tU_9Vbi6OI0T3aaU4i1BpSGbyBRwaPimVjFm4WGYgBXfGu30PwC6viH1do4fAyLmz7YBE-2ypEuSGst9FmPrWJ3UfWql4M0IIaWLHYKMkMJHVDMbUotWfiuaMkphtLPA/s1600/modulG_11.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDzixd7iNO2N1tU_9Vbi6OI0T3aaU4i1BpSGbyBRwaPimVjFm4WGYgBXfGu30PwC6viH1do4fAyLmz7YBE-2ypEuSGst9FmPrWJ3UfWql4M0IIaWLHYKMkMJHVDMbUotWfiuaMkphtLPA/s400/modulG_11.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_11" o:spid="_x0000_i1031" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image021.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
12. Kemudian pilih lwjgl-docs-2.9.1.zip<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh28Xww-_xekBd47UmPJhRmumLQeMB_3Qu9iTcTYIP1ptKmpyw-19_OIiXdwqFcEM2yV4neT5TtX4LaPr27xvgRmqfdjEDQ8LvW0m0iylrNajg5IuUeKYiMCWgqT0Pkfu-nldX_WZacMS8/s1600/modulG_12.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh28Xww-_xekBd47UmPJhRmumLQeMB_3Qu9iTcTYIP1ptKmpyw-19_OIiXdwqFcEM2yV4neT5TtX4LaPr27xvgRmqfdjEDQ8LvW0m0iylrNajg5IuUeKYiMCWgqT0Pkfu-nldX_WZacMS8/s400/modulG_12.png" width="400" /></a></div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_12" o:spid="_x0000_i1030" type="#_x0000_t75" style='width:375.75pt;
height:234.75pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image023.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br />
13. Kemudian Add ZIP<o:p></o:p></div>
<div class="MsoNormal">
Jika sudah semua Klick “OK”<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkulbmCc6xO_jtLEOJiMwiVyGKzmIZvoXAgRyFahhl0ifKfstktU7CVl6tHgiTePsfpEG2fmb2V3oueLM7cpGK1VvnewMRxNnK2fQEumLHo2e3mXac1oOdRF9_WM4uEtJph7xau2qTPlU/s1600/modulG_13.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkulbmCc6xO_jtLEOJiMwiVyGKzmIZvoXAgRyFahhl0ifKfstktU7CVl6tHgiTePsfpEG2fmb2V3oueLM7cpGK1VvnewMRxNnK2fQEumLHo2e3mXac1oOdRF9_WM4uEtJph7xau2qTPlU/s400/modulG_13.png" width="400" /></a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_14" o:spid="_x0000_i1029" type="#_x0000_t75" style='width:377.25pt;
height:235.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image025.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<!--[if gte vml 1]><v:shape
id="Picture_x0020_13" o:spid="_x0000_i1028" type="#_x0000_t75" style='width:468pt;
height:292.5pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\Owner\AppData\Local\Temp\msohtmlclip1\01\clip_image027.png"
o:title=""/>
</v:shape><![endif]--><!--[if !vml]--><!--[endif]--><o:p></o:p></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNormal">
Kurang lebih seperti itu. cara untuk setting LWGJL di Netbeans.<br />
<o:p></o:p></div>
<div class="MsoNormal">
Terima Kasih. Semoga bermanfaat.</div>
<div class="MsoNormal">
<br /></div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-73860466331807189982017-04-11T10:11:00.001+07:002018-11-24T08:51:49.395+07:00<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
<br />
<header class="entry-header page-header" style="border-bottom: 0px; box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans", sans-serif; font-size: 14px; margin: 0px 0px 20px; padding-bottom: 0px;"><h1 class="entry-title " style="box-sizing: border-box; color: #da4453; font-size: 28px; line-height: 1.1; margin: 0px 0px 30px;">
</h1>
</header><br />
<div class="entry-content" style="box-sizing: border-box; margin: 1.5em 0px 0px;">
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Ini adalah artikel pertama dari seri Belajar Membuat Aplikasi Android HTML5 dengan Intel XDK. mungkin jika ada kekurangan terhadap artikel yang ada, mohon untuk ditambahkan sebagai masukan. terima kasih .</div>
<h2 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 24px; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">
Belajar Membuat Aplikasi Android HTML5 dengan Intel XDK </h2>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Intel XDK adalah sebuah software untuk pengembangan sebuah aplikasi berbasis web yang dapat digunakan untuk berbagai macam <em style="box-sizing: border-box;">platform</em>, seperti Android, iOS, Windows (Universal), bahkan hingga IoT (<em style="box-sizing: border-box;">Internet of Things)</em>. Singkatnya, dengan menggunakan Intel XDK, kita dapat membuat sebuah aplikasi Android, iOS, Windows (Universal), dan IoT menggunakan bahasa pemrograman web, seperti HTML5, Javascript, dan beberapa bahasa pemrograman web lainnya.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Dengan menggunakan Intel XDK, kita tidak hanya dapat membuat sebuah aplikasi, Intel XDK juga sering digunakan untuk pengembangan game berbasis web. Jika anda membuat sebuah game menggunakan Construct 2, setelah di export menjadi HTML5, anda dapat mem-<em style="box-sizing: border-box;">build</em> nya menggunakan aplikasi Intel XDK ini.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Jika anda seorang web developer atau hanya mengerti bahasa pemrograman web, Intel XDK sangat cocok untuk digunakan untuk memulai belajar membangun aplikasi Android. Untuk pemula sekalipun yang belum terlalu mengerti bahasa pemrograman, Intel XDK dapat digunakan dengan sangat mudah.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Untuk menggunakan Intel XDK, hampir semua proses pengerjaan dapat dilakukan secara visual dan dengan <em style="box-sizing: border-box;">drag n drop</em> saja. Jika ingin memberikan fungsi tambahan yang lebih detail, anda juga bisa langsung menambahkannya pada halaman editor.</div>
<div class="su-note" style="border-color: rgb(220, 164, 167); border-radius: 3px; border-style: solid; border-width: 1px; box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin: 0px 0px 1.5em;">
<div class="su-note-inner su-clearfix" style="background-color: #f4b6ba; border-color: rgb(253, 240, 241); border-radius: 3px; border-style: solid; border-width: 1px; box-sizing: border-box; color: #363636; padding: 1em;">
Untuk menggunakan Intel XDK, pastikan anda terhubung dengan koneksi internet yang stabil.</div>
</div>
<h3 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 20px; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">
Download & Install Intel XDK</h3>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Untuk dapat menggunakan Intel XDK, anda dapat mendownload versi terbarunya secara gratis di <code style="background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13.5px; padding: 2px 4px;"><a href="https://software.intel.com/intel-xdk">https://software.intel.com/intel-xdk</a></code> atau silahkan klik <a href="https://software.intel.com/intel-xdk" target="_blank">di sini</a>. Pilihlah sesuai dengan sistem operasi yang anda gunakan. Dalam tutorial ini, menggunakan Intel XDK versi 3641.</div>
<div style="box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 1em; margin-top: 0em;">
<div class="centered-text-area" style="box-sizing: border-box; min-height: 80px; position: relative; width: 648px;">
<br /></div>
<div class="ctaButton" style="background-attachment: initial; background-clip: initial; background-color: rgb(192, 57, 43) !important; background-image: url("https://www.tutorialpemrograman.com/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png"); background-origin: initial; background-position: initial; background-repeat: no-repeat; background-size: initial; border-radius: 3px; border: none; box-shadow: none; box-sizing: border-box; color: #e6e6e6; font-size: 14px; font-weight: bold; line-height: 26px; min-height: 80px; position: absolute; right: 0px; text-align: center; text-shadow: none; top: 0px; width: 80px;">
</div>
</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_788" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 760px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-788" height="301" sizes="(max-width: 648px) 100vw, 648px" src="https://i0.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_1.png?resize=648%2C306" srcset="https://i0.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_1.png?w=750&ssl=1 750w, https://i0.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_1.png?resize=375%2C177&ssl=1 375w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 1.</figcaption></figure><br />
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Jika sudah terdownload, install saja seperti menginstall aplikasi desktop pada umumnya.</div>
<h3 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 20px; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">
Tampilan Awal</h3>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Apabila telah terinstal, silahkan buka aplikasi Intel XDK anda. Jika belum memiliki akun, buatlah terlebih dahulu. Jika sudah, anda bisa langsung login menggunakan akun Intel Developer Zone anda.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
di asumsikan anda sudah memiliki akun dan berhasil login pada Intel XDK, berikut adalah tampilan utama dari Intel XDK.</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_789" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 726px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-789" height="365" sizes="(max-width: 648px) 100vw, 648px" src="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_2.png?resize=648%2C371" srcset="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_2.png?w=716&ssl=1 716w, https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_2.png?resize=358%2C205&ssl=1 358w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 2.</figcaption></figure><br />
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Bisa anda lihat, anda bisa menggunakan beberapa template atau sample yang tersedia untuk memulai belajar membuat aplikasi mobile berbasis web.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Untuk membuat project baru, klik Template pada bagian <em style="box-sizing: border-box;">HTML5 Companion Hybrid Mobile or Web App</em>, lalu klik <span style="box-sizing: border-box; font-weight: 700;">Blank</span>. Pilih <span style="box-sizing: border-box; font-weight: 700;">HTML5 + Cordova</span> dan beri tanda checklist pada <span style="box-sizing: border-box; font-weight: 700;">Use App Designer</span>. Klik <span style="box-sizing: border-box; font-weight: 700;">Continue</span>.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Beri nama project anda dengan nama <code style="background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13.5px; padding: 2px 4px;">HelloWorld</code>. Lalu klik <span style="box-sizing: border-box; font-weight: 700;">Create</span>.</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_790" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 726px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-790" height="365" sizes="(max-width: 648px) 100vw, 648px" src="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_3.png?resize=648%2C371" srcset="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_3.png?w=716&ssl=1 716w, https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_3.png?resize=358%2C205&ssl=1 358w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 3.</figcaption></figure><br />
<h3 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 20px; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">
Tampilan Ruang Kerja</h3>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Jika project anda telah berhasil dibuat, anda akan masuk ke tampilan berikutnya. Tampilan berikut ini biasa saya sebut <em style="box-sizing: border-box;">Workspace</em> atau Ruang Kerja.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Terdapat beberapa menu yang dapat anda lihat, seperti Develop, Simulate, Test, Debug, Build, dan Publish.</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_791" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 760px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-791" height="340" sizes="(max-width: 648px) 100vw, 648px" src="https://i0.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_4.png?resize=648%2C346" srcset="https://i0.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_4.png?w=750&ssl=1 750w, https://i0.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_4.png?resize=375%2C200&ssl=1 375w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 4.</figcaption></figure><br />
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Berikut penjelasan singkat mengenai menu-menu tersebut.</div>
<h4 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;">
Develop</h4>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Ini adalah menu di mana anda dapat mengerjakan semua project anda mulai dari design hingga editing script. Pada sebelah kiri atas, terdapat sub-menu <em style="box-sizing: border-box;">Code</em> dan <em style="box-sizing: border-box;">Design</em>. Pada sub-menu <em style="box-sizing: border-box;">Design</em>, di sini anda dapat mengatur seluruh tampilan project kalian secara visual. Untuk menambahkan Text Box, Button, dan lain sebagainya, anda hanya perlu <em style="box-sizing: border-box;">drag n drop </em>komponen tersebut pada tab <em style="box-sizing: border-box;">Controls</em>.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Untuk menambahkan sebuah page, anda juga hanya perlu klik New Page pada tab <em style="box-sizing: border-box;">Pages.</em></div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Sub-menu lainnya adalah <em style="box-sizing: border-box;">Code</em>. Pada sub-menu ini, anda bisa gunakan untuk mengedit project anda dengan menggunakan text editor yang ada di dalam Intel XDK.</div>
<div style="box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 1em; margin-top: 0em;">
<div class="centered-text-area" style="box-sizing: border-box; min-height: 80px; position: relative; width: 648px;">
<br /></div>
<div class="ctaButton" style="background-attachment: initial; background-clip: initial; background-color: rgb(192, 57, 43) !important; background-image: url("https://www.tutorialpemrograman.com/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png"); background-origin: initial; background-position: initial; background-repeat: no-repeat; background-size: initial; border-radius: 3px; border: none; box-shadow: none; box-sizing: border-box; color: #e6e6e6; font-size: 14px; font-weight: bold; line-height: 26px; min-height: 80px; position: absolute; right: 0px; text-align: center; text-shadow: none; top: 0px; width: 80px;">
</div>
</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_792" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 760px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-792" height="340" sizes="(max-width: 648px) 100vw, 648px" src="https://i2.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_5.png?resize=648%2C346" srcset="https://i2.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_5.png?w=750&ssl=1 750w, https://i2.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_5.png?resize=375%2C200&ssl=1 375w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 5.</figcaption></figure><br />
<h4 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;">
Simulate</h4>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Menu ini digunakan untuk mensimulasikan project yang anda buat menggunakan beberapa emulator yang tersedia di Intel XDK.</div>
<h4 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;">
Test</h4>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Menu ini digunakan untuk mensimulasikan project yang anda buat menggunakan perangkat yang anda memiliki. Anda juga harus menginstall aplikasi tambahan yang dapat di-download di Store anda agar dapat melakukan testing secara langsung.</div>
<h4 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;">
Debug</h4>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Digunakan untuk melihat apakah project yang anda buat terdapat error atau bug.</div>
<h4 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;">
Build</h4>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Menu ini digunakan untuk mem-<em style="box-sizing: border-box;">build</em> project yang telah dibuat menjadi sebuah aplikasi siap pakai untuk beberapa perangkat yang didukung oleh Intel XDK.</div>
<h4 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;">
Publish</h4>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Digunakan untuk mem-<em style="box-sizing: border-box;">publish</em> hasil <em style="box-sizing: border-box;">build</em> yang telah dibuat ke dalam beberapa Store yang didukung oleh Intel XDK. Anda juga dapat mengisi deskripsi, icon, screenshot, category dan lain sebagainya pada menu ini, sehingga sudah siap untuk di publish ke dalam Store.</div>
<h2 style="box-sizing: border-box; color: #da4453; font-family: "Open Sans", sans-serif; font-size: 24px; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">
Membuat Aplikasi Sederhana</h2>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Sebelumnya, sudah menjelaskan cara membuat sebuah project yang diberi nama dengan <code style="background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13.5px; padding: 2px 4px;">HelloWorld</code>, sekarang buka kembali menu Develop pada workspace anda dan pastikan aktif pada sub-menu Design.</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Pada tab <span style="box-sizing: border-box; font-weight: 700;">Controls</span> > <span style="box-sizing: border-box; font-weight: 700;">Common</span>, drag n drop icon <span style="box-sizing: border-box; font-weight: 700;">Text</span> ke dalam page anda. Sehingga muncul tulisan “<em style="box-sizing: border-box;">Lorem ipsum …</em>“, anda hapus saja dan tuliskan dengan “Hello World”.</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_793" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 760px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-793" height="340" sizes="(max-width: 648px) 100vw, 648px" src="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_6.png?resize=648%2C346" srcset="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_6.png?w=750&ssl=1 750w, https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_6.png?resize=375%2C200&ssl=1 375w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 6.</figcaption></figure><br />
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Jika sudah, klik menu <span style="box-sizing: border-box; font-weight: 700;">Simulate</span>, dan pilih platform dan perangkat yang digunakan untuk melihat dalam bentuk emulatornya. Dalam tutorial ini, saya memilih platform Android, dan perangkat Google Nexus 4. Lalu klik, <span style="box-sizing: border-box; font-weight: 700;">Start Simulator</span>.</div>
<div style="box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 1em; margin-top: 0em;">
<div class="centered-text-area" style="box-sizing: border-box; min-height: 80px; position: relative; width: 648px;">
<br /></div>
<div class="ctaButton" style="background-attachment: initial; background-clip: initial; background-color: rgb(192, 57, 43) !important; background-image: url("https://www.tutorialpemrograman.com/wp-content/plugins/intelly-related-posts/assets/images/simple-arrow.png"); background-origin: initial; background-position: initial; background-repeat: no-repeat; background-size: initial; border-radius: 3px; border: none; box-shadow: none; box-sizing: border-box; color: #e6e6e6; font-size: 14px; font-weight: bold; line-height: 26px; min-height: 80px; position: absolute; right: 0px; text-align: center; text-shadow: none; top: 0px; width: 80px;">
</div>
</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_794" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 760px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-794" height="340" sizes="(max-width: 648px) 100vw, 648px" src="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_7.png?resize=648%2C346" srcset="https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_7.png?w=750&ssl=1 750w, https://i1.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_7.png?resize=375%2C200&ssl=1 375w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 7.</figcaption></figure><br />
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Tunggu beberapa saat, dan jika berhasil tampilan workspace anda akan seperti gambar di bawah ini.</div>
<br />
<br />
<br />
<br />
<figure class="thumbnail wp-caption aligncenter" id="attachment_795" style="background-color: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; clear: both; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; line-height: 1.42857; margin: 0px auto 1.5em; max-width: 100%; padding: 4px; transition: border 0.2s ease-in-out; width: 760px;"><img alt="belajar-membuat-aplikasi-android-html5-dengan-intel-xdk" class="size-full wp-image-795" height="340" sizes="(max-width: 648px) 100vw, 648px" src="https://i2.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_8.png?resize=648%2C346" srcset="https://i2.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_8.png?w=750&ssl=1 750w, https://i2.wp.com/www.tutorialpemrograman.com/wp-content/uploads/2016/11/belajar-membuat-aplikasi-android-html-dengan-intel-xdk-bagian-1_8.png?resize=375%2C200&ssl=1 375w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin-left: auto; margin-right: auto; max-width: 100%; vertical-align: middle;" width="638" /><figcaption class="caption wp-caption-text" style="box-sizing: border-box; color: #333333; margin: 0.8075em 0px; padding: 9px; text-align: center;">Gambar 8.</figcaption></figure><br />
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Sekarang anda sudah mengerti bagaimana cara menggunakan Intel XDK ini, mudah bukan?</div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
<br /></div>
<div style="box-sizing: border-box; color: #6b6b6b; font-family: "Open Sans"; font-size: 15px; margin-bottom: 10px;">
Jadi, itulah tutorial Belajar Membuat Aplikasi Android HTML5 dengan Intel XDK dasar. Semoga artikel ini bermanfaat. Terima kasih.</div>
<div style="box-sizing: border-box; margin-bottom: 10px;">
<span style="color: #6b6b6b; font-family: "open sans";"><span style="font-size: 15px;">https://www.tutorialpemrograman.com</span></span></div>
</div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-26949347287084268132016-10-24T09:21:00.000+07:002018-11-24T08:52:35.667+07:00Library pada C dan C++<div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="background-color: white; color: #333333; font-family: "Yanone Kaffeesatz", Arial, Helvetica, sans-serif; font-size: 28px; font-stretch: normal; line-height: 28px; margin: 0px 0px 10px; padding: 0px 0px 10px; text-align: justify;">
<a href="http://firman-rpl.blogspot.co.id/2012/07/library-function-pada-c-dan-c-dalam.html" style="color: #333333; margin: 0px; padding: 0px; text-decoration: none;">Library Function Pada C dan C++ dalam Bahasa Pemrograman</a></h3>
<div class="post-header-line-1" style="background-color: white; font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: justify;">
</div>
<div style="background-color: white; margin: 15px 0px; padding: 0px; text-align: justify;">
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">Library adalah kumpulan fungsi yang disediakan oleh bahasa pemrograman C atau C++, yang dapat digunakan sewaktu-waktu kapan pun dibutuhkan tinggal memanggil dengan perintah #include <nama_library>.</span></span></div>
<div style="background-color: white; margin: 15px 0px; padding: 0px; text-align: justify;">
<div class="adsense" style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">
</div>
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">Sebagai contoh fungsi yang digunakan untuk mencetak ke layar monitor (</span></span><u style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px;"><b style="margin: 0px; padding: 0px;">cout</b></u><span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">) disimpan pada file </span></span><u style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px;"><b style="margin: 0px; padding: 0px;">iostream.h</b></u><span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">. berikut beberapa library yang disediakan:</span></span><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library iostream.h</b></div>
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">Standard Input / Output Streams Library.</span></span><br />
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">Elemen iostream library (char instantion) :</span></span><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<b style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">Classes :</b><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">| ios_base Base | ios | istream | ostream | iostream | ifstream | ofstream | fstream | istringstream | ostringstream | stringtream | streambuf | filebuf | stringbuf |</span></span><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<b style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">Objects :</b><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">| cin | cout | cerr | clog |</span></span><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<b style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">Types :</b><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">| fpos : | streamoff | streampos | streamsize |</span></span><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<b style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px;">Manipulators :</b><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">| boolalpha | dec | endl | ends | fixed | flush | hex | internal | left | noboolalpha | noshowbase | noshowpoint | noshowpos | noskipws | nounitbuf | nouppercase | oct | resetiosflags | right | scientific | setbase | setfill | setiosflags | setprecision | setw | showbase | showpoint | showpos | skipws | unitbuf | uppercase | ws |</span></span><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">Objek iostream mewarisi semua anggota yaitu istream dan ostream, sehingga mampu melakukan kedua operasi input dan output.</span></span><br />
<br style="line-height: 12px; margin: 0px; padding: 0px;" />
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library stdio.h</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Library <b style="margin: 0px; padding: 0px;">stdio.h</b> adalah library pada bahasa C yang digunakan untuk operasi input output (stdio = Standard Input and Output). Tanpa menggunakan library ini maka perintah - perintah input/output tidak dapat dieksekusi atau dijalankan.</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Functions :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| clearr() | fclose() | fccloseall() | fdopen() | fflush() | fgetc() | fgetchar() | fgetpos() | fgets() | flushall() | fopen() | fprint() | fputc() | fputchar() | fputs() | fread() | free() | freopen() | fscan() | fseek() | fsetpos() | ftell() | fwrite() | gets() | getw() | perror() | printf() | puts() | putw() | rename() | rewind() | scanf() | unlink() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Macroes :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| feof(f) | ferror(f) | fileno(f) | getch(f) | getchar(f) | putchar(f) | remove(path) |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Contoh penggunaan library <b style="margin: 0px; padding: 0px;">stdio.h</b> dengan library functions <b style="margin: 0px; padding: 0px;">printf()</b> dalam program :</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
#include <stdio.h><br />
int main(){<br />
printf("Hello SMKN 4 MALANG!\n");<br />
printf("Selamat Belajar Pemrograman C++.");<br />
return 0;<br />
}</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Contoh penggunaan library <b style="margin: 0px; padding: 0px;">stdio.h</b> dengan library functions <b style="margin: 0px; padding: 0px;">puts()</b> dalam program :</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
#include <stdio.h><br />
#include <conio.h><br />
using namespace std;<br />
int main(){<br />
char x[20]="SMKN 4 MALANG";<br />
puts("Sekolah Siap Kerja Hanya di ");<br />
puts(x);<br />
return 0;<br />
}</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library math.h</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Library <b style="margin: 0px; padding: 0px;">math.h</b> merupakan sebuah library yang disediakan untuk melakukan perhitungan secara matematika.</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Functions :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| abs() | acosh() | asin() | atan() | atan2() | atof() | ceil() | cos() | cosh() | exp() | fabs() | floor() | fmod() | labs() | ldexp() | log() | log10() | pow() | sin() | sinh() | sqrt() | tan() | tanh() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Contoh penggunaan library <b style="margin: 0px; padding: 0px;">math.h</b> dengan library functions <b style="margin: 0px; padding: 0px;">cos()</b> dan <b style="margin: 0px; padding: 0px;">sin()</b> dalam program :</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
//Penggunaan library math.h<br />
#include <iostream.h><br />
#include <math.h><br />
using namespace std;<br />
int main(){<br />
double kecepatan, jarak, sudut;<br />
kecepatan=20;<br />
sudut=25;<br />
jarak = 2*kecepatan*kecepatan*sin(sudut*3.14/180)*cos(sudut*3.14/180)/9.8;<br />
cout<<"Jarak = "<<jarak;<br />
cout<<"\n";<br />
system("Pause");<br />
return 0;<br />
}</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library stdlib.h</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Library <b style="margin: 0px; padding: 0px;">stdlib.h</b> merupakan library yang hampir sama dengan library <b style="margin: 0px; padding: 0px;">math.h</b>, namun isi dari library <b style="margin: 0px; padding: 0px;">stdlib.h </b>berbeda dengan library <b style="margin: 0px; padding: 0px;">math.h</b> yaitu :</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Functions :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| abs() | atof() | atoi() | atol() | div() | exit() | free() | ldiv() | malloc() | rand() | srand() | system() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Macroes :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| abs(x) | atoi(s) | random(num) | randomize() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Contoh penggunaan library <b style="margin: 0px; padding: 0px;">stdlib.h</b> dengan library functions <b style="margin: 0px; padding: 0px;">atoi()</b> dalam program :</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
//Penggunaan library stdlib.h<br />
#include <iostream.h><br />
#include <stdlib.h><br />
using namespace std;<br />
int main(){<br />
char karakter[8]="12.3AB";<br />
int nilai;<br />
nilai=atoi(karakter);<br />
cout<<nilai<<endl;<br />
system("Pause");<br />
return 0;<br />
}</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library string.h</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Suatu library pada bahasa C yang digunakan untuk memberikan nilai suatu karakter string.</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Librari Functions :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| strcpy() | strcat() | strchr() | strcmp() | strlen() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Contoh penggunaan library <b style="margin: 0px; padding: 0px;">string.h</b> dengan library functions <b style="margin: 0px; padding: 0px;">strcpy()</b> dalam program :</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
//Penggunaan library string.h<br />
#include <iostream.h><br />
#include <string.h><br />
using namespace std;<br />
int main(){<br />
char info[30];<br />
strcpy(info, "info: SMKN 4 MALANG");<br />
cout<<info;<br />
cout<<"\n";<br />
system("Pause");<br />
return 0;<br />
}</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library conio.h</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Functions :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| clrscr() | getch() | getche() | gotoxy() | khbit() | putch() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
Contoh penggunaan library <b style="margin: 0px; padding: 0px;">conio.h</b> dengan library funtions <b style="margin: 0px; padding: 0px;">getche()</b> atau <b style="margin: 0px; padding: 0px;">getch()</b> dalam program :</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
//Penggunaan library conio.h<br />
#include <iostream.h><br />
#include <conio.h><br />
using namespace std;<br />
int main(){<br />
cout<<"Hai, Selamat datang siswa baru SMKN 4 MALANG \n";<br />
getche();<br />
}</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library io.h</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Functions :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| access() | _close() | close() | _creat() | eof() | filelenght() | _open() | open() | _read() | read() | _write() | write() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: center;">
<b style="margin: 0px; padding: 0px;">Library ctype.h</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Functions :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| stlower() | toupper() |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b style="margin: 0px; padding: 0px;">Library Macroes :</b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<br style="line-height: 12px; margin: 0px; padding: 0px;" /></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
| isalnum( c) | isalpha( c) | isascii( c) | iscntrl( c) | isdigit( c) | isgraph( c) | islower( c) | isprint( c) | ispunct( c) | isspace( c) | isupper( c) | isxdigit( c) | toascii( c) | _tolower( c) | _toupper( c) |</div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b><br /></b></div>
<div style="font-family: Verdana, sans-serif; font-size: 12px; margin: 0px; padding: 0px; text-align: left;">
<b>Rujukan:</b></div>
<div style="margin: 0px; padding: 0px; text-align: left;">
<span style="font-family: "verdana" , sans-serif;"><span style="font-size: 12px;">http://firman-rpl.blogspot.co.id/</span></span></div>
</div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-1623146397049569212016-10-13T07:44:00.002+07:002018-11-24T08:54:06.747+07:00Pencarian Berurutan (Squential Search)<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: x-large;"><b>Pencarian Berurutan (Squential Search)</b></span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif; font-size: x-large;"><b><br /></b></span>
<span style="font-family: "arial" , "helvetica" , sans-serif;">adalah sebuah metode pencarian data dengan metode <span style="background-color: white; color: #333333;">membandingkan setiap setiap elemen larik satu per satu secara urut(beruntun), mulai dari elemen pertama sampai dengan elemen yang terakhir.</span></span><br />
<br />
berikut contoh programnya:<br />
<br />
#include <iostream><br />
using namespace std;<br />
<br />
int main()<br />
{<br />
<br />
cout<<"=========================================="<<endl;<br />
cout<<"=====PROGRAM PENCARIAN DATA ARRAY======"<<endl;<br />
cout<<"=========================================="<<endl<<endl;<br />
<br />
int n,bil_cari,Data[10];<br />
int i,ketemu;<br />
<br />
cout<<" Inputan jumlah data dalam array : "; cin>>n;<br />
cout<<endl;<br />
for(int c=0; c<n; c++)<br />
{<br />
cout<<" Elemen data array ke - "<<c<<" = "; cin>>Data[c];<br />
}<br />
i=0;<br />
cout<<" \n\n Inputkan bilangan yang dicari = "; cin>>bil_cari;<br />
ketemu = 0;<br />
<br />
while((i<10) && (ketemu==0))<br />
{<br />
if(Data[i] == bil_cari)<br />
{<br />
ketemu=1;<br />
cout<<" \n Pencarian sequential "<<bil_cari<<" \nAda pada indeks ke - " <<i;<br />
}<br />
else<br />
i=i+1;<br />
}<br />
if(ketemu == 1)<br />
cout<<"\n Data ada dalam larik!!! "<<endl;<br />
else<br />
cout<<"\n Data tidak ada dalam larik!!!"<<endl;<br />
return 0;<br />
}<br />
<br />
Hasil nya sbb:<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSS9-tGzdUkhXXkDxIzywFU0y2ZhEhgt9V3MODBHsqgzMND5RwNMOD9kF_aDRR7fNqAGyLkC-WO08Z8cKQe-d8oc_vBYNTnbR8YTxXCTr6-1jw7nChTjG5Rx3Ni0YtKKSRd1up8w8xiTc/s1600/sequencial+search.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSS9-tGzdUkhXXkDxIzywFU0y2ZhEhgt9V3MODBHsqgzMND5RwNMOD9kF_aDRR7fNqAGyLkC-WO08Z8cKQe-d8oc_vBYNTnbR8YTxXCTr6-1jw7nChTjG5Rx3Ni0YtKKSRd1up8w8xiTc/s320/sequencial+search.png" width="320" /></a></div>
<br />
<div>
<br /></div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com1tag:blogger.com,1999:blog-4413170311649660084.post-61233249348188760522016-05-09T09:01:00.002+07:002018-11-24T09:09:18.706+07:00Test akhir pemrograman dasar semester 2<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<span style="background-color: white; font-family: "times new roman" , "serif";">Buatlah
program dari permasalahan berikut!.<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpFirst" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 13.65pt; margin-left: 20.25pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif; font-size: 12pt;">1.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Poin 5)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span><span style="font-family: "times new roman" , serif; font-size: 12pt;">Program
menghitung luas dan keliling lingkaran. Dengan rumus phi = 3.14, L = phi*r*r, K
= phi*2*r</span><span style="font-family: "arial" , "sans-serif"; font-size: 12.0pt;"><o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 14.7pt; margin-bottom: 0cm;">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 14.7pt; margin-bottom: 0cm;">
<span style="background-color: white;"><i><span style="font-family: "times new roman" , serif; font-size: 12pt;">Tampilan
Yang Diinginkan:</span></i><span style="font-family: "times new roman" , serif; font-size: 12pt;"><o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 14.7pt; margin-bottom: 0cm;">
<span style="background-color: white; font-family: "times new roman" , serif; font-size: 12pt;">Masukkan
Nilai Jari-jari : ... <di-input><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 14.7pt; margin-bottom: 0cm;">
<span style="background-color: white; font-family: "times new roman" , serif; font-size: 12pt;">Luas
Lingkaran : ... < hasil proses ><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 14.7pt; margin-bottom: 0cm;">
<span style="background-color: white; font-family: "times new roman" , serif; font-size: 12pt;">Keliling
Lingkaran : ... < hasil proses ><o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15pt; margin-bottom: 0cm;">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpLast" style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 15pt; margin: 0cm 0cm 0cm 20.25pt; text-indent: -18pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif; font-size: 9pt;">2.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;">(Poin 5)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> Buatlah sebuah
program kalkulator yang dapat melakukan proses penjumlahan, pengurangan,
perkalian, dan pembagian secara bersamaan hingga tampilan di layar
monitor sebagai berikut :</span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj39v4dc2oIdN-lwPFrgbZ3OTJzij36lXfEatfzIt2keKCHN3p6pWV_B3cdR1zu90lSfREa1hlxm4CpDRdStkaUbf5Ntw1qawLZPDisjaeIUl96ICOh89BxTKgzyzaM2FZ-avtamLSDBzQ/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="background-color: white; color: black;"><img border="0" height="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj39v4dc2oIdN-lwPFrgbZ3OTJzij36lXfEatfzIt2keKCHN3p6pWV_B3cdR1zu90lSfREa1hlxm4CpDRdStkaUbf5Ntw1qawLZPDisjaeIUl96ICOh89BxTKgzyzaM2FZ-avtamLSDBzQ/s320/2.png" width="320" /></span></a></div>
<span style="background-color: white;"> <b style="font-family: 'Times New Roman', serif; font-size: 12pt; line-height: 15pt; text-align: center; text-indent: -18pt;"><span style="font-size: 12pt;"> </span></b><span style="font-family: "times new roman" , serif; font-size: 9pt; line-height: 15pt; text-align: center;"> </span></span><br />
<span style="background-color: white;"><br />
</span><br />
<div class="MsoListParagraphCxSpFirst" style="margin-left: 20.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 115%;">3.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;">(Poin 10)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;"> </span><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 115%;">Buatlah program untuk menentukan nilai terbesar dari 3
bilangan yang dimasukan.</span> Dengan tampilan sbb:<span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 115%;"><o:p></o:p></span></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy374HMBlcSlZow8FmroQBztB1XcAnzgPGDnkIkytKeUy-kCGz5Mq-XKIpOtcr6_ICZDa4JHjtoJxHZ1fPINQBEphBLxAJmS2QyZ7JeSXYtDPGD1RmcG6OurY6cn2PT6jD6z_9JtLuayQ/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="background-color: white; color: black;"><img border="0" height="97" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy374HMBlcSlZow8FmroQBztB1XcAnzgPGDnkIkytKeUy-kCGz5Mq-XKIpOtcr6_ICZDa4JHjtoJxHZ1fPINQBEphBLxAJmS2QyZ7JeSXYtDPGD1RmcG6OurY6cn2PT6jD6z_9JtLuayQ/s400/Capture.PNG" width="400" /></span></a></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 20.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 115%;">4.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal; line-height: normal;">
</span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;">(Poin 10)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;"> </span><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 115%;">Buatlah program untuk
menentukan bilangan yang diinputkan adalah Ganjil, Genap atau Nol. </span><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 115%;">Dengan tampilan sbb:</span><span style="font-family: "times new roman" , serif; font-size: 12pt; line-height: 115%;"><o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="background-color: white;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxRPh_Bz271uqpsFMzzTAwzddbCM8uIWrc-5KQ-seTEAtuVlZl_k9N8idJ1zyKHS7oW7b3cMwPRTuhd25Cb0G11Xp8pNFKg4D7hit798_-i6GgF-ZD1HvM1IOVuyGgFWT1JOhyphenhyphendlmFRJg/s1600/ganjil1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="background-color: white; color: black;"><img border="0" height="52" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxRPh_Bz271uqpsFMzzTAwzddbCM8uIWrc-5KQ-seTEAtuVlZl_k9N8idJ1zyKHS7oW7b3cMwPRTuhd25Cb0G11Xp8pNFKg4D7hit798_-i6GgF-ZD1HvM1IOVuyGgFWT1JOhyphenhyphendlmFRJg/s400/ganjil1.PNG" width="400" /></span></a></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 20.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif;">5.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;">(Poin 10)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;"> </span><span style="font-family: "times new roman" , "serif";">Menentukan
jenis segitiga<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">a.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Sama
sisi = ketiga sisinya sama<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">b.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Sama
kaki = kedua sisinya sama<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpLast" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">c.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Sembarang
= tidak ada sisi yang sama<o:p></o:p></span></span></div>
<div class="MsoNormal">
<span style="background-color: white; font-family: "times new roman" , "serif";">Dengan inputan
panjang sisi1, sisi2 dan sisi3, output nya adalah keterangan jenis segitiga.<br clear="all" style="mso-special-character: line-break; page-break-before: always;" />
<o:p></o:p></span></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpFirst" style="margin-left: 20.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif;">6.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;">(Poin 10)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;"> </span><span style="font-family: "times new roman" , "serif";">Menentukan nama
lapisan udara di atmosfir dengan inputan ketinggian dalam satuan KM dan output
jenis lapisan<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">a.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">0
≤ tinggi < 10 km = Troposfer<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">b.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">10
≤ tinggi < 40 km = Stratosfer<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">c.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">40
≤ tinggi < 70 km = Mesosfer<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">d.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">70
≤ tinggi < 400 km = Termosfer<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">e.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Tinggi
≥ 400 km = Eksosfer<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto;">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 20.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif;">7.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;">(Poin 20)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;"> </span><span style="font-family: "times new roman" , "serif";">Menentukan
jumlah hari dalam satu bulan dengan inputan kode bulan [1...12] dan output
jumlah hari.<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">a.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Bulan
2 </span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 28 atau 29 hari<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">b.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Bulan
1, 3, 5, 7, 8, 10, 12 </span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 31 hari<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">c.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Bulan
4, 6, 9, 11 </span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 30 hari<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 72.0pt; mso-add-space: auto;">
<span style="background-color: white;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 20.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , serif;">8.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;"> </span></span><!--[endif]--><b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;">(Poin 30)</span></b><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt; line-height: 115%;"> </span><span style="font-family: "times new roman" , "serif";">Menentukan
zodiak dengan inputan tanggal dan bulan lahir, output jenis zodiak<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">a.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Aries
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 21 Maret – 19 April<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">b.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Taurus
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 20 April – 20 Mei<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">c.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Gemini
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 21 Mei – 20 juni<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">d.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Cancer
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 21 Juni – 22 Juli<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">e.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Leo
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 23 Juli – 22 Agustus<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">f.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Virgo
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 23 Agustus – 22 September<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">g.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Libra
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 23 September – 22 Oktober<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">h.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Scorpio
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 23 Oktober – 21 november<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">i.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Sagitarius
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 22 November – 21 Desember<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">j.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Capricorn
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 22 Desember – 19 Januari<o:p></o:p></span></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">k.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Aquarius
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span><span style="font-family: "times new roman" , "serif";"> 20 Januari – 18 Februari<o:p></o:p></span></span></div>
<span style="background-color: white;"><br />
</span><br />
<div class="MsoListParagraphCxSpLast" style="margin-left: 56.25pt; mso-add-space: auto; mso-list: l0 level2 lfo1; text-indent: -18.0pt;">
<!--[if !supportLists]--><span style="background-color: white;"><span style="font-family: "times new roman" , "serif"; mso-fareast-font-family: "Times New Roman";">l.<span style="font-family: "times new roman"; font-size: 7pt; font-stretch: normal;">
</span></span><!--[endif]--><span style="font-family: "times new roman" , "serif";">Pisces
</span><span style="font-family: "wingdings"; mso-ascii-font-family: "Times New Roman"; mso-bidi-font-family: "Times New Roman"; mso-char-type: symbol; mso-hansi-font-family: "Times New Roman"; mso-symbol-font-family: Wingdings;">à</span></span><span style="font-family: "times new roman" , "serif";"><span style="background-color: white;"> 19 Februari – 20 Maret</span><o:p></o:p></span></div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com0tag:blogger.com,1999:blog-4413170311649660084.post-87818687943486739232014-01-20T11:18:00.000+07:002018-11-24T08:53:38.991+07:00Soal Perakitan PC<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="direction: ltr; language: en-US; margin-bottom: 0pt; margin-left: 0in; margin-top: 7.68pt; mso-line-break-override: none; punctuation-wrap: hanging; text-align: center; text-indent: 0in; unicode-bidi: embed; word-break: normal;">
<span style="font-family: "calibri"; font-size: 44pt;">Test
</span><span style="font-family: "calibri"; font-size: 44pt;">Perakitan</span><span style="font-family: "calibri"; font-size: 44pt;"> PC</span></div>
<div style="direction: ltr; language: en-US; margin-bottom: 0pt; margin-left: 0in; margin-top: 7.68pt; mso-line-break-override: none; punctuation-wrap: hanging; text-align: center; text-indent: 0in; unicode-bidi: embed; word-break: normal;">
<span style="color: red; font-family: "calibri"; font-size: 32.0pt;">Siapkan</span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;"> </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">buku</span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;"> </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">dan</span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;"> </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">alat</span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;"> </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">tulis</span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">….</span></div>
<div style="direction: ltr; language: en-US; margin-bottom: 0pt; margin-left: 0in; margin-top: 7.68pt; mso-line-break-override: none; punctuation-wrap: hanging; text-align: center; text-indent: 0in; unicode-bidi: embed; word-break: normal;">
<span style="color: red; font-family: "calibri"; font-size: 32.0pt;">60 </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">soal</span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;"> </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">PILGAN</span></div>
<br />
<div style="direction: ltr; language: en-US; margin-bottom: 0pt; margin-left: 0in; margin-top: 7.68pt; mso-line-break-override: none; punctuation-wrap: hanging; text-align: center; text-indent: 0in; unicode-bidi: embed; word-break: normal;">
<span style="color: red; font-family: "calibri"; font-size: 32.0pt;">1 </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">soal</span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;"> 1 </span><span style="color: red; font-family: "calibri"; font-size: 32.0pt;">menit</span></div>
</div>
Malanghttp://www.blogger.com/profile/13689983284044175236noreply@blogger.com2