You are on page 1of 17

LAPORAN PRAKTIKUM

BAHASA PEMROGRAMAN VISUAL


CONDITION I

ANIS EKO SETIOWATI


109533423243
OFF B PTI 09

UNIVERSITAS NEGERI MALANG


FAKULTAS TEKNIK
JURUSAN TEKNIK ELEKTRO
PROGRAM STUDI TEKNIK INFORMATIKA

MARET 2011
CONDITION I

A. TUJUAN
- Memahami tujuan condition
- Memiliki strategi dalam menggunakan condition
- Mampu menyelesaikan kasus-kasus yang melibatkan condition
- Menguasai penggunaan condition
- Mampu menerapkan dan mengaplikasikan penggunaan condition

B. TUGAS PRAKTIKUM
1. Membuat aplikasi dengan tyampilan seperti di modul.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
TextBox3.Text = (TextBox1.Text < TextBox2.Text)
TextBox4.Text = (TextBox1.Text > TextBox2.Text)
TextBox5.Text = (TextBox1.Text = TextBox2.Text)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button2.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
TextBox4.Text = ""
TextBox5.Text = ""
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button3.Click
Close()
End Sub
End Class

Nilai diinputkan melalui textbox 1 dan 2,.


Fungsi pada textbox3 adalah nilai1<nilai2,
pada textbox 4 adalah nilai1>nilai2,
sedangkan pada textbox5 adalah
nilai1=nilai2. Keluaran pada saat proses di
klik pada textbox 4-5 sesuai dengan fungsi
operator operasional tersebut.

2. Membuat aplikasi matematika dengan ketentuan seperti di modul


Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
If RadioButton1.Checked = True Then
TextBox3.Text = CStr(CDbl(TextBox1.Text) + CDbl(TextBox2.Text))
ElseIf RadioButton2.Checked = True Then
TextBox3.Text = CStr(CDbl(TextBox1.Text) - CDbl(TextBox2.Text))
ElseIf RadioButton3.Checked = True Then
TextBox3.Text = CStr(CDbl(TextBox1.Text) * (TextBox2.Text))
ElseIf RadioButton4.Checked = True Then
TextBox3.Text = CStr(CDbl(TextBox1.Text)/ TextBox2.Text))
ElseIf RadioButton5.Checked = True Then
TextBox3.Text = CStr(CDbl(TextBox1.Text) ^ (TextBox2.Text))
ElseIf RadioButton6.Checked = True Then
TextBox3.Text = CStr(CDbl(TextBox1.Text) ^ (1 / (TextBox2.Text)))
End If
End Sub
Private Sub RadioButton1_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton1.CheckedChanged
Label1.Text = "+"
End Sub
Private Sub RadioButton2_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton2.CheckedChanged
Label1.Text = "-"
End Sub
Private Sub RadioButton3_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton3.CheckedChanged
Label1.Text = "*"
End Sub
Private Sub RadioButton4_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton4.CheckedChanged
Label1.Text = "/"
End Sub
Private Sub RadioButton5_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton5.CheckedChanged
Label1.Text = "^"
End Sub
Private Sub RadioButton6_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton6.CheckedChanged
Label1.Text = "V"
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button2.Click
TextBox1.Text = ""
TextBox2.Text = ""
TextBox3.Text = ""
RadioButton2.Checked = False
RadioButton1.Checked = False
RadioButton3.Checked = False
RadioButton4.Checked = False
RadioButton5.Checked = False
RadioButton6.Checked = False
Label1.Visible = False
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button3.Click
Close()
End Sub
End Class

Menghitung penjumlahan:
Saat di reset:

Menghitung akar:

C. TUGAS PRAKTIKUM
1. Membuat sebuah proram seperti di modul:
Public Class Form1
Private Sub RadioButton1_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton1.CheckedChanged
RadioButton4.Visible = True
RadioButton3.Visible = True
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
If RadioButton1.Checked = False And RadioButton2.Checked = False
Then
MessageBox.Show("Saudara " & TextBox1.Text & vbCrLf & "Cek kembali
pilihan Anda")
ElseIf RadioButton2.Checked = True Then
MessageBox.Show("Saudara " & TextBox1.Text & vbCrLf & "Anda belum
menikah, segeralah mencari pasangan hidup")
ElseIf RadioButton4.Checked = True Then
If ComboBox1.Text = "laki-laki" Then
MessageBox.Show("selamat " & TextBox1.Text & vbCrLf & "Anda
seorang Ayah " & ComboBox2.Text & " orang anak")
ElseIf ComboBox1.Text = "perempuan" Then
MessageBox.Show("selamat " & TextBox1.Text & vbCrLf & "Anda
seorang Ibu " & ComboBox2.Text & " orang anak")
End If
ElseIf RadioButton3.Checked = True Then
If ComboBox1.Text = "laki-laki" Then
MessageBox.Show("selamat " & TextBox1.Text & vbCrLf & "Anda
seorang suami, semoga cepat dikaruniai seorang anak")
ElseIf ComboBox1.Text = "perempuan" Then
MessageBox.Show("selamat " & TextBox1.Text & vbCrLf & "Anda
seorang istri, semoga cepat dikaruniai seorang anak")
End If
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button2.Click
TextBox1.Text = ""
RadioButton1.Checked = False
RadioButton2.Checked = False
RadioButton3.Checked = False
RadioButton4.Checked = False
ComboBox1.Text = ""
ComboBox2.Visible = False
Label5.Visible = False
RadioButton3.Visible = False
RadioButton4.Visible = False
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button3.Click
Close()
End Sub
Private Sub RadioButton4_CheckedChanged(ByVal sender As
System.Object, ByVal e As System.EventArgs) Handles
RadioButton4.CheckedChanged
ComboBox2.Visible = True
Label5.Visible = True
End Sub
End Class
2. Mengitputkan suatu nilai akhir ke dalam tetbox dan melakukan seleksi untuk nilai
abjad.
Form:
Public Class Form1 Label10.Visible = True
Private Sub Label11.Visible = True
ComboBox1_SelectedIndexChanged(ByVal Label12.Visible = True
sender As System.Object, ByVal e As Label13.Visible = True
System.EventArgs) Handles Label14.Visible = True
ComboBox1.SelectedIndexChanged Label15.Visible = True
If ComboBox1.Text = "8" Then TextBox1.Visible = True
GroupBox2.Visible = True TextBox2.Visible = True
ComboBox2.Visible = True TextBox3.Visible = True
ComboBox3.Visible = True TextBox4.Visible = True
ComboBox4.Visible = True TextBox5.Visible = True
ComboBox5.Visible = True TextBox6.Visible = True
ComboBox6.Visible = True TextBox7.Visible = True
ComboBox7.Visible = True TextBox8.Visible = True
ComboBox8.Visible = True TextBox9.Visible = True
ComboBox9.Visible = True Label38.Visible = True
Label7.Visible = True Label38.Visible = True
Label8.Visible = True Label39.Visible = True
Label9.Visible = True Label40.Visible = True
Label10.Visible = True Label41.Visible = True
Label11.Visible = True Label42.Visible = True
Label12.Visible = True Label43.Visible = True
Label13.Visible = True Label44.Visible = True
Label14.Visible = True Label45.Visible = True
TextBox1.Visible = True Label46.Visible = True
TextBox2.Visible = True Label22.Visible = True
TextBox3.Visible = True Label23.Visible = True
TextBox4.Visible = True Label24.Visible = True
TextBox5.Visible = True Label25.Visible = True
TextBox6.Visible = True Label26.Visible = True
TextBox7.Visible = True Label27.Visible = True
TextBox8.Visible = True Label28.Visible = True
Label38.Visible = True Label29.Visible = True
Label39.Visible = True Label30.Visible = True
Label40.Visible = True ElseIf ComboBox1.Text = "10" Then
Label41.Visible = True GroupBox2.Visible = True
Label42.Visible = True ComboBox2.Visible = True
Label43.Visible = True ComboBox3.Visible = True
Label44.Visible = True ComboBox4.Visible = True
Label45.Visible = True ComboBox5.Visible = True
Label22.Visible = True ComboBox6.Visible = True
Label23.Visible = True ComboBox7.Visible = True
Label24.Visible = True ComboBox8.Visible = True
Label25.Visible = True ComboBox9.Visible = True
Label26.Visible = True ComboBox10.Visible = True
Label27.Visible = True ComboBox11.Visible = True
Label28.Visible = True Label7.Visible = True
Label29.Visible = True Label8.Visible = True
ElseIf ComboBox1.Text = "9" Then Label9.Visible = True
GroupBox2.Visible = True Label10.Visible = True
ComboBox2.Visible = True Label11.Visible = True
ComboBox3.Visible = True Label12.Visible = True
ComboBox4.Visible = True Label13.Visible = True
ComboBox5.Visible = True Label14.Visible = True
ComboBox6.Visible = True Label15.Visible = True
ComboBox7.Visible = True Label16.Visible = True
ComboBox8.Visible = True TextBox1.Visible = True
ComboBox9.Visible = True TextBox2.Visible = True
ComboBox10.Visible = True TextBox3.Visible = True
Label7.Visible = True TextBox4.Visible = True
Label8.Visible = True TextBox5.Visible = True
Label9.Visible = True TextBox6.Visible = True
TextBox7.Visible = True Label45.Visible = True
TextBox8.Visible = True Label46.Visible = True
TextBox9.Visible = True Label47.Visible = True
TextBox10.Visible = True Label48.Visible = True
Label38.Visible = True Label22.Visible = True
Label38.Visible = True Label23.Visible = True
Label39.Visible = True Label24.Visible = True
Label40.Visible = True Label25.Visible = True
Label41.Visible = True Label26.Visible = True
Label42.Visible = True Label27.Visible = True
Label43.Visible = True Label28.Visible = True
Label44.Visible = True Label29.Visible = True
Label45.Visible = True Label30.Visible = True
Label46.Visible = True Label31.Visible = True
Label47.Visible = True Label32.Visible = True
Label22.Visible = True ElseIf ComboBox1.Text = "12" Then
Label23.Visible = True GroupBox2.Visible = True
Label24.Visible = True ComboBox2.Visible = True
Label25.Visible = True ComboBox3.Visible = True
Label26.Visible = True ComboBox4.Visible = True
Label27.Visible = True ComboBox5.Visible = True
Label28.Visible = True ComboBox6.Visible = True
Label29.Visible = True ComboBox7.Visible = True
Label30.Visible = True ComboBox8.Visible = True
Label31.Visible = True ComboBox9.Visible = True
ElseIf ComboBox1.Text = "11" Then ComboBox10.Visible = True
GroupBox2.Visible = True ComboBox11.Visible = True
ComboBox2.Visible = True ComboBox12.Visible = True
ComboBox3.Visible = True ComboBox13.Visible = True
ComboBox4.Visible = True Label7.Visible = True
ComboBox5.Visible = True Label8.Visible = True
ComboBox6.Visible = True Label9.Visible = True
ComboBox7.Visible = True Label10.Visible = True
ComboBox8.Visible = True Label11.Visible = True
ComboBox9.Visible = True Label12.Visible = True
ComboBox10.Visible = True Label13.Visible = True
ComboBox11.Visible = True Label14.Visible = True
ComboBox12.Visible = True Label15.Visible = True
Label7.Visible = True Label16.Visible = True
Label8.Visible = True Label17.Visible = True
Label9.Visible = True Label18.Visible = True
Label10.Visible = True TextBox1.Visible = True
Label11.Visible = True TextBox2.Visible = True
Label12.Visible = True TextBox3.Visible = True
Label13.Visible = True TextBox4.Visible = True
Label14.Visible = True TextBox5.Visible = True
Label15.Visible = True TextBox6.Visible = True
Label16.Visible = True TextBox7.Visible = True
Label17.Visible = True TextBox8.Visible = True
TextBox1.Visible = True TextBox9.Visible = True
TextBox2.Visible = True TextBox10.Visible = True
TextBox3.Visible = True TextBox11.Visible = True
TextBox4.Visible = True TextBox12.Visible = True
TextBox5.Visible = True Label38.Visible = True
TextBox6.Visible = True Label38.Visible = True
TextBox7.Visible = True Label39.Visible = True
TextBox8.Visible = True Label40.Visible = True
TextBox9.Visible = True Label41.Visible = True
TextBox10.Visible = True Label42.Visible = True
TextBox11.Visible = True Label43.Visible = True
Label38.Visible = True Label44.Visible = True
Label38.Visible = True Label45.Visible = True
Label39.Visible = True Label46.Visible = True
Label40.Visible = True Label47.Visible = True
Label41.Visible = True Label48.Visible = True
Label42.Visible = True Label49.Visible = True
Label43.Visible = True Label22.Visible = True
Label44.Visible = True Label23.Visible = True
Label24.Visible = True Label25.Visible = True
Label25.Visible = True Label26.Visible = True
Label26.Visible = True Label27.Visible = True
Label27.Visible = True Label28.Visible = True
Label28.Visible = True Label29.Visible = True
Label29.Visible = True Label30.Visible = True
Label30.Visible = True Label31.Visible = True
Label31.Visible = True Label32.Visible = True
Label32.Visible = True Label33.Visible = True
Label33.Visible = True Label34.Visible = True
ElseIf ComboBox1.Text = "13" Then ElseIf ComboBox1.Text = "14" Then
GroupBox2.Visible = True GroupBox2.Visible = True
ComboBox2.Visible = True ComboBox2.Visible = True
ComboBox3.Visible = True ComboBox3.Visible = True
ComboBox4.Visible = True ComboBox4.Visible = True
ComboBox5.Visible = True ComboBox5.Visible = True
ComboBox6.Visible = True ComboBox6.Visible = True
ComboBox7.Visible = True ComboBox7.Visible = True
ComboBox8.Visible = True ComboBox8.Visible = True
ComboBox9.Visible = True ComboBox9.Visible = True
ComboBox10.Visible = True ComboBox10.Visible = True
ComboBox11.Visible = True ComboBox11.Visible = True
ComboBox12.Visible = True ComboBox12.Visible = True
ComboBox13.Visible = True ComboBox13.Visible = True
ComboBox14.Visible = True ComboBox14.Visible = True
Label7.Visible = True ComboBox15.Visible = True
Label8.Visible = True Label7.Visible = True
Label9.Visible = True Label8.Visible = True
Label10.Visible = True Label9.Visible = True
Label11.Visible = True Label10.Visible = True
Label12.Visible = True Label11.Visible = True
Label13.Visible = True Label12.Visible = True
Label14.Visible = True Label13.Visible = True
Label15.Visible = True Label14.Visible = True
Label16.Visible = True Label15.Visible = True
Label17.Visible = True Label16.Visible = True
Label18.Visible = True Label17.Visible = True
Label19.Visible = True Label18.Visible = True
TextBox1.Visible = True Label19.Visible = True
TextBox2.Visible = True Label20.Visible = True
TextBox3.Visible = True TextBox1.Visible = True
TextBox4.Visible = True TextBox2.Visible = True
TextBox5.Visible = True TextBox3.Visible = True
TextBox6.Visible = True TextBox4.Visible = True
TextBox7.Visible = True TextBox5.Visible = True
TextBox8.Visible = True TextBox6.Visible = True
TextBox9.Visible = True TextBox7.Visible = True
TextBox10.Visible = True TextBox8.Visible = True
TextBox11.Visible = True TextBox9.Visible = True
TextBox12.Visible = True TextBox10.Visible = True
TextBox13.Visible = True TextBox11.Visible = True
Label38.Visible = True TextBox12.Visible = True
Label38.Visible = True TextBox13.Visible = True
Label39.Visible = True TextBox14.Visible = True
Label40.Visible = True Label38.Visible = True
Label41.Visible = True Label38.Visible = True
Label42.Visible = True Label39.Visible = True
Label43.Visible = True Label40.Visible = True
Label44.Visible = True Label41.Visible = True
Label45.Visible = True Label42.Visible = True
Label46.Visible = True Label43.Visible = True
Label47.Visible = True Label44.Visible = True
Label48.Visible = True Label45.Visible = True
Label49.Visible = True Label46.Visible = True
Label50.Visible = True Label47.Visible = True
Label22.Visible = True Label48.Visible = True
Label23.Visible = True Label49.Visible = True
Label24.Visible = True Label50.Visible = True
Label51.Visible = True Label43.Visible = True
Label22.Visible = True Label44.Visible = True
Label23.Visible = True Label45.Visible = True
Label24.Visible = True Label46.Visible = True
Label25.Visible = True Label47.Visible = True
Label26.Visible = True Label48.Visible = True
Label27.Visible = True Label49.Visible = True
Label28.Visible = True Label50.Visible = True
Label29.Visible = True Label51.Visible = True
Label30.Visible = True Label52.Visible = True
Label31.Visible = True Label22.Visible = True
Label32.Visible = True Label23.Visible = True
Label33.Visible = True Label24.Visible = True
Label34.Visible = True Label25.Visible = True
Label35.Visible = True Label26.Visible = True
ElseIf ComboBox1.Text = "15" Then Label27.Visible = True
GroupBox2.Visible = True Label28.Visible = True
ComboBox2.Visible = True Label29.Visible = True
ComboBox3.Visible = True Label30.Visible = True
ComboBox4.Visible = True Label31.Visible = True
ComboBox5.Visible = True Label32.Visible = True
ComboBox6.Visible = True Label33.Visible = True
ComboBox7.Visible = True Label34.Visible = True
ComboBox8.Visible = True Label35.Visible = True
ComboBox9.Visible = True Label36.Visible = True
ComboBox10.Visible = True End If
ComboBox11.Visible = True End Sub
ComboBox12.Visible = True Private Sub
ComboBox13.Visible = True ComboBox2_SelectedIndexChanged_1(ByVal
ComboBox14.Visible = True sender As System.Object, ByVal e As
ComboBox15.Visible = True System.EventArgs) Handles
ComboBox16.Visible = True ComboBox2.SelectedIndexChanged
Label7.Visible = True If ComboBox2.Text = "Matematika Teknik
Label8.Visible = True II" Or ComboBox2.Text = "Elektronika
Label9.Visible = True Digital" Or ComboBox2.Text =
Label10.Visible = True "Rangkaian Lisgtrik AC" Or
Label11.Visible = True ComboBox2.Text = "Basis Data" Or
Label12.Visible = True ComboBox2.Text = "Pengantar Teknologi
Label13.Visible = True Informasi" Or ComboBox2.Text = "Fisika
Label14.Visible = True Teknik" Or ComboBox2.Text =
Label15.Visible = True "Pendidikan Kewarganegaraan" Or
Label16.Visible = True ComboBox2.Text = "Probabilitas dan
Label17.Visible = True Statistika" Or ComboBox2.Text =
Label18.Visible = True "Bahasa Indonesia Keilmuan" Or
Label19.Visible = True ComboBox2.Text = "Perawatan dan
Label20.Visible = True Perbaikan Komputer" Or ComboBox2.Text
Label21.Visible = True = "Manajemen Pendidikan Kejuruan" Or
TextBox1.Visible = True ComboBox2.Text = "Bahasa Pemrograman
TextBox2.Visible = True Visual" Or ComboBox2.Text = "Praktikum
TextBox3.Visible = True Basis Data" Or ComboBox2.Text =
TextBox4.Visible = True "Kurikulum Pendidikan Kejuruan" Or
TextBox5.Visible = True ComboBox2.Text = "Bahasa Pemrograman
TextBox6.Visible = True Berbasis Web" Or ComboBox2.Text =
TextBox7.Visible = True "Praktikum Bahasa Pemrograman Berbasis
TextBox8.Visible = True Web" Or ComboBox2.Text = "Praktikum
TextBox9.Visible = True Bahasa Pemrograman Visual" Then
TextBox10.Visible = True Label7.Text = 2
TextBox11.Visible = True ElseIf ComboBox2.Text = "Praktikum
TextBox12.Visible = True Elektronika Digital" Or ComboBox2.Text
TextBox13.Visible = True = "Praktikum Rangkaian Listrik Ac"
TextBox14.Visible = True Then Label7.Text = 1
TextBox15.Visible = True ElseIf ComboBox2.Text = "Sistem
Label38.Visible = True Operasi" Then Label7.Text = 3
Label38.Visible = True End If
Label39.Visible = True End Sub
Label40.Visible = True Private Sub
Label41.Visible = True ComboBox3_SelectedIndexChanged_1(ByVal
Label42.Visible = True sender As System.Object, ByVal e As
System.EventArgs) Handles = "Praktikum Rangkaian Listrik Ac"
ComboBox3.SelectedIndexChanged Then Label9.Text = 1
If ComboBox3.Text = "Matematika Teknik ElseIf ComboBox4.Text = "Sistem
II" Or ComboBox3.Text = "Elektronika Operasi" Then Label9.Text = 3
Digital" Or ComboBox3.Text = End If
"Rangkaian Lisgtrik AC" Or End Sub
ComboBox3.Text = "Basis Data" Or Private Sub
ComboBox3.Text = "Pengantar Teknologi ComboBox5_SelectedIndexChanged_1(ByVal
Informasi" Or ComboBox3.Text = "Fisika sender As System.Object, ByVal e As
Teknik" Or ComboBox3.Text = System.EventArgs) Handles
"Pendidikan Kewarganegaraan" Or ComboBox5.SelectedIndexChanged
ComboBox3.Text = "Probabilitas dan If ComboBox5.Text = "Matematika Teknik
Statistika" Or ComboBox3.Text = II" Or ComboBox5.Text = "Elektronika
"Bahasa Indonesia Keilmuan" Or Digital" Or ComboBox5.Text =
ComboBox3.Text = "Perawatan dan "Rangkaian Lisgtrik AC" Or
Perbaikan Komputer" Or ComboBox3.Text ComboBox5.Text = "Basis Data" Or
= "Manajemen Pendidikan Kejuruan" Or ComboBox5.Text = "Pengantar Teknologi
ComboBox3.Text = "Bahasa Pemrograman Informasi" Or ComboBox5.Text = "Fisika
Visual" Or ComboBox3.Text = "Praktikum Teknik" Or ComboBox5.Text =
Basis Data" Or ComboBox3.Text = "Pendidikan Kewarganegaraan" Or
"Kurikulum Pendidikan Kejuruan" Or ComboBox5.Text = "Probabilitas dan
ComboBox3.Text = "Bahasa Pemrograman Statistika" Or ComboBox5.Text =
Berbasis Web" Or ComboBox3.Text = "Bahasa Indonesia Keilmuan" Or
"Praktikum Bahasa Pemrograman Berbasis ComboBox5.Text = "Perawatan dan
Web" Or ComboBox3.Text = "Praktikum Perbaikan Komputer" Or ComboBox5.Text
Bahasa Pemrograman Visual" Then = "Manajemen Pendidikan Kejuruan" Or
Label8.Text = 2 ComboBox5.Text = "Bahasa Pemrograman
ElseIf ComboBox3.Text = "Praktikum Visual" Or ComboBox5.Text = "Praktikum
Elektronika Digital" Or ComboBox3.Text Basis Data" Or ComboBox5.Text =
= "Praktikum Rangkaian Listrik Ac" "Kurikulum Pendidikan Kejuruan" Or
Then Label8.Text = 1 ComboBox5.Text = "Bahasa Pemrograman
ElseIf ComboBox3.Text = "Sistem Berbasis Web" Or ComboBox5.Text =
Operasi" Then Label8.Text = 3 "Praktikum Bahasa Pemrograman Berbasis
End If Web" Or ComboBox5.Text = "Praktikum
End Sub Bahasa Pemrograman Visual" Then
Private Sub Label10.Text = 2
ComboBox4_SelectedIndexChanged_1(ByVal ElseIf ComboBox5.Text = "Praktikum
sender As System.Object, ByVal e As Elektronika Digital" Or ComboBox5.Text
System.EventArgs) Handles = "Praktikum Rangkaian Listrik Ac"
ComboBox4.SelectedIndexChanged Then Label10.Text = 1
If ComboBox4.Text = "Matematika Teknik ElseIf ComboBox5.Text = "Sistem
II" Or ComboBox4.Text = "Elektronika Operasi" Then Label10.Text = 3
Digital" Or ComboBox4.Text = End If
"Rangkaian Lisgtrik AC" Or End Sub
ComboBox4.Text = "Basis Data" Or Private Sub
ComboBox4.Text = "Pengantar Teknologi ComboBox6_SelectedIndexChanged_1(ByVal
Informasi" Or ComboBox4.Text = "Fisika sender As System.Object, ByVal e As
Teknik" Or ComboBox4.Text = System.EventArgs) Handles
"Pendidikan Kewarganegaraan" Or ComboBox6.SelectedIndexChanged
ComboBox4.Text = "Probabilitas dan If ComboBox6.Text = "Matematika Teknik
Statistika" Or ComboBox4.Text = II" Or ComboBox6.Text = "Elektronika
"Bahasa Indonesia Keilmuan" Or Digital" Or ComboBox6.Text =
ComboBox4.Text = "Perawatan dan "Rangkaian Lisgtrik AC" Or
Perbaikan Komputer" Or ComboBox4.Text ComboBox6.Text = "Basis Data" Or
= "Manajemen Pendidikan Kejuruan" Or ComboBox6.Text = "Pengantar Teknologi
ComboBox4.Text = "Bahasa Pemrograman Informasi" Or ComboBox6.Text = "Fisika
Visual" Or ComboBox4.Text = "Praktikum Teknik" Or ComboBox6.Text =
Basis Data" Or ComboBox4.Text = "Pendidikan Kewarganegaraan" Or
"Kurikulum Pendidikan Kejuruan" Or ComboBox6.Text = "Probabilitas dan
ComboBox4.Text = "Bahasa Pemrograman Statistika" Or ComboBox6.Text =
Berbasis Web" Or ComboBox4.Text = "Bahasa Indonesia Keilmuan" Or
"Praktikum Bahasa Pemrograman Berbasis ComboBox6.Text = "Perawatan dan
Web" Or ComboBox4.Text = "Praktikum Perbaikan Komputer" Or ComboBox6.Text
Bahasa Pemrograman Visual" Then = "Manajemen Pendidikan Kejuruan" Or
Label9.Text = 2 ComboBox6.Text = "Bahasa Pemrograman
ElseIf ComboBox4.Text = "Praktikum Visual" Or ComboBox6.Text = "Praktikum
Elektronika Digital" Or ComboBox4.Text Basis Data" Or ComboBox6.Text =
"Kurikulum Pendidikan Kejuruan" Or
ComboBox6.Text = "Bahasa Pemrograman "Bahasa Indonesia Keilmuan" Or
Berbasis Web" Or ComboBox6.Text = ComboBox8.Text = "Perawatan dan
"Praktikum Bahasa Pemrograman Berbasis Perbaikan Komputer" Or ComboBox8.Text
Web" Or ComboBox6.Text = "Praktikum = "Manajemen Pendidikan Kejuruan" Or
Bahasa Pemrograman Visual" Then ComboBox8.Text = "Bahasa Pemrograman
Label11.Text = 2 Visual" Or ComboBox8.Text = "Praktikum
ElseIf ComboBox6.Text = "Praktikum Basis Data" Or ComboBox8.Text =
Elektronika Digital" Or ComboBox6.Text "Kurikulum Pendidikan Kejuruan" Or
= "Praktikum Rangkaian Listrik Ac" ComboBox8.Text = "Bahasa Pemrograman
Then Label11.Text = 1 Berbasis Web" Or ComboBox8.Text =
ElseIf ComboBox6.Text = "Sistem "Praktikum Bahasa Pemrograman Berbasis
Operasi" Then Label11.Text = 3 Web" Or ComboBox8.Text = "Praktikum
End If Bahasa Pemrograman Visual" Then
End Sub Label13.Text = 2
Private Sub ElseIf ComboBox8.Text = "Praktikum
ComboBox7_SelectedIndexChanged_1(ByVal Elektronika Digital" Or ComboBox8.Text
sender As System.Object, ByVal e As = "Praktikum Rangkaian Listrik Ac"
System.EventArgs) Handles Then Label13.Text = 1
ComboBox7.SelectedIndexChanged ElseIf ComboBox8.Text = "Sistem
If ComboBox7.Text = "Matematika Teknik Operasi" Then Label13.Text = 3
II" Or ComboBox7.Text = "Elektronika End If
Digital" Or ComboBox7.Text = End Sub
"Rangkaian Lisgtrik AC" Or Private Sub
ComboBox7.Text = "Basis Data" Or ComboBox9_SelectedIndexChanged_1(ByVal
ComboBox7.Text = "Pengantar Teknologi sender As System.Object, ByVal e As
Informasi" Or ComboBox7.Text = "Fisika System.EventArgs) Handles
Teknik" Or ComboBox7.Text = ComboBox9.SelectedIndexChanged
"Pendidikan Kewarganegaraan" Or If ComboBox9.Text = "Matematika Teknik
ComboBox7.Text = "Probabilitas dan II" Or ComboBox9.Text = "Elektronika
Statistika" Or ComboBox7.Text = Digital" Or ComboBox9.Text =
"Bahasa Indonesia Keilmuan" Or "Rangkaian Lisgtrik AC" Or
ComboBox7.Text = "Perawatan dan ComboBox9.Text = "Basis Data" Or
Perbaikan Komputer" Or ComboBox7.Text ComboBox9.Text = "Pengantar Teknologi
= "Manajemen Pendidikan Kejuruan" Or Informasi" Or ComboBox9.Text = "Fisika
ComboBox7.Text = "Bahasa Pemrograman Teknik" Or ComboBox9.Text =
Visual" Or ComboBox7.Text = "Praktikum "Pendidikan Kewarganegaraan" Or
Basis Data" Or ComboBox7.Text = ComboBox9.Text = "Probabilitas dan
"Kurikulum Pendidikan Kejuruan" Or Statistika" Or ComboBox9.Text =
ComboBox7.Text = "Bahasa Pemrograman "Bahasa Indonesia Keilmuan" Or
Berbasis Web" Or ComboBox7.Text = ComboBox9.Text = "Perawatan dan
"Praktikum Bahasa Pemrograman Berbasis Perbaikan Komputer" Or ComboBox9.Text
Web" Or ComboBox7.Text = "Praktikum = "Manajemen Pendidikan Kejuruan" Or
Bahasa Pemrograman Visual" Then ComboBox9.Text = "Bahasa Pemrograman
Label12.Text = 2 Visual" Or ComboBox9.Text = "Praktikum
ElseIf ComboBox7.Text = "Praktikum Basis Data" Or ComboBox9.Text =
Elektronika Digital" Or ComboBox7.Text "Kurikulum Pendidikan Kejuruan" Or
= "Praktikum Rangkaian Listrik Ac" ComboBox9.Text = "Bahasa Pemrograman
Then Label12.Text = 1 Berbasis Web" Or ComboBox9.Text =
ElseIf ComboBox7.Text = "Sistem "Praktikum Bahasa Pemrograman Berbasis
Operasi" Then Label12.Text = 3 Web" Or ComboBox9.Text = "Praktikum
End If Bahasa Pemrograman Visual" Then
End Sub Label14.Text = 2
Private Sub ElseIf ComboBox9.Text = "Praktikum
ComboBox8_SelectedIndexChanged_1(ByVal Elektronika Digital" Or ComboBox9.Text
sender As System.Object, ByVal e As = "Praktikum Rangkaian Listrik Ac"
System.EventArgs) Handles Then Label14.Text = 1
ComboBox8.SelectedIndexChanged ElseIf ComboBox9.Text = "Sistem
If ComboBox8.Text = "Matematika Teknik Operasi" Then Label14.Text = 3
II" Or ComboBox8.Text = "Elektronika End If
Digital" Or ComboBox8.Text = End Sub
"Rangkaian Lisgtrik AC" Or Private Sub
ComboBox8.Text = "Basis Data" Or ComboBox10_SelectedIndexChanged_1(ByVa
ComboBox8.Text = "Pengantar Teknologi l sender As System.Object, ByVal e As
Informasi" Or ComboBox8.Text = "Fisika System.EventArgs) Handles
Teknik" Or ComboBox8.Text = ComboBox10.SelectedIndexChanged
"Pendidikan Kewarganegaraan" Or If ComboBox10.Text = "Matematika
ComboBox8.Text = "Probabilitas dan Teknik II" Or ComboBox10.Text =
Statistika" Or ComboBox8.Text = "Elektronika Digital" Or
ComboBox10.Text = "Rangkaian Lisgtrik ComboBox11.Text = "Praktikum Rangkaian
AC" Or ComboBox10.Text = "Basis Data" Listrik Ac" Then Label16.Text = 1
Or ComboBox10.Text = "Pengantar ElseIf ComboBox11.Text = "Sistem
Teknologi Informasi" Or Operasi" Then Label16.Text = 3
ComboBox10.Text = "Fisika Teknik" Or End If
ComboBox10.Text = "Pendidikan End Sub
Kewarganegaraan" Or ComboBox10.Text = Private Sub
"Probabilitas dan Statistika" Or ComboBox12_SelectedIndexChanged_1(ByVa
ComboBox10.Text = "Bahasa Indonesia l sender As System.Object, ByVal e As
Keilmuan" Or ComboBox10.Text = System.EventArgs) Handles
"Perawatan dan Perbaikan Komputer" Or ComboBox12.SelectedIndexChanged
ComboBox10.Text = "Manajemen If ComboBox12.Text = "Matematika
Pendidikan Kejuruan" Or Teknik II" Or ComboBox12.Text =
ComboBox10.Text = "Bahasa Pemrograman "Elektronika Digital" Or
Visual" Or ComboBox10.Text = ComboBox12.Text = "Rangkaian Lisgtrik
"Praktikum Basis Data" Or AC" Or ComboBox12.Text = "Basis Data"
ComboBox10.Text = "Kurikulum Or ComboBox12.Text = "Pengantar
Pendidikan Kejuruan" Or Teknologi Informasi" Or
ComboBox10.Text = "Bahasa Pemrograman ComboBox12.Text = "Fisika Teknik" Or
Berbasis Web" Or ComboBox10.Text = ComboBox12.Text = "Pendidikan
"Praktikum Bahasa Pemrograman Berbasis Kewarganegaraan" Or ComboBox12.Text =
Web" Or ComboBox10.Text = "Praktikum "Probabilitas dan Statistika" Or
Bahasa Pemrograman Visual" Then ComboBox12.Text = "Bahasa Indonesia
Label15.Text = 2 Keilmuan" Or ComboBox12.Text =
ElseIf ComboBox10.Text = "Praktikum "Perawatan dan Perbaikan Komputer" Or
Elektronika Digital" Or ComboBox12.Text = "Manajemen
ComboBox10.Text = "Praktikum Rangkaian Pendidikan Kejuruan" Or
Listrik Ac" Then Label15.Text = 1 ComboBox12.Text = "Bahasa Pemrograman
ElseIf ComboBox10.Text = "Sistem Visual" Or ComboBox12.Text =
Operasi" Then "Praktikum Basis Data" Or
Label15.Text = 3 ComboBox12.Text = "Kurikulum
End If Pendidikan Kejuruan" Or
End Sub ComboBox12.Text = "Bahasa Pemrograman
Private Sub Berbasis Web" Or ComboBox12.Text =
ComboBox11_SelectedIndexChanged_1(ByVa "Praktikum Bahasa Pemrograman Berbasis
l sender As System.Object, ByVal e As Web" Or ComboBox12.Text = "Praktikum
System.EventArgs) Handles Bahasa Pemrograman Visual" Then
ComboBox11.SelectedIndexChanged Label17.Text = 2
If ComboBox11.Text = "Matematika ElseIf ComboBox12.Text = "Praktikum
Teknik II" Or ComboBox11.Text = Elektronika Digital" Or
"Elektronika Digital" Or ComboBox12.Text = "Praktikum Rangkaian
ComboBox11.Text = "Rangkaian Lisgtrik Listrik Ac" Then Label17.Text = 1
AC" Or ComboBox11.Text = "Basis Data" ElseIf ComboBox12.Text = "Sistem
Or ComboBox11.Text = "Pengantar Operasi" Then
Teknologi Informasi" Or Label17.Text = 3
ComboBox11.Text = "Fisika Teknik" Or End If
ComboBox11.Text = "Pendidikan End Sub
Kewarganegaraan" Or ComboBox11.Text = Private Sub
"Probabilitas dan Statistika" Or ComboBox13_SelectedIndexChanged_1(ByVa
ComboBox11.Text = "Bahasa Indonesia l sender As System.Object, ByVal e As
Keilmuan" Or ComboBox11.Text = System.EventArgs) Handles
"Perawatan dan Perbaikan Komputer" Or ComboBox13.SelectedIndexChanged
ComboBox11.Text = "Manajemen If ComboBox13.Text = "Matematika
Pendidikan Kejuruan" Or Teknik II" Or ComboBox13.Text =
ComboBox11.Text = "Bahasa Pemrograman "Elektronika Digital" Or
Visual" Or ComboBox11.Text = ComboBox13.Text = "Rangkaian Lisgtrik
"Praktikum Basis Data" Or AC" Or ComboBox13.Text = "Basis Data"
ComboBox11.Text = "Kurikulum Or ComboBox13.Text = "Pengantar
Pendidikan Kejuruan" Or Teknologi Informasi" Or
ComboBox11.Text = "Bahasa Pemrograman ComboBox13.Text = "Fisika Teknik" Or
Berbasis Web" Or ComboBox11.Text = ComboBox13.Text = "Pendidikan
"Praktikum Bahasa Pemrograman Berbasis Kewarganegaraan" Or ComboBox13.Text =
Web" Or ComboBox11.Text = "Praktikum "Probabilitas dan Statistika" Or
Bahasa Pemrograman Visual" Then ComboBox13.Text = "Bahasa Indonesia
Label16.Text = 2 Keilmuan" Or ComboBox13.Text =
ElseIf ComboBox11.Text = "Praktikum "Perawatan dan Perbaikan Komputer" Or
Elektronika Digital" Or ComboBox13.Text = "Manajemen
Pendidikan Kejuruan" Or
ComboBox13.Text = "Bahasa Pemrograman ComboBox15.Text = "Rangkaian Lisgtrik
Visual" Or ComboBox13.Text = AC" Or ComboBox15.Text = "Basis Data"
"Praktikum Basis Data" Or Or ComboBox15.Text = "Pengantar
ComboBox13.Text = "Kurikulum Teknologi Informasi" Or
Pendidikan Kejuruan" Or ComboBox15.Text = "Fisika Teknik" Or
ComboBox13.Text = "Bahasa Pemrograman ComboBox15.Text = "Pendidikan
Berbasis Web" Or ComboBox13.Text = Kewarganegaraan" Or ComboBox15.Text =
"Praktikum Bahasa Pemrograman Berbasis "Probabilitas dan Statistika" Or
Web" Or ComboBox13.Text = "Praktikum ComboBox15.Text = "Bahasa Indonesia
Bahasa Pemrograman Visual" Then Keilmuan" Or ComboBox15.Text =
Label18.Text = 2 "Perawatan dan Perbaikan Komputer" Or
ElseIf ComboBox13.Text = "Praktikum ComboBox15.Text = "Manajemen
Elektronika Digital" Or Pendidikan Kejuruan" Or
ComboBox13.Text = "Praktikum Rangkaian ComboBox15.Text = "Bahasa Pemrograman
Listrik Ac" Then Label18.Text = 1 Visual" Or ComboBox15.Text =
ElseIf ComboBox13.Text = "Sistem "Praktikum Basis Data" Or
Operasi" Then Label18.Text = 3 ComboBox15.Text = "Kurikulum
End If Pendidikan Kejuruan" Or
End Sub ComboBox15.Text = "Bahasa Pemrograman
Private Sub Berbasis Web" Or ComboBox15.Text =
ComboBox14_SelectedIndexChanged_1(ByVa "Praktikum Bahasa Pemrograman Berbasis
l sender As System.Object, ByVal e As Web" Or ComboBox15.Text = "Praktikum
System.EventArgs) Handles Bahasa Pemrograman Visual" Then
ComboBox14.SelectedIndexChanged Label20.Text = 2
If ComboBox14.Text = "Matematika ElseIf ComboBox15.Text = "Praktikum
Teknik II" Or ComboBox14.Text = Elektronika Digital" Or
"Elektronika Digital" Or ComboBox15.Text = "Praktikum Rangkaian
ComboBox14.Text = "Rangkaian Lisgtrik Listrik Ac" Then Label20.Text = 1
AC" Or ComboBox14.Text = "Basis Data" ElseIf ComboBox15.Text = "Sistem
Or ComboBox14.Text = "Pengantar Operasi" Then Label20.Text = 3
Teknologi Informasi" Or End If
ComboBox14.Text = "Fisika Teknik" Or End Sub
ComboBox14.Text = "Pendidikan Private Sub
Kewarganegaraan" Or ComboBox14.Text = ComboBox16_SelectedIndexChanged_1(ByVa
"Probabilitas dan Statistika" Or l sender As System.Object, ByVal e As
ComboBox14.Text = "Bahasa Indonesia System.EventArgs) Handles
Keilmuan" Or ComboBox14.Text = ComboBox16.SelectedIndexChanged
"Perawatan dan Perbaikan Komputer" Or If ComboBox16.Text = "Matematika
ComboBox14.Text = "Manajemen Teknik II" Or ComboBox16.Text =
Pendidikan Kejuruan" Or "Elektronika Digital" Or
ComboBox14.Text = "Bahasa Pemrograman ComboBox16.Text = "Rangkaian Lisgtrik
Visual" Or ComboBox14.Text = AC" Or ComboBox16.Text = "Basis Data"
"Praktikum Basis Data" Or Or ComboBox16.Text = "Pengantar
ComboBox14.Text = "Kurikulum Teknologi Informasi" Or
Pendidikan Kejuruan" Or ComboBox16.Text = "Fisika Teknik" Or
ComboBox14.Text = "Bahasa Pemrograman ComboBox16.Text = "Pendidikan
Berbasis Web" Or ComboBox14.Text = Kewarganegaraan" Or ComboBox16.Text =
"Praktikum Bahasa Pemrograman Berbasis "Probabilitas dan Statistika" Or
Web" Or ComboBox14.Text = "Praktikum ComboBox16.Text = "Bahasa Indonesia
Bahasa Pemrograman Visual" Then Keilmuan" Or ComboBox16.Text =
Label19.Text = 2 "Perawatan dan Perbaikan Komputer" Or
ElseIf ComboBox14.Text = "Praktikum ComboBox16.Text = "Manajemen
Elektronika Digital" Or Pendidikan Kejuruan" Or
ComboBox14.Text = "Praktikum Rangkaian ComboBox16.Text = "Bahasa Pemrograman
Listrik Ac" Then Label19.Text = 1 Visual" Or ComboBox16.Text =
ElseIf ComboBox14.Text = "Sistem "Praktikum Basis Data" Or
Operasi" Then ComboBox16.Text = "Kurikulum
Label19.Text = 3 Pendidikan Kejuruan" Or
End If ComboBox16.Text = "Bahasa Pemrograman
End Sub Berbasis Web" Or ComboBox16.Text =
Private Sub "Praktikum Bahasa Pemrograman Berbasis
ComboBox15_SelectedIndexChanged_1(ByVa Web" Or ComboBox16.Text = "Praktikum
l sender As System.Object, ByVal e As Bahasa Pemrograman Visual" Then
System.EventArgs) Handles Label21.Text = 2
ComboBox15.SelectedIndexChanged ElseIf ComboBox16.Text = "Praktikum
If ComboBox15.Text = "Matematika Elektronika Digital" Or
Teknik II" Or ComboBox15.Text = ComboBox10.Text = "Praktikum Rangkaian
"Elektronika Digital" Or Listrik Ac" Then Label21.Text = 1
ElseIf ComboBox16.Text = "Sistem Label27.Text =
Operasi" Then Label21.Text = 3 hitungsksn(sks:=Label12.Text,
End If pred:=Label43.Text)
End Sub End Sub
Private Sub
TextBox1_TextChanged_1(ByVal sender As Private Sub
System.Object, ByVal e As TextBox7_TextChanged_1(ByVal sender As
System.EventArgs) Handles System.Object, ByVal e As
TextBox1.TextChanged System.EventArgs) Handles
Label38.Text = TextBox7.TextChanged
predikat(nilai:=TextBox1.Text) Label44.Text =
Label22.Text = predikat(nilai:=TextBox7.Text)
hitungsksn(sks:=Label7.Text, Label28.Text =
pred:=Label38.Text) hitungsksn(sks:=Label13.Text,
End Sub pred:=Label44.Text)
Private Sub End Sub
TextBox2_TextChanged_1(ByVal sender As Private Sub
System.Object, ByVal e As TextBox8_TextChanged_1(ByVal sender As
System.EventArgs) Handles System.Object, ByVal e As
TextBox2.TextChanged System.EventArgs) Handles
Label39.Text = TextBox8.TextChanged
predikat(nilai:=TextBox2.Text) Label45.Text =
Label23.Text = predikat(nilai:=TextBox8.Text)
hitungsksn(sks:=Label8.Text, Label29.Text =
pred:=Label39.Text) hitungsksn(sks:=Label14.Text,
End Sub pred:=Label45.Text)
Private Sub If ComboBox1.Text = "8" Then
TextBox3_TextChanged_1(ByVal sender As Label54.Text =CStr((CDbl(Label22.Text)
System.Object, ByVal e As +CDbl(Label23.Text)+CDbl(Label24.Text)
System.EventArgs) Handles +CDbl(Label25.Text)+CDbl(Label26.Text)
TextBox3.TextChanged +CDbl(Label27.Text)+CDbl(Label28.Text)
Label40.Text = +CDbl(Label29.Text))/(CDbl(Label7.Text
predikat(nilai:=TextBox3.Text) )+CDbl(Label8.Text)+CDbl(Label9.Text)
Label24.Text = +CDbl(Label10.Text)+CDbl(Label11.Text)
hitungsksn(sks:=Label9.Text, +CDbl(Label12.Text)+CDbl(Label13.Text)
pred:=Label40.Text) +CDbl(Label14.Text)))
End Sub End If
Private Sub End Sub
TextBox4_TextChanged_1(ByVal sender As Private Sub
System.Object, ByVal e As TextBox9_TextChanged_1(ByVal sender As
System.EventArgs) Handles System.Object, ByVal e As
TextBox4.TextChanged System.EventArgs) Handles
Label41.Text = TextBox9.TextChanged
predikat(nilai:=TextBox4.Text) Label46.Text =
Label25.Text = predikat(nilai:=TextBox9.Text)
hitungsksn(sks:=Label10.Text, Label30.Text =
pred:=Label41.Text) hitungsksn(sks:=Label15.Text,
End Sub pred:=Label46.Text)
Private Sub If ComboBox1.Text = "9" Then
TextBox5_TextChanged_1(ByVal sender As Label54.Text =
System.Object, ByVal e As CStr((CDbl(Label22.Text)+CDbl(Label23.
System.EventArgs) Handles Text)+CDbl(Label24.Text)+CDbl(Label25.
TextBox5.TextChanged Text)+CDbl(Label26.Text)+CDbl(Label27.
Label42.Text = Text)+CDbl(Label28.Text)+CDbl(Label29.
predikat(nilai:=TextBox5.Text) Text)+CDbl(Label30.Text))/(CDbl(Label7
Label26.Text = .Text)+CDbl(Label8.Text)+CDbl(Label9.T
hitungsksn(sks:=Label11.Text, ext)+CDbl(Label10.Text)+CDbl(Label11.T
pred:=Label42.Text) ext)+CDbl(Label12.Text)+CDbl(Label13.T
End Sub ext)+CDbl(Label14.Text)+CDbl(Label15.T
Private Sub ext)))
TextBox6_TextChanged_1(ByVal sender As End If
System.Object, ByVal e As End Sub
System.EventArgs) Handles Private Sub
TextBox6.TextChanged TextBox10_TextChanged_1(ByVal sender
Label43.Text = As System.Object, ByVal e As
predikat(nilai:=TextBox6.Text) System.EventArgs) Handles
TextBox10.TextChanged
Label47.Text = End If
predikat(nilai:=TextBox10.Text) End Sub
Label31.Text = Private Sub
hitungsksn(sks:=Label16.Text, TextBox13_TextChanged_1(ByVal sender
pred:=Label47.Text) As System.Object, ByVal e As
If ComboBox1.Text = "10" Then System.EventArgs) Handles
Label54.Text=CStr((CDbl(Label22.Text) TextBox13.TextChanged
+CDbl(Label23.Text)+CDbl(Label24.Text) Label50.Text =
+CDbl(Label25.Text)+CDbl(Label26.Text) predikat(nilai:=TextBox13.Text)
+CDbl(Label27.Text)+CDbl(Label28.Text) Label34.Text =
+CDbl(Label29.Text)+CDbl(Label30.Text) hitungsksn(sks:=Label19.Text,
+CDbl(Label31.Text))/(CDbl(Label7.Text pred:=Label50.Text)
)+CDbl(Label8.Text)+CDbl(Label9.Text) If ComboBox1.Text = "13" Then
+CDbl(Label10.Text)+CDbl(Label11.Text) Label54.Text=CStr((CDbl(Label22.Text)
+CDbl(Label12.Text)+CDbl(Label13.Text) +CDbl(Label23.Text)+CDbl(Label24.Text)
+CDbl(Label14.Text)+CDbl(Label15.Text) +CDbl(Label25.Text)+CDbl(Label26.Text)
+CDbl(Label16.Text))) +CDbl(Label27.Text)+CDbl(Label28.Text)
End If +CDbl(Label29.Text)+CDbl(Label30.Text)
End Sub +CDbl(Label31.Text)+CDbl(Label32.Text)
Private Sub +CDbl(Label33.Text)+CDbl(Label34.Text)
TextBox11_TextChanged_1(ByVal sender )/(CDbl(Label7.Text)+CDbl(Label8.Text)
As System.Object, ByVal e As +CDbl(Label9.Text)+CDbl(Label10.Text)
System.EventArgs) Handles +CDbl(Label11.Text)+CDbl(Label12.Text)
TextBox11.TextChanged +CDbl(Label13.Text)+CDbl(Label14.Text)
Label48.Text = +CDbl(Label15.Text)+CDbl(Label16.Text)
predikat(nilai:=TextBox11.Text) +CDbl(Label17.Text)+CDbl(Label18.Text)
Label32.Text = +CDbl(Label19.Text)))
hitungsksn(sks:=Label17.Text, End If
pred:=Label48.Text) End Sub
If ComboBox1.Text = "11" Then Private Sub
Label54.Text=CStr((CDbl(Label22.Text) TextBox14_TextChanged_1(ByVal sender
+CDbl(Label23.Text)+CDbl(Label24.Text) As System.Object, ByVal e As
+CDbl(Label25.Text)+CDbl(Label26.Text) System.EventArgs) Handles
+CDbl(Label27.Text)+CDbl(Label28.Text) TextBox14.TextChanged
+CDbl(Label29.Text)+CDbl(Label30.Text) Label51.Text =
+CDbl(Label31.Text)+CDbl(Label32.Text) predikat(nilai:=TextBox14.Text)
)/(CDbl(Label7.Text)+CDbl(Label8.Text) Label35.Text =
+CDbl(Label9.Text)+CDbl(Label10.Text) hitungsksn(sks:=Label20.Text,
+CDbl(Label11.Text)+CDbl(Label12.Text) pred:=Label51.Text)
+CDbl(Label13.Text)+CDbl(Label14.Text) If ComboBox1.Text = "14" Then
+CDbl(Label15.Text)+CDbl(Label16.Text) Label54.Text=CStr((CDbl(Label22.Text)
+CDbl(Label17.Text))) +CDbl(Label23.Text)+CDbl(Label24.Text)
End If +CDbl(Label25.Text)+CDbl(Label26.Text)
End Sub +CDbl(Label27.Text)+CDbl(Label28.Text)
Private Sub +CDbl(Label29.Text)+CDbl(Label30.Text)
TextBox12_TextChanged_1(ByVal sender +CDbl(Label31.Text)+CDbl(Label32.Text)
As System.Object, ByVal e As +CDbl(Label33.Text)+CDbl(Label34.Text)
System.EventArgs) Handles +CDbl(Label35.Text))/(CDbl(Label7.Text
TextBox12.TextChanged )+CDbl(Label8.Text)+CDbl(Label9.Text)
Label49.Text = +CDbl(Label10.Text)+CDbl(Label11.Text)
predikat(nilai:=TextBox12.Text) +CDbl(Label12.Text)+CDbl(Label13.Text)
Label33.Text = +CDbl(Label14.Text)+CDbl(Label15.Text)
hitungsksn(sks:=Label18.Text, +CDbl(Label16.Text)+CDbl(Label17.Text)
pred:=Label49.Text) +CDbl(Label18.Text)+CDbl(Label19.Text)
If ComboBox1.Text = "12" Then ))
Label54.Text=CStr((CDbl(Label22.Text) End If
+CDbl(Label23.Text)+CDbl(Label24.Text) End Sub
+CDbl(Label25.Text)+CDbl(Label26.Text) Private Sub
+CDbl(Label27.Text)+CDbl(Label28.Text) TextBox15_TextChanged_1(ByVal sender
+CDbl(Label29.Text)+CDbl(Label30.Text) As System.Object, ByVal e As
+CDbl(Label31.Text)+CDbl(Label32.Text) System.EventArgs) Handles
+CDbl(Label33.Text))/(CDbl(Label7.Text TextBox15.TextChanged
)+CDbl(Label8.Text)+CDbl(Label9.Text) Label52.Text =
+CDbl(Label10.Text)+CDbl(Label11.Text) predikat(nilai:=TextBox15.Text)
+CDbl(Label12.Text)+CDbl(Label13.Text) Label36.Text =
+CDbl(Label14.Text)+CDbl(Label15.Text) hitungsksn(sks:=Label21.Text,
+CDbl(Label16.Text)+CDbl(Label17.Text) pred:=Label52.Text)
+CDbl(Label18.Text))) If ComboBox1.Text = "15" Then
Label54.Text=CStr((CDbl(Label22.Text) +CDbl(Label25.Text)+CDbl(Label26.Text)
+CDbl(Label23.Text)+CDbl(Label24.Text)

+CDbl(Label27.Text)+CDbl(Label28.Text)+CDbl(Label29.Text)+CDbl(Label30.Text)
+CDbl(Label31.Text)+CDbl(Label32.Text) +CDbl(Label33.Text)+CDbl(Label34.Text)
+CDbl(Label35.Text)+CDbl(Label36.Text))/(CDbl(Label7.Text)+CDbl(Label8.Text)
+CDbl(Label9.Text)+CDbl(Label10.Text) +CDbl(Label11.Text)+CDbl(Label12.Text)
+CDbl(Label13.Text)+CDbl(Label14.Text) +CDbl(Label15.Text)+CDbl(Label16.Text)
+CDbl(Label17.Text)+CDbl(Label18.Text) +CDbl(Label19.Text)+CDbl(Label20.Text)))
End If
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
GroupBox2.Visible = False
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Close()
End Sub
End Class

Module:
Module Module1 End Function
Dim sksn As Integer
Dim pred As Char Public Function predikat(ByVal nilai As
Dim nilaipred As Double Double) As Char
Public Function hitungsksn(ByVal sks As If nilai <= 39 Then
Integer, ByVal pred As Char) As Double pred = "E"
If pred = "E" Then ElseIf nilai >= 40 And nilai <= 54 Then
sksn = 0 pred = "D"
ElseIf pred = "D" Then ElseIf nilai >= 55 And nilai <= 74 Then
sksn = sks * 1 pred = "C"
ElseIf pred = "C" Then ElseIf nilai >= 75 And nilai <= 89 Then
sksn = sks * 2 pred = "B"
ElseIf pred = "B" Then ElseIf nilai >= 90 Then
sksn = sks * 3 pred = "A"
ElseIf pred = "A" Then End If
sksn = sks * 4 Return pred
End If End Function
Return sksn End Module

tampilan awal:
Kemudian misalkan mahasiswa ingin mengetahui IP-nya, dimana matakuliah yang diambil
adalah 8:

SKS akan muncul secara otomatis sesuai dengan matakuliah yang dipilih, demikian
juga dengan predikat dan SKSN akan muncul secara otomatis setelah nilai
dimasukkan. Setelah pengisian selesai, IP akan mucul secara otomatis.

D. TINJAUAN PUSTAKA
Anonim.Visual Basic.NET. 2010, (Online), (http://id.wikipedia.org/wiki/ Visual Basic
.NET., diakses 7 Februari 2011 )
Kurniawan E, Yullian R. 2008. Visual Basi 6 ke Visual Basic.NET. Yogyakarta: Andi.
Modul 1 praktikum Mengenal Visual Basic.NET
Modul 2 praktikum Fungsi Numerik
Modul 3 praktikum String
Modul 4 praktikum Prosedur
Modul 5 praktikum Subroutine dan Function
Modul 6 praktikum Condition I

You might also like